New Utrecht High School
Home
Rules & Requirements
Home
Rules & Requirements
Back
Web Development & Design 1
HTML Basics: Tags and Elements Part 2
Structural Elements
Div Element
<div></div>
It has been used for many years to configure a generic structural area or "division" on a web page, by using it as an empty block.
They are also used to contain block displays such as headings, paragraphs, unordered/ordered lists, and even div elements
HTML5 Structural Elements (Part 1)
The Header Element
<header></header>
It contains the headings of either a web page document or an area within a document, such as a section or article.
This can contain the main title or banner image of the web page.
The Nav Element
<nav></nav>
The purpose of this element is to contain a section of navigation links.
NOT all links in the document needs to be inside the <nav> tags. The <nav> element is intended for only to be a major block of navigation links.
The Main Element
<main></main>
This element contains the main content of a web page document.
There should be only one main element per web page.
The Footer Element
<footer></footer>
This element contains only the footer content of a web page.
There should be only one footer per web page
Back