爲什麼在這個世界上我從<!DOCTYPE html>
得到語法錯誤?<!DOCTYPE html> - 語法錯誤
<!DOCTYPE html>
<html>
<head>
<title>Portfolio</title>
<link rel="stylesheet" type="text/css" href="shapes.css">
</head>
<body>
<div class="content">
<div class="header">
</div>
<div class="middle">
<div class="image">
</div>
<div class="text">
</div>
</div>
</div>
</body>
</html>
語法錯誤
File "/Volumes/postergren_projectDrive/Projekt/programmingSandbox/Udacity/Intro to HTML and CSS/startBlock/portfolio/toplist/index.html", line 1
<!DOCTYPE html>
^
SyntaxError: invalid syntax
[Finished in 0.0s with exit code 1]
[shell_cmd: "python" -u "/Volumes/postergren_projectDrive/Projekt/programmingSandbox/Udacity/Intro to HTML and CSS/startBlock/portfolio/toplist/index.html"]
[dir: /Volumes/postergren_projectDrive/Projekt/programmingSandbox/Udacity/Intro to HTML and CSS/startBlock/portfolio/toplist]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
您是否將該HTML作爲Python運行?你到底在用HTML做什麼? – Xufox
Ohh darn,只是意識到..謝謝,我建立的系統在崇高是蟒蛇..這解釋.. –