我正在嘗試爲我的小型啓動製作網站。現在的事情是我想要製作一個背景顏色爲白色的中心區域和一個背景顏色爲淺灰色的區域。我製作了一張背景顏色爲白色的桌子,並將其對齊在中間,但它只出現在頁面的底部。發生什麼事?HTML內容未出現在表
<html>
<head>
<title>Memocups</title>
</head>
<body bgcolor="#d9d9d9">
<table align="center" width="50%" bgcolor="#ffffff">
<tr>
<p><h1>Memocups</h1><p>
<p><h3>What is a memocup?<h3><p>
<img src="images/img_1_cuponstump.jpg" width="540px" height="360px">
<p>
A memocups is a coffe mug wich has a customizable picture!<br> What makes memocups unique from all other mugs with pictures is <br>that you upload the picture you want to our website and we<br> will put it on the mug! So what are you waiting for the<br>perfect gift is only a few clicks away!</p>
</tr>
</table>
</body>
</html>
這不是一個表格式正確,你就錯過了'td' [看看這裏(http://www.w3schools.com/html/html_tables .asp的)。此外,除非您正在佈置表格數據,否則應該避免使用表格。 – APAD1
你的HTML無處不在。 – j08691
從這裏開始:http://validator.w3.org/nu/ – Quentin