html的一些標準css樣式

2021-05-22 08:15:18 字數 703 閱讀 6168

在html中,即使我們沒有指定頁面元素顯示的css樣式,元素也會按照預設的的標準css樣式去顯示。因此掌握基本的html標籤可以在一定程度上精簡你的css**,現將html標籤的預設屬性進行一定的彙總如下:

li               

head             

table            

tr               

thead            

tbody            

tfoot            

col              

colgroup         

td, th           

caption          

th               

caption          

body           

html, address,

blockquote,

body, dd, div,

dl, dt, fieldset, form,

frame, frameset,

h1, h2, h3, h4,

h5, h6, noframes,

ol, p, ul, center,

dir, hr, menu, pre  

一些css樣式

1.color 顏色 2.font size 字型大小 3.font family 字型型號 4.font style 字型樣式 斜體等 5.font weight bold字型加粗 bolder更粗 6.text decoration underline下劃線 overline上劃線 none b...

html標準的一些東西

通常我們在寫頁面時,在頭部會有這樣一些東西 如果你不懂,也許老員工會告訴你,這是關於html標準的東西,是什麼含義呢?下面解釋一下 宣告位於文件中的最前面的位置,處於 標籤之前。此標籤可告知瀏覽器文件使用哪種 html 或 xhtml 規範。該標籤可宣告三種 dtd 型別,分別表示嚴格版本 過渡版本...

一些簡單的CSS樣式

ul font size 0.9em color 00458e list style type decimal circle none list style image url icon1.jpg 顯示 border top left bottom right div background colo...