html基礎(chǔ)
-
常見(jiàn)瀏覽器內(nèi)核
IE trident ; 谷歌/Opera blink ;火狐 gecko ;Safari webkit
-
常用標(biāo)簽
<hr/> <!-- 下劃線 --> <strong></strong> <b></b> <!-- 文本加粗標(biāo)簽 工作里盡量使用strong --> <em></em> <i></i> <!-- 文本傾斜標(biāo)簽 工作里盡量使用em --> <del></del> <s></s> <!-- 刪除線標(biāo)簽工作里盡量使用del --> <ins></ins> <u></u> <!-- 下劃線標(biāo)簽 工作里盡量ins --> <embed src="" hidden=""> <!-- 音樂(lè)標(biāo)簽 --> <marquee>...</marquee> <!-- 滾動(dòng)標(biāo)簽 屬性 height width bgcolor behavior alternate scroll slide direction:(down;left;right;up) loop --> <sup>上標(biāo)</sup> <sub>下標(biāo) </sub> -
a沒(méi)有的情況下設(shè)置 ,不會(huì)跳動(dòng)
<a href="javascript:;"> -
a超鏈接跳轉(zhuǎn)新頁(yè)面方法簡(jiǎn)化在head中加 _blank為跳轉(zhuǎn)方式
<base target="_blank"> -
列表
-
無(wú)序列表
<ul> <li>列表項(xiàng)</li> <li></li> <li></li> </ul>type=”square” 小方塊
Type=”disc” 實(shí)心小圓圈
Type=”circle” 空心小圓圈
-
有序列表
<ol> <li> 列表項(xiàng)</li> <li></li> <li></li> </ol>ype=”1,a,A,i,I”type的值可以為1,a,A,i,I
start=”3” 決定了開(kāi)始的位置。
-
自定義列表
<dl> <dt>小標(biāo)題</dt> <dd>解釋標(biāo)題</dd> <dd>解釋標(biāo)題</dd> </dl>
-
-
meta標(biāo)簽介紹
<!--向搜索引擎說(shuō)明你的網(wǎng)頁(yè)的關(guān)鍵詞;--> <meta name="KEYWords" contect=""> <!--告訴搜索引擎你的站點(diǎn)的主要內(nèi)容;--> <meta name="DEscription" contect=""> <!--告訴搜索引擎你的站點(diǎn)的制作的作者;--> <meta name="Author" contect="你的姓名"> <!--編碼方式;--> <meta http-equiv="Content-Type" contect="text/html"; charset=gb_2312"> <!--重定向;--> <meta http-equiv="Refresh" content="5;url=http://www.w3school.com.cn" /> <!--title圖標(biāo);--> <link rel="icon" href="1.icon"> <!--iphone上title圖標(biāo);--> <link rel="apple-touch-icon" href="images/e_my_logo.png"> <!--屬性說(shuō)明 : 設(shè)定為all:文件將被檢索,且頁(yè)面上的鏈接可以被查詢; 設(shè)定為none:文件將不被檢索,且頁(yè)面上的鏈接不可以被查詢; 設(shè)定為index:文件將被檢索; 設(shè)定為follow:頁(yè)面上的鏈接可以被查詢; 設(shè)定為noindex:文件將不被檢索,但頁(yè)面上的鏈接可以被查詢; 設(shè)定為nofollow:文件將不被檢索,頁(yè)面上的鏈接可以被查詢。 --> <meta name="Robots" contect= "all|none|index|noindex|follow|nofollow"> -
table
<table> <caption>標(biāo)題</caption> <thead> <tr> <th></th> </tr> </thead> <tbady> <tr> <td></td> </tr> </tbady> <tfoot></tfoot> </table> colspan=”2” 合并同一行上的單元格 rowspan=”2” 合并同一列上的單元格 -
表單form
?Name :定義表單的名稱
?Method: 定義表單結(jié)果從瀏覽器傳送到服務(wù)器的方式,默認(rèn)參數(shù)為:get ;
Action :用來(lái)指定表單處理程序的位置(服務(wù)器端腳本處理程序)
?Fieldset:把表單分組
?Legend:分組名稱
補(bǔ)充