Physical Format Elements
Having said that HTML is intended to leave the appearance of the document up to the viewer, I will now show you how you can have limited control over what the reader sees. In addition to the logical formattingelements, it is possible to use physical formatting elements that will change the appearance of the text in the viewer. These physical elements are as follows:
The bold element uses a bold font to display the text.
This is in bold text.
The italic element renders text using an italic font.
This is in italic text.
The teletype element displays the contents with a monospaced typewriter font.
This is in TT>teletype
The underline element causes text to be underlined in the viewer.
This text is underlined.
This is a
The big print element uses a larger font size to display the text.
This is big text.
The small print element displays the text in a smaller font size.
This is small text.
The subscript element moves the text lower than the surrounding text and (if possible) displays the text in a smaller size font.
This is a SUB>subscript
.
The superscript element moves the text higher than the surrounding text and (if possible) displays the text in a smaller size font.
This is a superscript.