75,544 views
15 votes
15 votes
An engineer is writing above the HTML page that currently displays a title message in large text at the top of the page . The engineer wants to add a subtitle directly underneath that is smaller than the title but still longer than most of the text on page

User Garrett Berneche
by
2.7k points

1 Answer

23 votes
23 votes

<!DOCTYPE html>

<html>

<body>

<h1>Heading or Title</h1>

<h2>Sub heading or sub title</h2>

</body>

</html>

This will be the html code for the given problem.

User ElioRubens
by
2.3k points