標(biāo)簽實(shí)例

2018-05-15 09:20 更新

<!DOCTYPE html> <html>

<head> <meta charset="UTF-8"> <title></title> </head>

<body> <a href="http://wwww.baidu.com">baidu</a>; <a href="../doc.html" target="_blank">html</a> <!-- 描述:路徑 找文件夾外的 返回上級(jí)文件 在進(jìn)入根目錄+文件名 -->

The <abbr title="People's Republic of China">PRC</abbr> was founded in 1949. <!-- 當(dāng)鼠標(biāo)懸停在上面的時(shí)間 會(huì)有縮寫(xiě)名詞的解釋 --> <!-- 作者:offline 時(shí)間:2017-05-11 描述:一般元素都有 標(biāo)準(zhǔn)屬性:id, class, title, style, dir, lang, xml:lang 事件屬性:onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup --> <address> Written by <a href="mailto:webmaster@example.com">Donald Duck</a>.<br> Visit us at:<br> Example.com<br> Box 564, Disneyland<br> USA </address> <img src="../img/services_nx_h3_bg.png" border="0" usemap="#planetmap" alt="Planets" />

<article> <h1>Internet Explorer 9</h1> <p>Windows Internet Explorer 9(簡(jiǎn)稱 IE9)于 2011 年 3 月 14 日發(fā)布.....</p> </article> <aside> <h4>Epcot Center</h4> <p>The Epcot Center is a theme park in Disney World, Florida.</p> </aside> <audio src="/i/horse.ogg" controls="controls"> Your browser does not support the audio element. </audio> <audio controls="controls" src=""> some </audio> <bdo dir="rtl"> Here is some Hebrew text </bdo>

<blockquote> This is a long quotation. This is a long quotation. This is a long quotation. This is a long quotation. This is a long quotation. </blockquote>

<canvas id="myCanvas">your browser does not support the canvas tag </canvas>

<script type="text/javascript"> var canvas = document.getElementById('myCanvas'); var ctx = canvas.getContext('2d'); ctx.fillStyle = '#9F5DA7'; ctx.fillRect(0, 20, 70, 90); </script> <table border="1"> <caption>Monthly savings</caption> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>$100</td> </tr> </table>

<embed src="/i/helloworld.swf" />插件<br> <form> <fieldset> <legend>health information</legend> height: <input type="text" /> weight: <input type="text" /> </fieldset> </form> <footer> <p>Posted by: W3School</p> <p>Contact information: <a href="mailto:someone@example.com">someone@example.com</a>.</p> </footer> <frameset cols="25%,50%,25%">

<frame src="/example/html/frame_a.html"> <frame src="/example/html/frame_b.html"> <frame src="/example/html/frame_c.html">

</frameset><br /> <p>Do not forget to buy <mark>milk</mark> today.</p> <p>顯示度量值:</p> <meter value="3" min="0" max="10">3/10</meter><br> <meter value="0.6">60%</meter>

<p><b>注釋:</b>Internet Explorer 不支持 meter 標(biāo)簽。</p> <nav> <a href="/html/">HTML</a> | <a href="/css/">CSS</a> | <a href="/js/">JavaScript</a> | <a href="/jquery/">jQuery</a> </nav>

下載進(jìn)度: <progress value="22" max="100"> </progress>

<p><b>注釋:</b>Internet Explorer 9 以及更早的版本不支持 <progress> 標(biāo)簽。</p> 在 HTML 5 中,<s>仍然支持</s>已經(jīng)不支持這個(gè)標(biāo)簽了。

        
        <textarea rows="3" cols="20">

在w3school,你可以找到你所需要的所有的網(wǎng)站建設(shè)教程。 </textarea> <p> 我在 <time datetime="2010-02-14">情人節(jié)</time> 有個(gè)約會(huì)。 </p> <!-- 作者:offline 時(shí)間:2017-05-11 描述:noscript 元素用來(lái)定義在腳本未被執(zhí)行時(shí)的替代內(nèi)容 --> <!-- h5 全局屬性: class id style title lang 全局事件:

   

屬性 值 描述 onafterprint 文檔打印之后運(yùn)行的腳本。 onbeforeprint 文檔打印之前運(yùn)行的腳本。 onbeforeunload 文檔卸載之前運(yùn)行的腳本。 onerror 在錯(cuò)誤發(fā)生時(shí)運(yùn)行的腳本。 onhaschange 當(dāng)文檔已改變時(shí)運(yùn)行的腳本。 onload 頁(yè)面結(jié)束加載之后觸發(fā)。 onmessage 在消息被觸發(fā)時(shí)運(yùn)行的腳本。 onoffline 當(dāng)文檔離線時(shí)運(yùn)行的腳本。 ononline 當(dāng)文檔上線時(shí)運(yùn)行的腳本。 onpagehide 當(dāng)窗口隱藏時(shí)運(yùn)行的腳本。 onpageshow 當(dāng)窗口成為可見(jiàn)時(shí)運(yùn)行的腳本。 onpopstate 當(dāng)窗口歷史記錄改變時(shí)運(yùn)行的腳本。 onredo 當(dāng)文檔執(zhí)行撤銷(redo)時(shí)運(yùn)行的腳本。 onresize 當(dāng)瀏覽器窗口被調(diào)整大小時(shí)觸發(fā)。 onstorage 在 Web Storage 區(qū)域更新后運(yùn)行的腳本。 onundo 在文檔執(zhí)行 undo 時(shí)運(yùn)行的腳本。 onunload 一旦頁(yè)面已下載時(shí)觸發(fā)(或者瀏覽器窗口已被關(guān)閉)。

<em> 把文本定義為強(qiáng)調(diào)的內(nèi)容。 <strong> 把文本定義為語(yǔ)氣更強(qiáng)的強(qiáng)調(diào)的內(nèi)容。 <dfn> 定義一個(gè)定義項(xiàng)目。 <code> 定義計(jì)算機(jī)代碼文本。 <samp> 定義樣本文本。 <kbd> 定義鍵盤(pán)文本。它表示文本是從鍵盤(pán)上鍵入的。它經(jīng)常用在與計(jì)算機(jī)相關(guān)的文檔或手冊(cè)中。 <var> 定義變量。您可以將此標(biāo)簽與 <pre> 及 <code> 標(biāo)簽配合使用。 <cite> 定義引用。可使用該標(biāo)簽對(duì)參考文獻(xiàn)的引用進(jìn)行定義,比如書(shū)籍或雜志的標(biāo)題。 --> </body>

</html>

以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)