HTML5 Semantic Elements

in #element7 years ago

HTML5 Semantic Elements

 Semantic elements = elements with a meaning What are Semantic Elements? A semantic element clearly describes its meaning to both the browser and the developer. Examples of non-semantic elements: 

and  - Tells nothing about its content. Examples of semantic elements: , 
, and  - Clearly defines its content. New Semantic Elements in HTML5 Many web sites contain HTML code like:

to indicate navigation, header, and footer. HTML5 offers new semantic elements to define different parts of a web page:  
HTML5 Element The  element specifies independent, self-contained content. Examples of where an  element can be used: Forum postBlog postNewspaper article Example
  

What Does WWF Do?


  

WWF's mission is to stop the degradation of our planet's natural environment,
  and build a future in which humans live in harmony with nature.



HTML5 Element The  element defines a section in a document. A home page could normally be split into sections for introduction, content, and contact information. Example
  

WWF


  

The World Wide Fund for Nature (WWF) is....


Sort:  

This post has received a 2.09 % upvote from @drotto thanks to: @rabiul21.