2.7 HTML Headings
HTML has 6 different heading tags for different levels of headings. Heading 1 is the largest, while heading 6 is the smallest
<!DOCTYPE html> <html> <head lang="en"> <title>Headings</title> <meta charset="utf-8"> </head> <body> <h1>Heading 1</h1> <h2>Heading 2</h2> <h3>Heading 3</h3> <h4>Heading 4</h4> <h5>Heading 5</h5> <h6>Heading 6</h6> <p>Paragraph</p> </body> </html>
Copyright © 2021 Code 4 Tomorrow. All rights reserved. The code in this course is licensed under the MIT License. If you would like to use content from any of our courses, you must obtain our explicit written permission and provide credit. Please contact email@example.com for inquiries.