Semantic HTML is the use of HTML markup to reinforce the semantics, or meaning, of the information in webpages rather than merely to define its presentation or look. Semantic HTML is processed by regular web browsers as well as by many other user agents. CSS is used to suggest its presentation to human users.
As an example, recent HTML standards discourage use of the tag
(italic, a typeface) in preference of more specific tags such as
(emphasis); the CSS stylesheet should then specify whether emphasis is denoted by an italic font, a bold font, underlining, slower or louder audible speech etc. This is because italics are used for purposes other than emphasis, such as citing a source; for this, HTML 4 provides the tag
. Another use for italics is foreign phrases or loanwords; web designers may use built-in XHTML language attributes or specify their own semantic markup by choosing appropriate names for the
class attribute values of HTML elements (e.g.
class="loanword"). Marking emphasis, citations and loanwords in different ways makes it easier for web agents such as search engines and other software to ascertain the significance of the text.
Other articles related to "semantic html, semantic, html":
... metadata that their systems will use to find structured semantic content within webpages ... and itemprop attributes added to existing HTML elements microformat keywords are added inside class attributes as discussed above and RDFa relies on rel, typeof ...
... Semantic HTML is a way of writing HTML that emphasizes the meaning of the encoded information over its presentation (look) ... HTML has included semantic markup from its inception, but has also included presentational markup such as , and tags ... to avoid the use of presentational HTML markup with a view to the separation of presentation and content ...
Famous quotes containing the word semantic:
“Watts need of semantic succour was at times so great that he would set to trying names on things, and on himself, almost as a woman hats.”
—Samuel Beckett (19061989)