04.06.2013 Views

Head First HTML with CSS

Head First HTML with CSS

Head First HTML with CSS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<br />

Webville Forecast<br />

<br />

<br />

standards, compliance, and all that jazz<br />

<br />

The weather report says lots of rain and wind in store for<br />

Webville today, so be sure to<br />

stay inside if you can.<br />

<br />

<br />

Tuesday: Rain and 60 degrees.<br />

Wednesday: Rain and 62 degrees.<br />

<br />

<br />

Bring your umbrella!<br />

This page brought to you buy Lou’s<br />

Diner, a Webville institution for over 50 years.<br />

<br />

<br />

<br />

<strong>HTML</strong><br />

Archeology<br />

We did some digging and found an <strong>HTML</strong> 3.2 page<br />

that contains some elements and attributes that are no<br />

longer part of the standard, as well as a couple of common<br />

mistakes that are no longer allowed in strict <strong>HTML</strong> 4.01.<br />

Here are two ways to align text.<br />

Right align a paragraph, or<br />

center a piece of text.<br />

Here are some attributes that<br />

controlled presentation. bgcolor sets<br />

the background color of the page, and<br />

text sets the color of the body text.<br />

Font changes were made <strong>with</strong> the<br />

element and its face attribute.<br />

You could get away <strong>with</strong>out some<br />

closing tags, like and .<br />

Or even <strong>with</strong>out double quotes around<br />

attribute values.<br />

Text size was controlled <strong>with</strong><br />

the element, using<br />

the size attribute.<br />

you are here 259

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!