BUILDER.COM 

Search for articles on BUILDER.COM: 

  
  
  
  
  
  
  
  
 
 
HTML quick reference 
The following are brief explanations of the HTML tags covered in this feature: 
<HTML>...</HTML>--tells browsers the page is written in HTML; entire document goes between the HTML tags 
 
<HEAD>...</HEAD>--appears just below the HTML tag in every HTML document; contains information about the document but does not appear on Web page 
 
<TITLE>...</TITLE>--specifies the title of the document; the text between these tags appears in browser's title bar but not on the Web page itself 
 
<BODY>...</BODY>--contains all the text and images that make up the Web page, together with all the HTML elements that provide the control/formatting of the page 
 
  BGCOLOR--attribute of <BODY> tag; designates color of page's background 
 
  BACKGROUND--attribute of <BODY> tag; designates image as page's background (wallpaper) 
 
<H1>-<H6>...</H1>-</H6>--codes text as headings; <H1> is the largest, <H6> the smallest 
 
<CENTER>...</CENTER>--centers text and other elements on page 
 
<BR>--breaks text onto a new line (no vertical space between lines) 
 
<P>--breaks text into a new paragraph (leaves blank line above new paragraph) 
 
<I>...</I>--creates italic text 
 
<B>...</B>--creates bold text 
 
<EM>...</EM>--creates emphasized text, usually italic 
 
<STRONG>...</STRONG>--creates strongly emphasized text, usually bold 
 
<A>...</A>--marks text as the start and/or destination of a link; requires the HREF or NAME attribute 
 
  HREF--attribute of <A> tag; makes text or image between <A> tags a hyperlink 
 
  NAME--attribute of <A> tag; makes text or image between <A> tags the target of a hyperlink 
 
<UL>...</UL>--creates an unordered (bulleted) list 
 
<OL>...</OL>--creates an ordered (numbered) list 
 
<LI>--used in conjunction with the <UL> or <OL> tag, designates a list item in an unordered or ordered list 
 
<DL>...</DL>--creates a definition list 
 
<DT>--used in conjunction with the <DL> tag, designates a definition title in a definition list 
 
<DD>--used in conjunction with the <DL> tag, designates a definition description in a definition list 
 
<IMG>--adds an image to a page; must have SRC attribute 
 
  SRC--attribute of <IMG> tag; points to location of digital image file 
 
  WIDTH--attribute of <IMG> tag; defines width of image in pixels 
 
  HEIGHT--attribute of <IMG> tag; defines height of image in pixels 
 
If you're curious about the myriad HTML tags we didn't cover, check out Maran Wilson's comprehensive list of HTML elements
 
go to "more HTML resources"
 
 
 
 
 
 
 
 
 
 
 
 
 

Back to top  Go to the CNET Builder.com home page. 

  Copyright © 1995-98 CNET, Inc. All rights reserved. Privacy policy.