- href: 指定網頁中所有超鏈接的地址。可以是本地,也可以是網路地址。
- target: 指定打開超鏈接的方式。如 _blank 表示所有的超鏈接都用新窗口打開顯示。
- name: 網頁的描述信息。當取 keywords 時,content 屬性的內容就作為搜索引擎的關鍵字進行搜索。
- http-equiv: 模擬 http 協議的響應消息頭。
<meta http-equiv="refresh" content="3" url="http://www.baidu.com"> <!--表示打開此頁面3秒後自動轉到百度頁面-->
- rel: 描述目標文檔與當前文檔的關係
- type: 文檔類型。
- media: 指定目標文檔再哪種設備上起作用。
<link rel="stylesheet" type="text/css" media="screen,print" href="a.css">
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>New Web Page</title>
</head>
<body>
<b>這是</b><i>常見</i>的<u>小標籤</u>演示<br>
X<sub>2</sub>
X<sup>2</sup>
<marquee dirction="down" behavior="alternate">Hello World</marquee> <!--會動的標籤-->
</body>
</html>