zoukankan      html  css  js  c++  java
  • 02字体标签

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4 <!--解决乱码 ,告诉浏览器文档类型和编码
     5 http-equiv:描述当前网页内容类型
     6 context:使用的是html的文本
     7 charset:使用的编码是UTF-8,解码也使用UTF-8
     8 -->
     9 <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
    10 <title>Insert title here</title>
    11 </head>
    12 <body>
    13 <!--
    14 标题标签<hn>==>n的取值范围1~6;
    15     1.1~6从大到小
    16     2.文字加粗
    17     3.换行
    18 字体标签:<font>该标签的使用必须配合属性.
    19     size:大小.取值1-7之间,从小到大.
    20     face:字体.
    21     color:颜色
    22          1.直接填写颜色的英文名称
    23          2.使用#FF0000,使用三个16进制值数表示,红绿蓝
    24          3.rgb(填写三个10进制数,取值范围0-255,255,0,0)
    25 其他一些简单标签:
    26     <strike>  =>中划线.
    27     <big>  =>变大.
    28     <small> =>变小.
    29     <u> =>下划线.
    30     <b> =>加粗
    31     sub/sup =>上下表
    32  -->
    33 <h1>静夜思</h1>
    34 <font face="微软雅黑" size="5" color="red">李白</font><br/>
    35 <font face="微软雅黑" size="5" color="#FF0000">李白</font><br/>
    36 <font face="微软雅黑" size="5" color="rgb(255,0,0)">李白</font><br/>
    37 <strike>床前明月光,</strike><br/>
    38 <big>疑是地上霜。</big><br/>
    39 <small>举头望明月,</small><br/>
    40 <u>低头思故乡。</u>  <br/>
    41 <hr/>
    42 <b>床前明月光,</b><br/>
    43 
    44 3<sup>2</sup>,3<sub>2</sub>
    45 
    46 
    47 
    48 
    49  
    50 
    51 </body>
    52 </html>
  • 相关阅读:
    入门activiti-------1简单运行
    JS对象、构造器函数和原型对象之间的关系
    myeclipse配背景色
    maven的pom.xml文件错误
    oracleXE简易版---使用基础
    ognl表达式注意事项
    Executors、ExecutorService、ThreadPoolExecutor
    ThreadPoolExecutor
    Phaser相位(工具的实战案例使用)
    ForkJoin
  • 原文地址:https://www.cnblogs.com/Forever-IT/p/5202443.html
Copyright © 2011-2022 走看看