我想創建一個網站使用Visual Studio 2015 Bootstrap和HTML,但到目前爲止,我有代碼不運行,我收到一條錯誤消息。基本網站得到錯誤CS1002:;預計
]
Iv'e也跟隨在本網站的說明:HTMLGoodies.com
這裏是我的代碼至今:
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Time Entry</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="bootstrap.min.css" />
<script src="bootstrap.min.js"></script>
<link rel="stylesheet" href="bootstrap-theme.min.css" />
</head>
<body>
<form id="form1" runat="server">
<div class="container-fluid">
<h1>Logo Book</h1>
<p>Discover Artists and Shape Your Perfect Logo</p>
</div>
<div class="row">
<div class="col-md-4" style="background-color:blue;">
Welcome to Logo Book where you can browse through potyfolios of your prefered artist and see what they have to offer.
</div>
<div class="col-md-4" style="background-color:palegoldenrod;">
Looking for an easier way to get in touch with these artists and give specific details needed for your project?
</div>
<div class="col-md-4" style="background-color:coral;">
Feel free to use our Q&A section to voice and submit your needs such as fonts and images!
</div>
</div>
</form>
</body>
</html>
這可能是因爲你不能從數字(WebSite1.2中的2)開始使用標識符,尤其是名稱空間,請參見[this question](http://stackoverflow.com/questions/4949731/numbers-in-命名空間)另一個誤導性編譯器錯誤的案例。 – Zong
你是對的宗,我用一個簡單的名字,網站1開始了一個新的網站項目,現在它運行正常。感謝您的見解! –