skip to Main Content

I am asked to create a local web page using HTML5 and use a bunch of elements, all which I understand how to do except add a subtitle.

I have no idea what to add to even start.

2

Answers


  1. When looking at the Section Heading Elements below, I can assume that h1 is the title, and h2 is the subtitle in this case.

    <h1>Heading level 1</h1>
    <h2>Heading level 2</h2>
    <h3>Heading level 3</h3>
    <h4>Heading level 4</h4>
    <h5>Heading level 5</h5>
    <h6>Heading level 6</h6>
    
    Login or Signup to reply.
  2. To add a subtitle to your HTML5 web page, you can use the <h2> tag. This tag is used to define headings in HTML, with <h1> being the highest level heading and <h6> being the lowest level heading.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search