<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<link rel="css" type="text/css" href="stylesheet.css"/>
</head>
<body>
<p>
<strong>C</strong>ascading
<strong>S</strong>tyle
<strong>S</strong>heets
</p>
</body>
</html>
p {
color: blue;
text-decoration: underline;
}
strong {
color:red;
}
body {
background: aqua;
}
由於某種原因,這不會加載。我通過CSS和HTML驗證器運行它,但是我使用開發人員工具,並且它沒有顯示附加的CSS樣式表,並且我的(非常基本的)格式化沒有被應用。我看了一些其他問題,沒有解決這個問題。外部CSS樣式表無法加載