Headings
Headings are defined with the <h1>
to <h6>
tags, and their elements are written as <h1>...</h1>
.
<h1>This is a Heading 1</h1>
Compare this to Markdown:
# This is a Heading 1
<h1>
defines the most important heading. <h6>
defines the least important heading.
<h1>
headings are main headings, while <h2>
headings are usually considered sub-headings and so forth, through <h6>
.
Note By default, browsers will display headings with decreasing font size. However, we will explicitly style headings using CSS rules and definitions, later preventing any un-expected rendering of the web document content.
html
- Previous
- Next