Skip to Main Content
HTML5 for .NET Developers
book

HTML5 for .NET Developers

by James Jackson, Ian Gilman
November 2012
Beginner content levelBeginner
416 pages
13h 22m
English
Manning Publications
Content preview from HTML5 for .NET Developers

Chapter 2. A markup primer: classic HTML, semantic HTML, and CSS

This chapter covers

  • Building and reading semantic markup
  • Using block and inline elements appropriately
  • Styling elements using Cascading Style Sheets (CSS)

Classic markup is the HTML you’re probably familiar with already: <div> tags that have <span> tags inside them, <p> tags that define paragraphs of text, and <a> tags that mark links to other content. But classic markup isn’t semantic markup, which is a simple concept with far-reaching effects on the World Wide Web.

Think of semantic markup as a structural diagram for your pages. You can get a lot of information about a building from its structural diagrams, and the same is true with the semantic layout of a page. You can’t ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

HTML5 Programming for ASP.NET Developers

HTML5 Programming for ASP.NET Developers

Bipin Joshi
HTML5 Guidelines for Web Developers

HTML5 Guidelines for Web Developers

Klaus Förster, Bernd Öggl

Publisher Resources

ISBN: 9781617290435Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link