HTML heading tags are used to create headings for the content of a webpage. HTML provides six heading tags, from <h1> to <h6>, each displaying a different font size.
<!DOCTYPE html> <html> <head> <title>Headings</title> </head> <body> <h1>This is Heading 1</h1> <h2>This is Heading 2</h2> <h3>This is Heading 3</h3> <h4>This is Heading 4</h4> <h5>This is Heading 5</h5> <h6>This is Heading 6</h6> </body> </html>