HTML常用標籤屬性(一)

2021-07-25 09:29:49 字數 437 閱讀 6434

:整個頁面的內容,只能有乙個

:頭部標籤,在標籤內,只能有乙個

:顯示在瀏覽器上部資訊,不顯示在瀏覽器正文中

name="keywords" content="關鍵字":搜尋引擎搜尋的關鍵字

name="description" content="***":關鍵字下方的小字

name=「rebots」 content="[index | noindex | fllower | all | none]":是否允許搜尋引擎把我的頁面快取到資料庫中,index代表可以,fllower代表可以把我頁面上的鏈結也放到搜尋引擎的快取資料庫中,all代表兩者都可以(一般這樣寫),none代表什麼都不行

name="author" content="***":網頁的作者

#設定文字格式和網頁字符集

Html 常用標籤及其屬性

1.轉義字元 non break space,不間斷空格 2.標籤 table row,表示 中的行 table data,表示 中的資料 table border width height bgcolor align 對齊方式 tr align 內容對齊方式 th th td td tr tabl...

html常用標籤及屬性

由於markdown將文字轉換為 html,因此在書寫html標籤時在標籤前面加了空格為了正常顯示。doctype html 文件宣告標籤,告訴瀏覽器這個頁面採取html5版本顯示頁面 html lang zh cn 告訴瀏覽器頁面採用中文顯示 meta charset utf 8 必須寫,採取ut...

HTML常用標籤及屬性

1.標題 align center 標題1h1 標題2h2 2.超連結 href 3.align center border 1px width 60 cellspacing 0px 姓名th 性別th tr 張三td 男td tr 李四td 女td tr table 4.表單 用於向後台提交資料 ...