Start Studying!
Add Cards ↓
Deck Info
Description
Tags
Other Decks By This User
- Start/end tags of the HTML document
- <HTML></HTML>
- Identifies the document head
- <HEAD></HEAD>
- Meta-info about document (lives in head)
- <META>
- Binds elemet to HTTP response header
- <META HTTP-EQUIV="name">
- Refresh content every n seconds
- <META HTTP-EQUIV="Refresh" CONTENT="n">
- Refresh content in n seconds by jumping to URL
- <META HTTP-EQUIV="Refresh" CONTENT="n; URL">
- Denotes title of HTML page
- <TITLE></TITLE>
- Specifies body of document
- <BODY></BODY>
- Background texture/image
- <BODY BACKGROUND="URL"></BODY>
- Background color
- <BODY BGCOLOR=="#RRGGBB" or <"colorname"> </BODY>
- Text color
- <BODY TEXT="#RRGGBB"> or <"colorname"></BODY>
- Link color
- <BODY LINK="#RRGGBB"> or <"colorname"></BODY>
- Visited link color
- <BODY VLINK="#RRGGBB"> or <"colorname"></BODY>
- Active link color
- <BODY ALINK="#RRGGBB"> or <"colorname"></BODY>
- Heading
- (n=1-6, with 1 as the largest heading)
<Hn></Hn><H1></H1>
- Align heading 3.0
- <Hn ALIGN=LEFT|CENTER|RIGHT|NOWRAP|CLEAR></Hn>
- Text in monospace computer code
- <CODE></CODE>
- Preformatted text
- <PRE></PRE>
- Font Size
- (n ranges from 1-7; default is 3) <FONT SIZE=n></FONT>
- Font color
- <FONT COLOR="#RRGGBB"> or <"colorname"></FONT>
- Specify font (usually common system fonts)
- <FONT FACE="fontname"></FONT>
- Specify Base font (values are 1-6)
- <BASEFRONT SIZE="value">
- Strikethrough text
- <STRIKE></STRIKE>
- Subscript text
- <SUB></SUB>
- Superscript text
- <SUP></SUP>
- Block indent
- <BLOCKQUOTE></BLOCKQUOTE>
- Clearing line break
- <BR CLEAR=LEFT|RIGHT|ALL>
- Division of a document
- <DIV></DIV>
- Aligns horizontal rule
- <HR ALIGN=LEFT|CENTER|RIGHT>
- Thickness of horizontal rule
- (n=number of pixels)
<HR SIZE=n>
- Width of horizontal rule
- (n=number of pixels)
<HR WIDTH=n>
- Width of horizontal rule dfined by percentage of page
- (n=number of pixels)
<HR WIDTH=%>
- Solid black horizontal rule
- <HR NOSHADE>
- Prevents line break
- <NOBR>
- Align paragraph
- <P ALIGN=LEFT|CENTER|RIGHT>
- Preformatted (displayed with browser default font, usually Courier)
- <PRE></PRE>
- Display image
- <IMG SRC="URL">
- Align image relative to text baseline
- <IMG SRC="URL' ALIGN=TOP|BOTTOM|MIDDLE>
- Align image relative to page
- <IMG SRC="URL" ALIGN=LEFT|RIGHT>
- Alternative text displayed when images are turned off; text displayed as tool tips in browsers
- <IMG SRC="URL" ALT="alttext">
- Image is an imagemap
- <IMG SRC="URL" ISMAP>
- Definition list
- <DL></DL>
- Image dimensions (in pixels)
- <IMG SRC="URL" WIDTH="n" HEIGHT="n">
- Image border (in pixels)
- <IMG SRC="URL" BORDER=n>
- Specifies horizontal or vertical spacing (in pixels)
- <IMG SRC="URL" HSPACE=n VSPACE=n>
- Specifies low-res version of images.
- <IMG SRC="URL" LOWSRC="URL">
- Start numbering at specific number list
- <OL START="n"></OL>
- Format of list items (caps, small, numerical, roman, or default)
- <OL TYPE=A|a|I|i|1>
- Compact version of unordered list
- <UL COMPACT></UL>
- Specifies bullet style
- <UL TYPE=DISC|CIRCLE|SQUARE>
- Contols format of list item
- <LI TYPE=A|a|I|i|1>
- List item
- (bullet when used with <UL>, NUMBERED LIST WITH <OL>)
<LI>
- Define Form
- <FORM ACTION="URL" METHOD=GET|POST></FORM>
- Input feild for HTML form
- <INPUT TYPE="TEXT|PASSWORD|CHECKBOX|RADIO|SUBMIT|RESET">
- Field name
- <INPUT NAME ="feildname">
- Checked checkboxes or radio boxes
- <INPUT CHECKED>
- Feild size (in characters)
- <INPUT SIZE=n>
- Max length in charachters
- <INPUT MAXLENGTH=n>
- Selection list
- <SELECT></SELECT>
- Name of list
- <SELECT NAME="listname"></SELECT>
- n=number of options
- <SELECT SIZE=n></SELECT>
- Option (items that can be selected)
- <OPTION>
- Input box size
- <TEXTAREA ROWS=n COLS=n></TEXTAREA>
- Name of box
- <TEXTAREA NAME="boxname"></TEXTAREA>
- Defines table
- <TABLE></TABLE>
- Table border (on or off)
- <TABLE BORDER></TABLE>
- Table border (width of table border)
- <TABLE BORDER=n></TABLE>
- Cell spacing
- <TABLE CELLSPACING=n>
- Cell padding
- <TABLE CELLPADDING=n>
- Desired width (in pixels)
- <TD WIDTH=n>
- Width percent (percentage of page)
- <TABLE WIDTH=%>
- Specifies table
- <CAPTION ALIGN=TOP|BOTTOM></CAPTION>
- Alignment of row
- <TR ALIGN=LEFT|RIGHT|CENTER VALIGN=TOP|MIDDLE|BOTTOM>
- Alignment of header
- <TH ALIGN=LEFT|RIGHT|CENTER VALIGN=TOP|MIDDLE|BOTTOM>
- No line breaks
- <TD NOWRAP>
- Columns to span
- <TD COLSPAN=n>
- Rows to span
- <TD ROWSPAN=n>
- Width percent (percentage of table)
- <TD WIDTH=%>
- Table cell (must appear within table rows)
- <TD></TD>
- Alignment of cell
- <TD ALIGN=LEFT|RIGHT|CENTE VALIGN=TOP|MIDDLE|BOTTOM>
- Hosts the frame elements
- <FRAMESET></FRAMESET>
- Column Width
- <FRAMESET COL=n>
- Row height
- <FRAMESET ROWS=n>
- Frame Spacing-adds additional spaces between frames
- <FRAMESET SPACING=1|0>
- Single Frame
- <FRAME SRC="URL">
- Floating frame
- <IFRAME SRC>="URL">
- Frame alignment
- <ALIGN=LEFT|CENTER|RIGHT>
- Frame border
- (1 is default, 0 is no border)
<FRAME BORDER=1|0>
- Prevents resizing of frame
- NORESIZE
- Scrolling frame
- SCROLLING=yes|no
- Frame height (in pixels)
- MARGINHEIGHT="n"
- Frame width (in pixels)
- MARGINWIDTH="n"
- Link will load in full body of window
- TARGET="_top"
- Link will load in frame where link was clicked
- TARGET="_self"
- Link will load in the immediate FRAMESET parent
- TARGET="_parent"
- Link will load in the frame specified by frame name
- TARGET="_framename"
- Link will load in the frame specified by frame name
- TARGET="_framename"