HTML,html教程
<meta> 標籤提供了中繼資料.中繼資料也不顯示在頁面上,但會被瀏覽器解析。
META 元素通常用於指定網頁的描述,關鍵詞,檔案的最後修改時間,作者,和其他中繼資料。
中繼資料可以使用於瀏覽器(如何顯示內容或重新載入頁面),搜尋引擎(關鍵詞),或其他Web服務
//每30秒重新整理當前頁面
<meta http-equiv="refresh" content="30">
標籤
<b>加粗文本</b><i>斜體文本</i><code>電腦自動輸出</code><sub>下標</sub><sup>上標</sup>
建立影像地圖
//該段代碼中的shape指的是點擊地區的形狀,coords指的是連結地區在圖片中的座標和範圍大小(像素為單位)<img src="img/a.ico" width="145" height="126" alt="Planets" usemap="#planetmap"> <map name="planetmap"> <area shape="rect" coords="0,0,82,126" alt="Sun" href="sun.htm"> <area shape="circle" coords="90,58,3" alt="Mercury" href="mercur.htm"> <area shape="circle" coords="124,58,8" alt="Venus" href="venus.htm"> </map>
表格
1 //帶有標題的表格 2 3 <table border="1"> 4 <caption>Monthly savings</caption> 5 <tr> 6 <th>Month</th> 7 <th>Savings</th> 8 </tr> 9 <tr>10 <td>January</td>11 <td>$100</td>12 </tr>13 <tr>14 <td>February</td>15 <td>$50</td>16 </tr>17 </table>
列表
有序列表
//如果為start賦上初始值,有序列表則從這個值開始增長,reversed為翻轉,假如不寫初始值,序號不會為負數,除非自己設定初始值為負數,用type屬性設定有序列表樣式(type=“A”)<ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li></ol><ol reversed="reversed"> <li>Coffee</li> <li>Tea</li> <li>Milk</li></ol><ol start="50" > <li>Coffee</li> <li>Tea</li> <li>Milk</li></ol><ol start="50" reversed="reversed"> <li>Coffee</li> <li>Tea</li> <li>Milk</li></ol> <ol start="-50" > <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol>