O'Reilly logo

HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition by Bruce Hyslop, Elizabeth Castro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Considerations When Beginning a Layout

Here are a few things to help you along as you lay out your own sites and hone them before releasing them into the wild.

Separating content and presentation

• As a best practice, always separate your content (HTML) and presentation (CSS). You learned how to do this in Chapter 8 by linking to an external style sheet. If you do so from all your pages, they can all share the same layout and overall style. This also makes it easier to change the design of the whole site at a later date, simply by modifying the CSS file or files.

Browser considerations

• Not all visitors will use the same browser, operating system, or even device when accessing your site. So, in most cases, you will want to test your pages on ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required