Answers Search Help
Boston University home page
HTML: Introduction
 
 
    Components
 
 
 
 
 
 
    Syntax
 
 
 
 
 
    Essential Tags
 
 
 
 
 
 
 
 
    HTML Headings
 
 
    Text
 
 
 
 
    Layout
 
 
 
 
 
 
 
    Links & Images
 
 
 
 
    Publishing
 
 
    Also See
 
 

Italics

Use the <em> or <i> tag to format italic text. It can be used in conjunction with other tags (bold, underline, etc.). The tag EM is preferred for ADA compliance. Both tags produce italic text on the screen, but the EM tag also tells screen-reading software to emphasize the word.

The code requires an opening and a closing tag:

<em> - opening tag
</em> - closing tag

All text between the opening and closing tags will be italic. The tag has no other effect on non-text elements.

CODE EXAMPLE:

When viewing this example, you will <i>clearly</i> see how the ITALIC and EMPHASIS tags produce <em>the same result</em>.

RESULT:

When viewing this example, you will clearly see how the ITALIC and EMPHASIS tags produce the same result.

NOTE: Studies of online display fonts suggest that italic type is the most difficult to read via a computer monitor, especially at small font sizes.

 

WebCentral Using Publishing Learning Training Consulting WebCentral
Answers Search Help
NIS  |  OIT  |  Boston University  |   January 9, 2007