HTML and CSS Reference
In-Depth Information
Time to play a little game with the validator. Take the code you just successfully
validated as HTML5 (on page 241), and remove the doctype. That's right—remove it,
just to see what happens when you validate. Go ahead and submit this version of the
file to the validator and see what happens. Make notes below about the errors you get.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title> Head First Lounge </title>
</head>
<body>
<h1> Welcome to the New and Improved Head First Lounge </h1>
<img src="drinks.gif" alt="Drinks">
<p>
Join us any evening for refreshing
<a href="elixir.html"> elixirs </a> , conversation and
maybe a game or two of <em> Dance Dance Revolution </em> .
Wireless access is always provided; BYOWS (Bring
your own web server).
</p>
<h2> Directions </h2>
<p>
You'll find us right in the center of downtown
Webville. If you need help finding us, check out our
<a href="directions.html"> detailed directions </a>.
Come join us!
</p>
</body>
</html>
Search WWH ::




Custom Search