Formatting Text with Heading Tags
Heading tags are used to format headings on a web page. Do not confuse them with
the heading section of HTML code or the title (which appears in the browser's title bar). Heading tags appear in the body section and
are used to format text as a page heading or a section heading. (Example: See "Formatting Text with Heading Tags" at the top of this page.)
There are six heading tags and each one has a beginning and a closing tag.
<h1>Web Page Heading</h1> prints the heading in the largest heading font:
Web Page Heading
<h6>Web Page Heading</h6> prints the heading in the smallest heading font: Web Page Heading
In addition to printing the text as a heading, the heading tags also double space after the heading.
Create a web page and print your name in all six heading tags (<h1> through <h6>)!
Back to the Week 2 Schedule