我試圖運行包含css標籤的html文件。但在輸出中,我只能看到html標籤的輸出,而不是css標籤。我已經在所有瀏覽器中嘗試了這一點,可以知道問題所在。CSS腳本不能正常工作
這是我的文件:
<?xml version=」1.0」 encoding=」UTF-16」?>
<!DOCTYPE html PUBLIC 「-//W3C//DTD XHTML 1.1//EN」
「http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd」>
<html xmlns=」http://www.w3.org/1999/xhtml」 xml:lang=」en」>
<head>
<title>Bohemia</title>
</head>
<body>
<div style=」text-align:center」>
<h1>Bohemia</h1>
<h2>by Dorothy Parker</h2>
</div>
<p style=」text-align:left」>
Authors and actors and artists and such<br />
Never know nothing, and never know much.<br />
Sculptors and singers and those of their kidney<br />
Tell their affairs from Seattle to Sydney.
</p>
<p style=」text-align:center」>
Playwrights and poets and such horses’ necks<br />
Diarists, critics, and similar roe<br />
Never say nothing, and never say no.
</p>
<p style=」text-align:right」>
People Who Do Things exceed my endurance;<br />
God, for a man that solicits insurance!
</p>
</body>
</html>
這裏(輸出)CSS定位標籤不工作。