Classes
We'll start our look at stylesheets with another look at our Shelley Web site. We're looking at a page with navigation and text—it's a feature article. Example 8-2 shows the HTML for this page.
Example 8-2. HTML for feature page
<div id="feature"> <h1>Jellyfish for Eyes</h1> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus ... |
Get Advanced JavaScript™: Insights and Innovative Techniques now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.