CSS statements for heading styles
<!DOCTYPE html> <html> <head> <title></title> <style type="text/css"> body { text-align: center; } h1 { font-family: sans-serif; } h2 { border: 2px solid black; padding: 10px; } h3 { font: bold italic 18pt Comic Sans MS; } h4 { color: white; background-color: darkgrey } h5 { visibility: hidden; } h6 { letter-spacing: 1.5em; } </style> </head> <body> <h1>Level 1 Heading</h1> <h2>Level 2 Heading</h2> <h3>Level 3 Heading</h3> <h4>Level 4 Heading</h4> <h5>Level 5 Heading</h5> <h6>Level 6 Heading</h6> </body> <html>