4.26學習內容

來源:互聯網
上載者:User

標籤:

4月26上課內容

標籤屬性

?

????屬性名稱="屬性值"

????公有屬性: title="滑鼠移至上方提示文字"

???????? style="CSS樣式"

????私人屬性:個別標籤專屬的屬性!

?

?

????CSS樣式

????????邊框 dashed 虛線 dotted 點畫線

?

????????。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

<!DOCTYPE html >

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>無標題文檔</title>

</head>

?

<body>

</body>

</html>

?

DOCTYPE 文件類型

document 文檔

type 類型

。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

?

?

html5

?

<head>。。。。。。。。。。。。。。。。。。。。網頁的頭部資訊

<meta charset="utf-8">

<title>無標題文檔</title>

</head>

?

charset="utf-8",,,,,,,,,,,,,,,,,,,,,,國際通用的編碼格式

?

background-image 背景圖

background-repeat 背景重複

background-position 背景定位

背景定位 left right top bottom center 或具體數字(支援正值和負值)

?

?

背景圖的縮寫: 背景圖片/ 是否重複/ 位置/ 背景色

?

?

?

圖片格式分類

????png 支援透明 半透明 體積較大 品質好

JPG 不支援透明 不支援半透明 體積大 品質較好

GIF 支援透明 不支援半透明 支援動畫

?

?

?

.............................................................................................

????font-weight 字型加粗

?????

?

?

?

?

?

font-family 字型組合

?

font-style 字型樣式

?

?

text-decoration 底線

?

????????none: 沒有底線

underline:底線

overline 上劃線

line-througn 刪除線

?

?

text-indent 縮排段落文本!!!

text-indent:-999em;隱藏文字

?

?

?

樣式繼承:1.子級繼承父級的css樣式(僅限於和文字相關的樣式)

???? 2.標籤本身有預設樣式的標籤,不繼承父級的樣式!

?

?

有預設樣式的標籤

4.26學習內容

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.