SBS HTML Logo
CLOSE

HTML Headings

HTML Headings are used to create nice bold text. Generally, heading and paragraph elements go together, with paragraphs following headings.

Change your code to the code below. Save and refresh your browser.

<!DOCTYPE html>
<html>
    <head>
        <title>This is my page title.</title>
    </head>
    
    <body>
        <h1>My First Web Page</h1>
        
        <h2>What is this?</h2>
        <p>This is a page put together using HTML.</p>
        
        <h2>Who made this?</h2>
        <p>I did!</p>
    </body>
</html>
Expand

All Heading Tags

The heading tags range from <h1> to <h6> with the size getting smaller as the number gets larger.

Note: There should only be 1 <h1> tag per page. You can use the others as often as you'd like.

Share This Tutorial

Link To This Tutorial

Tutorial URL
https://stepbystephtml.com/tutorial/15/html-beginner-tutorial

HTML Link

Help Us to Help You

This website and it's tutorials are only made possible with your support. Support money goes towards keeping our servers online.

Link to Us

Spread the word! Let people know about our tutorials by placing links on blogs, websites, forums and other places.

HTML Link

Copyright 2017 Step By Step HTML. All Rights reserved.