04.06.2013 Views

Head First HTML with CSS

Head First HTML with CSS

Head First HTML with CSS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<br />

<br />

<br />

Putting one element inside<br />

another is called “nesting”<br />

When we put one element inside another element, we<br />

call that nesting. We say, “the element is nested<br />

inside the element.” At this point, you’ve<br />

already seen lots of elements nested inside other<br />

elements. You’ve put a element inside an<br />

element, a element inside a <br />

element, a element inside a element, and<br />

so on. You’ve also put a element inside the<br />

element, and a element inside the<br />

. That’s the way <strong>HTML</strong> pages get constructed.<br />

The more you learn about <strong>HTML</strong>, the more<br />

important having this nesting in your brain becomes.<br />

But no worries – before long you’ll naturally think<br />

about elements this way.<br />

building blocks<br />

nested inside ,<br />

nested inside ,<br />

nested inside .<br />

you are here 109

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

Saved successfully!

Ooh no, something went wrong!