HTML and CSS Reference
Making the validator (and more than a few
browsers) happy with a meta tag…
The <meta> tag belongs in the <head> element (remember that the <head>
contains information about your page). Go ahead and add the <meta> tag line right
into your HTML. Let's first add it to the “lounge.html” file:
Here's the <meta> tag. W e've
added it to the <head> element
above the < title> elemen t.
<title> Head First Lounge </title>
<h1> Welcome to the New and Improved Head First Lounge </h1>
<img src="drinks.gif" alt="Drinks">
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).
<h2> Directions </h2>
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!
Want to place another bet? Is this going to validate? First, make the
changes to your “lounge.html” file, save it, and reload it into your
browser. Once again, you won't notice any change, but the browser will.
Now let's see if it validates…