Quote:
Originally Posted by Nemesis
looking really good! I am doing the same thing, in fact I have a 10 page website due in 10 days
Though you lose some points for not having this at the top of your document.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
|
You don't need that horribly ugly doctype declaration. Html5's doctype is 100% supported in all browsers even in quirks mode.
Use:
<!doctype html>
Example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
</head>
<body>
</body>
</html>