Unit 1 - HTML Overview, Structure and Semantic
Unit 1 - HTML Overview, Structure and Semantic
HTML OVERVIEW
=> Correct
=> Incorrect
Take a look
➢ You can add comments to your HTML source by using the following syntax:
➢ Purpose of Heading:
▪ Search engines use the headings to index the structure and content of
your web pages.
▪ Users often skim a page by its headings. It is important to use headings
to show the document structure.
VS
<header>...</header> Indicates the header information on the webpage. Header content typically consists of a business
name or logo and is commonly positioned immediately after the opening <body> tag.
<nav>…</nav> Indicates the start and end of a navigation area within the webpage. The nav element contains
hyperlinks to other webpages within a website and is commonly positioned immediately after the
closing </header> tag.
<main>...</main> Indicates the start and end of the main content area of a webpage. Contains the primary content of
the webpage. Only one main element can appear on a page.
<footer>…</footer> Indicates the start and end of the footer area of a webpage. Contains the footer content of the
webpage.
<section>…</section> Indicates the start and end of a section area of a webpage. Contains a specific grouping of content
on the webpage.
<article>…</article> Indicates the start and end of an article area of a webpage. Contains content such as forum or blog
posts.
<aside>…</aside> Indicates the start and end of an aside area of a webpage. Contains information about nearby
content and is typically displayed as a sidebar.