HTML基础

  1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 <html xmlns="http://www.w3.org/1999/xhtml">
  3 <head>
  4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5 <title>html</title>
  6 </head>
  7 
  8 <body>
  9 <h3><a name="t1">尾部的内容</a>
 10 <h1>标题</h1>
 11 <h6> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp 标题</h6>
 12 
 13 <br>
 14 &yen
 15 <br>
 16 
 17 <font face="Verdana, Geneva, sans-serif" size="4" color="#FF00FF" >
 18 示例
 19 </font>
 20 
 21 <b>示例</b>
 22 <i>示例<i>
 23 <u>示例<u>
 24 <br>
 25 <del>示例</del>
 26 <br>
 27 x<sup>2<sup>
 28 <br>
 29 <font size="5">y<sub>2<sub></font>
 30 
 31 <font size="5">
 32 
 33 <p>
 34 示例
 35 </p>
 36 示例
 37 
 38 <hr width="1000" align="left" color="#0000FF" size="3">
 39 
 40 <pre> <!--注释注释注释注释-->
 41      原样显示排版格式
 42          -----;
 43 </pre>
 44 
 45 <blockquote>
 46 段落缩进
 47 </blockquote>
 48 
 49 <ul type="disc">
 50   <li>列表列表</li>
 51 </ul>
 52 
 53 <ol type="1">
 54 <li>示例</li>
 55 </ol>
 56 <ol type="a">
 57 <li>示例</li>
 58 </ol>
 59 
 60 <dl>
 61 <dt>示例</dt>
 62 <dl>示例</dl>
 63 </dl>
 64 
 65 <a href="www.baidu.com" title="百度" target="_blank">示例</a>
 66 
 67 <a href="www.baidu.com" title="百度" target="_blank">
 68 <img src="">
 69 </a>
 70 
 71 <a href="#t1"><h3>头部</h3></a><br><br>
 72 
 73 <table width="300" border="1" cellspacing="10">
 74 <caption>课程表</caption>
 75 <tr>
 76 <td>第一二节</td><td>体育</td><td>数学</td>
 77 </tr>
 78 </table>
 79 
 80 <form action="process.aspx" method="get">
 81 请输入姓名:<input type="text" name="yourname">
 82 <input type="submit" value="提交">
 83 <input type="reset" value="重置">
 84 </form>
 85 
 86 <form action="process.aspx" method="get">
 87 请提宝贵意见:<br>
 88 <textarea name="yoursuggest" cols="50" rows="30"></textarea>
 89 <input type="submit" value="提交">
 90 <input type="reset" value="重置">
 91 </form>
 92 
 93 <form action="process.aspx" method="get">
 94 运动:<br>
 95 <select name="select">
 96 <option value="football">足球
 97 <option value="basketball">篮球
 98 </select>
 99 <input type="submit" value="提交">
100 </form>
101 
102 </body>
103 <!--><frameset cols="100 200 300">
104   <frame src="url">
105   <frame src="url">
106 </frameset>
107 
108 <frameset rows="30%,*" border="10">
109   <frame src="url">
110     <frameset cols="20%,*">
111      <frame src="url">
112      <frame src="url">
113     </frameset>
114 </frameset><-->
115 
116 </html>

 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。