They are h1, h2, h3, h4, h5 and h6, h1 being the almighty emperor of headings and h6 being the lowest pleb.Headings: h1 to h6 in their default style. Size doesnt matter: you can make headings any size you want with CSS (which you will learn about later). . Link a style sheet.A span lets you apply a class or ID style to part of a tag. Use the semantic tags like header, footer, code, etc. instead of div when you can. Web Design - Html Language and Css Styles - H1 H2 H3 tag header text-align center sample code - Create Website with Html Code Examples and Css Style Examples - Learn How to Create a Website. Default CSS Settings. Most browsers will display the
element with the following default values: Example. h1 display: block font-size: 2em margin-top: 0.67em margin-bottom: 0.67em margin-left: 0 margin-right: 0 font-weight: bold H1 tags, for example, automatically drop any proceeding content to a new line, but this default style may be overridden with a simple CSS trick.To prevent the automatic line break with the H1, H2, H3 tags, simply add the following style definition: display:inline.