標籤:表示 完整 web head int 注釋 超級 htm top
1.Html 注釋,pre,<,>, ,超級連結,marquee,img標籤
<html> <head> <title>常用的其他標籤</title> </head> <body> <!-- dl標籤是用來做資料列表顯示的 注釋標籤,注釋標籤不會在網頁中被顯示,僅僅用來對代碼進行標註 --> <!-- --> <!--pre標籤中的資訊會按照代碼的方式完整的顯示--> <pre> for(int i=0;i==10;i++) { printf(%d,i); } </pre> <!--<表示小於符號,>表示大於符號--> i<10 i>15<br/> <!-- 用來在頁面中顯示空格--> 師父 我來了<Br/> ©<!-- copy的符號--> &<!--&符號使用&來顯示--> <dl> <dt>質檢動態</dt> <dd>關於xxxxx的文章</dd> <dd>關於ddddd 的文章</dd> </dl> <!--所有的標籤除了內容之外還有自己的屬性,屬性全部在開始的標籤中來寫--> <a href="01.html" target="content" title="這個是我的超級連結標籤">這是一個超連結</a> <marquee direction="up" scrollamount="3" onmouseover="this.stop()" onmouseout="this.start()"> <ul> <li>第一</li> <li>第二</li> </ul> </marquee> <img src="1.jpg" width="300" height="300" alt="三八國際勞動節" title="搞笑圖片"/>
<!--alt, ttle為了讓搜尋引擎快速檢索到圖片 -->
<marquee> <a href="02.html"><img src="2.jpg"/></a> </marquee> </body></html>
Java Web - HTML 常用標籤和符號