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.
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
When looking at the Section Heading Elements below, I can assume that h1 is the title, and h2 is the subtitle in this case.
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.