-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Responsive Web Design with HTML5 and CSS - Fifth Edition
By :
My dictionary defines semantics as "the branch of linguistics and logic concerned with meaning." For our purposes, semantics is the process of giving our markup meaning. Why is this important?Most websites follow fairly standard structural conventions; typical areas include a header, a footer, a sidebar, a navigation bar, and so on. As web authors, even if only to aid the visual layout we are hoping to achieve, we will often name the divs we use, to more clearly designate these areas (for example, <div class="Header">). However, as far as the code itself goes, any user agent parsing that content – and that includes a web browser, screen reader, search engine crawler, and so on – couldn't say for sure what the purpose of each of these div elements is. From their point of view, <div class="Header"> is no more significant than <div class="Sausages">. HTML5 solves that problem with...