單獨宣告
集體宣告
分項宣告
<style type="text/css" > body{font-size:9pt} </style>
<style type="text/css" > body{ font-size:9pt; color:red; background:white} </style>
<style type="text/css" > body{ font-size:9pt; color:red} body{ font-family:標楷體; background:white } </style>
標準用法
外部呼叫
單獨使用
將宣告放在<head> 和</head>之間
REL=STYLESHEET:參照一個外部的樣式檔案 TYPE="text/css" :參照的檔案類型 HREF="test.css":指定參照的樣式檔案位置及檔名