
Unpublished
What is HTML?
Hypertext Markup Language
HTML defines the structure of a webpage.
HTML Elements tell the browser how to display information by identifying the content. They generally consist of two paired tags:
An opening and a closing tag
< p > ... < / p >
Closing tags are differentiated from opening tags by the presence of a forward slash
Tags act as containers that describe the information that lies within.
The following are common elements:
< html > ... < / html > identifies HTML code
< title > ... < / title > dentifies the title of the webpage
< head > ... < / head > is a section that contains information that makes your webpage function
< main > ... < / main > designates the main content
< h1 > ... < / h1> denotes the main and most important heading
< p > ... < / p > indicates paragraph text
There are six successive levels of the heading element from h1 to h6:
A main H1 heading
An H2 subhead
An H3 subhead
An H4 subhead
An H5 subhead
An H6 subhead
As the number increases the hierarchy decreases which means each heading is smaller than the last in size.
