鏈接標籤屬性
sizes <link rel="icon" href="icon.gif" type="image/gif" sizes="16" > target <base href="http://localhost/" target="_blank" > 超鏈接 a:media=""(表示對設備進行優化,handheld對“手持”設備進行支持,tv對“電視”設備進行支持) a:hrelang="zh"(設置語音,這裏設置語音是中文) a:rel="external"(設置超鏈接的引用,這裏的超鏈接爲外部鏈接)
其他屬性
script
defer:加載完腳本後並不執行,而是等整個頁面加載完之後再執行(只支持IE) <script defer="defer" type="text/javascript" src="URL"></script> async:加載完腳本後立刻執行,不用等整個頁面都加載完,屬於異步執行 <script async="async" type="text/javascript" src="URL"></script>
ol
<ol start="3" reversed="reversed"> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> </ol>
html
manifest="cache.maniest"(定義頁面離線應用文件) <html manifest="cache.manifest">
*style
scoped:內嵌CSS <style scoped> .... </style>