HTMLementary

Reference

[A - C] [D - I] [J - R] [S - Z]

<DD>
Definition Description. The definition of the term.

§

<DL>, </DL>
Definition List. Also called a Glossary List. Allows you to set up a list of terms with descriptions.

§

<DT>
Definition Term. The term you're going to define.

§

<EM>, </EM>
Emphasize some words. The browser decides how to emphasize the words. Many use italics.

§

<EMBED>
Embeds a document in a Web page.

SRC URL
HIDDEN Display document in background
True
AUTOSTART Start document automatically
TRUE

§

<FONT>, </FONT>
Changes the size, color and face of a font.

SIZE 1-7
-1 to -6, +1 to +6
COLOR #RRGGBB
FACE Font name

§

<FORM>, </FORM>

ACTION
URL
METHOD ..
GET|POST

§

<FRAME>
Sets up a frame, or subwindow, within a frameset. Each frame can display a different HTML file.

Attribute Modifies/Values
SRC File to display
URL
NAME Frame's name
string
MARGINWIDTH Left and right margins
pixels
MARGINHEIGHT Top and bottom margins
pixels
SCROLLING Display scrollbars
yes|no|auto
NORESIZE Frame's size doesn't change

§

<FRAMESET>, </FRAMESET>
Creates a window that can contain a set of frames, or subwindows, each of which can display a different HTML file. <FRAMESET> takes the place of <BODY>.

Attribute Modifies/Values
ROWS Creates frames as rows
pixels|percent|*
COLS Creates frames as columns
pixels|percent|*

§

<H1>, </H1>
<H2>, </H2>
<H3>, </H3>
<H4>, </H4>
<H5>, </H5>
<H6>, </H6>

The Hx tags are used for headings, with 1 being the biggest and 6 the smallest. After a heading closes, a new paragraph starts automatically. You should use them in order, starting from H1.

Attribute Modifies/Values
ALIGN Position of heading
LEFT|CENTER|RIGHT

Example

<H1 ALIGN="CENTER">Centered</H1> 

§

<HEAD>, </HEAD>
These tags enclose information about your HTML document. This information is not displayed on your page. It's used by the browser.

§

<HR>
Draws a horizontal line across the window. You can adjust the width, thickness and position.

Attribute Modifies/Values
ALIGN Position of rule
LEFT|CENTER|RIGHT
WIDTH Horizontal width
pixels|percent
SIZE Thickness of rule
pixels
NOSHADE Draws a flat line

Examples

<HR>

<HR WIDTH="50">

<HR WIDTH="50%">

§

<HTML>, </HTML>
These tags tell the browser that the document contains HTML. They should be the first and last tags in your HTML documents.

§

<I>, </I>
Display some words in an italic font. If the browser can't, it might do nothing or substitute something else.
Also see <EM>

§

<IMG SRC="URL">
Display an image file. Images can be GIF's (.gif) or JPEG's (.jpg, .jpe, .jpeg). SRC is the URL of the image (usually just a file name). ALT is some text to display if your reader's browser can't display the image.

SRC* Location of image
URL
ALIGN Position of image in text
left|right|top|middle|bottom
HEIGHT Height of image
pixels
WIDTH Width of image
pixels
BORDER Boarder around image
pixels
HSPACE Horizontal space around image
pixels
VSPACE Vertical space around image
pixels
ALT For text-only browsers
string

*Required

§

<INPUT>, </INPUT>

INPUT
    TYPE="checkbox" NAME= [VALUE={on}] [CHECKED]
    
    TYPE="hidden" NAME= VALUE=
    
    TYPE="image" NAME= SRC= [ALIGN= ]
    
    TYPE="password" NAME=
    
    TYPE="radio" NAME= VALUE= [CHECKED]
    
    TYPE="reset" [VALUE= ]
    
    TYPE="submit" [NAME= ] [VALUE= ]
    
    [TYPE="text"] [SIZE={20}] [MAXLENGTH={unlimited}] (default)

§

[A - C] [D - I] [J - R] [S - Z]

July 1, 1997


Copyright © P.J. LaBrocca. All rights reserved.