donaricano-btn

1. Semantics Tags

-  Semantics is the study of the meanings of words and phrases in language

-  Semantic elements are elements with a meaning


Example

- A semantic element clearly describes its meaning to both the browser and the developer

1) Non-semantic : <div> - Tells nothing about its content

2) Semantic : <form>, <table> <img> - Clearly defines its content


1_1. <section>

- The <section> elements defines a section in a document

- A section is a thematic grouping of content, typically with a heading



1_2. <article>

- The element specifies independent, self-contained content

 


You will find HTML pages with <section> elements containing <article> elements, and <article> elements containing <section>elements

also find pages with <section> elements containing <section> elements, and <article> elements containing <article> elements


1_3. <header>

- The element specifies a header for a documents or section

- You can have several <header> elements in one document

 


1_4. <footer>

- The element specifies a footer for a document or section

- A footer typically contains the author of the document, copyright information, links...

 


1_5. <address>

- The tag defines the contact information for the author / owner of a document or an article

- The text in the <address> element usually renders in italic

- The tag should not be used to describe a postal address, unless it is a part of the contact info

- The element will typically be included along with other info in a <footer> element

 


1_6. <nav>

- The element defines a set of navigation link

 


1_7. <aside>

- The element defines some content aside from the content it is placed in (like a sidebar)

 


1_8. <figure> and <figcaption>

- The purpose of caption is to add a visual explanation to an image

 


'Front-End > HTML5 + CSS' 카테고리의 다른 글

[HTML5] 4. HyperLink  (0) 2016.08.04
[HTML5] 3.Text Tag  (0) 2016.08.04
[HTML5] 2. Semantic for IE  (0) 2016.08.04
[CSS] To make a tab  (0) 2016.05.10
[CSS] heavy character  (0) 2016.02.23
블로그 이미지

리딩리드

,