There are other ways to set the styles for a particular element but the class attribute is the most flexible. Instead, the maximum of the two values is used for the spacing between the heading and paragraph. Sometimes you may want to indent the first line of each paragraph. Controlling the font This section explains how to set the font and size, and how to add italic, bold and other styles. The most common styles are to place text in italic or bold.
Most browsers render the em tag in italic and the strong tag in bold.
Most browsers use a larger font size for more important headings. If you override the default size, you run the risk of making the text too small to be legible, particularly if you use points. You are therefore recommended to specify font sizes in relative terms. It is likely that your favorite font won't be available on all browsers. To get around this, you are allowed to list several fonts in preference order.