Semantic Tags
Semantic Tags
Образец заголовка
1
What
Образец заголовка are Semantic Elements?
• A semantic element clearly describes its
meaning to both the browser and the developer.
2 2
Semantic
Образец заголовка
Elements in HTML
Many web sites contain HTML code like: <div id="nav">
<div class="header"> <div id="footer"> to indicate
navigation, header, and footer.
• <article> • <main>
• <aside> • <mark>
• <details> • <nav>
• <figcaption> • <section>
• <figure> • <summary>
• <footer> • <time>
• <header> 3 3
HTML
Образец<section>
заголовка Element
4 4
HTMLзаголовка
Образец <article> Element
The <article> element specifies independent, self-contained content.
An article should make sense on its own, and it should be possible to
distribute it independently from the rest of the web site.
• Forum post
• Blog post
• Newspaper article
5 5
HTML header> Element
Образец<заголовка
6
HTML заголовка
Образец <footer> Element
The <footer> element defines a footer for a document or section.
A <footer> element typically contains:
• authorship information
• copyright information
• contact information
• sitemap
• back to top links
• related documents
You can have several <footer> elements in one document.
7 7
HTMLзаголовка
Образец <nav> Element
8 8
HTML <aside>
Образец заголовка Element
The <aside> element defines some content aside from the content it is placed in
(like a sidebar).
The <figcaption> tag defines a caption for a <figure> element. The <figcaption>
element can be placed as the first or as the last child of a <figure> element.
Thanks!
10