Professional Documents
Culture Documents
HTML Codes - Text Formatting Tags
HTML Codes - Text Formatting Tags
The text formatting samples below shows you all the HTML text formatting elements in one handy place. Each of these elements can be stylized using CSS. The examples shown below represent the default display by whatever browser you're using. Note that the default display for some elements can be different from one browser brand to another, or from version to version. You may wish to use CSS to set the display style so it's consistent across all user agents.
Sample Text
Keyboard Text
Big Text
Small Text
Heading Elements
Element Code <h1>...</h1> <h2>...</h2> <h3>...</h3> <h4>...</h4> <h5>...</h5> <h6>...</h6> Display Sample