Writing an HTML H1 Tag

You are currently viewing a revision titled "Writing an HTML H1 Tag", saved on January 10, 2026 at 2:15 pm by Webmaker
Title
Writing an HTML H1 Tag
Content

The H1 tag (<h1>) serves as the main heading of your webpage, acting much like the title of a book or the headline of a newspaper. To create one, you wrap your specific heading text between an opening <h1> tag and a closing </h1> tag. This structure signals to both web browsers and search engines that the enclosed text is the most significant subject on the page, which is vital for both SEO and accessibility.

Syntax Example: To display a main title that reads "My Portfolio," you would write:

<h1>My Portfolio</h1>

Excerpt
Footnotes


Old New Date Created Author Actions
January 10, 2026 at 2:15 pm Webmaker