入门HTML之2.08

来源:互联网 发布:as3与js交互 编辑:程序博客网 时间:2024/04/30 14:11
<body>……
     <i>倾斜文本</i>
     <b>粗体文本</b>
     <u>下划线文本</u>
 <s>删除线文本</s>

     ……</body> 

<html><head><title>设定字体</title><meta http-equiv = "refresh"content = "3; URL = http://www.baidu.com"></head><body bgcolor = "ccffcc" text = "00ff00" >正常字<b>加粗字体bold</b><br>正常字<i>斜体字italic</i><br>正常字<u>下划线字体underlined</u><br>正常字<s>删除线字体s24trikethrough</s><br>正常字<sup>上标字supwescript</sup><br>正常字<sub>下标字subscript</sub><br></body></html>
<html><head><title>设定字体</title><meta http-equiv = "refresh"content = "3: http://www.baidu.com"></head><body>正常字--<em>标记-斜体</em><p></p>正常字--<strong>strong标记-对内容进行强调</strong><p></p>正常字--<code>code标记-等宽字符</code><p></P>正常字--<var>var标记变量或程序参数-以斜体字来显示</var><p></p>正常字--<small>small标记-文本以小字体来显示</small><p></p>正常字--<big>big标记文本以大字体显示<big><p></p></body></html>
<html><head><title>上标和小标</title></head><body bgcolor = "ccffcc"><p>化学式</p><p>H<sup>2</sup>O</p><p>代数方程式:</p><p>x=x<sub>1</sub>+x<sup>2</sup>+...+x<sub>n</sub></body></html>

<html><head><title>字体综合应用</title></head><body><font size = 7 color = "#0000ff">代数方程式</font><br><font size = 5>9<font color = "#ff0000">X</font><sup>2</sup>+2<font color = "#ff0000">X</font>+3=17<br>3<font color = "#ff0000">X</font><sub>1</sub>+2<font color = "#ff0000">X</font><sub>2</sub>=10</font></body></html>




0 0