Please read over the following code and pointing out any errors.
<html>
<head>
<title>Paradise Video Maui</title>
</head>
<body bgcolor="baecff"><center><br>
<font size="+4" face="trajan pro">Paradise Video Maui</font><br><font size="+2" face="trajan pro">Maui’s Largest Video Selection</font><br><br><hr><br>
<br><table border="1" cellpadding="3" cellspacing="6">
<tr>
<td>Home</td>
<td>Membership</td>
<td>Updates</td>
<td>Services</td>
<td>Locations</td>
</tr>
</table>
<br>
<br>
<!–START EDITING HERE>
<p><font size="+2" face="trajan pro">About Paradise Video Maui:</font></p>
<!–STOP EDITING HERE>
<br>
<font size="3" face="Trajan Pro">© 2009 Paradise Video Maui</font>
</body>
</html>
What Doctype should I use?
Missing doctype.
Uses deprecated bgcolor attribute instead of CSS.
Uses deprecated font element instead of CSS
Uses deprecated center element instead of CSS
Uses br element instead of margin
Uses br element instead of block elements
Fails to use h1/h2/h3/etc for headings
Uses a table to describe an unordered list of data
Fails to terminate the copyright entity with a semi colon
New documents should generally use HTML 4.01 Strict.
If there is one Doctype you should not use, it is <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> — since this triggers Quirks mode in browsers, making them make deliberate errors and be inconsistent (in an effort to deal with 1997-era code).
http://opera.com/wsc/ has a decent tutorial.
2 responses
Do you want to comment?
Comments RSS and TrackBack Identifier URI ?
You must be logged in to post a comment.
Trackbacks