Link to USGS home page
Internal USGS Access Only

Learning HTML - Inline Markup

Inline Markup
Content-based markup is designed to work in all media while Physical markup is a font characteristic. For example; a speech-based browser will emphasize an text marked with EM (emphasize) tags but not with I (italic) tags, while both will display as italic in most (but not all) browsers.
Content-based Markup Physical Markup
  BIG a large font
CITE a citation or a reference  
CODE computer code TT a nonproportional font
DFN defining instance of the enclosed term  
EM emphasis I an italic font
KBD text to be entered by the user  
SAMP sample output  
  SMALL a small font
STRONG stronger emphasis B a bold font
  SUB sub scripting
  SUP super scripting
VAR variable or program argument  
Line Breaks
You can force a line break with the BR tag. Do NOT use BR to define your right margin!
<p>Green eggs<br>and ham.</p>

Green eggs
and ham.

Horizontal Rules
The HR element specifies a horizontal line. HR does not have a closing tag. <hr>

The colors that you see in this example are done with Cascading Style Sheets.

slide 10


[up]
"Mastering a Web Site" online course
Created and maintained by Lorna Schmid and David Boldt.
http://water.usgs.gov/usgs/training/webmaster/html_markup.html    
Last modified: Tue Oct 14 17:17:47 EDT 2003