• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

HTML Tags

HTML Tags

TAG/ATTRIBUTEDESCRIPTIONVERS.
--MOST TAGS--The following attributes may be used with most HTML tags 
CLASSFor identifying a set of tags in order to apply styles (p. 249)4
EVENTFor triggering a script (p. 294)4
IDFor identifying particular tags for JavaScript functions and styles (p. 250)4
STYLEFor adding local style sheet information (p. 248)4
TITLEFor labeling elements with tooltips (p. 320)4
!--For inserting invisible comments (p.56)4
!DOCTYPETheoretically required. For indicating version of HTML used (p.35)4
AFor creating links and anchors (p.118)4
ACCESSKEYFor adding a keyboard shortcut to a link (p.126)4
EVENTFor triggering a script (p.294)4
HREFFor specifying URL of page or name of anchor that link goes to4
NAMEFor marking a specific area of page that a link might jump to (p.120)4
TABORDERFor defining the order in which the Tab key takes the visitor through links and form elements (p.127)4
TARGETFor specifying a particular window or frame for a link (pp. 122, 123)4
ADDRESSFor formatting the e-mail address of the Web page designer (p. 46)4
APPLETFor inserting applets (p. 237)4D
CODEFor specifying the URL of the applet's code4D
WIDTH, HEIGHTFor specifying width and height of an applet4D
AREAFor specifying coordinates of image maps (p. 130)4
ACCESSKEYFor adding a keyboard shortcut to a particular region of the map4
COORDSFor giving coordinates of area in image map4
HREFFor specifying destination URL of link in area in image map4
NOHREFFor making a click in image map have no effect4
SHAPEFor specifying shape of area in image map4
TARGETFor specifying window or frame that link should be displayed in4
BFor displaying text in boldface (p. 46)4
BASE 4
HREFFor specifying the URL to be used to generate relative URLs (p. 123)4
TARGETFor specifying the default target for the links on the page (p. 123)4
BASEFONTFor specifying default font specifications throughout page (p. 47)4D
COLORFor specifying the default color for text4D
FACEFor specifying the default font for text4D
SIZEFor specifying the default size for text4D
BGSOUNDFor inserting background sound for page (p. 225)IE
LOOPFor specifying how many times sound should playIE
SRCFor specifying URL of soundIE
BIGFor making text bigger than surrounding text (p. 49)4
BLINKFor making text disappear and reappear (p. 55)N
BLOCKQUOTEFor setting off block of text on page (p. 110)4
BODYFor enclosing main section of page (p. 36)4
ALINK, LINK, VLINKFor specifying color of active links, new links, and visited links (p. 133)4D
BACKGROUNDFor specifying a background image (p. 99)4D
BGCOLORFor specifying the background color (p. 98)4D
LEFTMARGIN, TOPMARGINFor specifying left and top margins (p. 101)IE
TEXTFor specifying color of text (p. 50)4D
BRFor creating a line break (p. 102)4
CLEARFor stopping text wrap (pp. 90, 150)4D
BUTTONFor creating buttons (pp. 207, 209, 296)4
ACCESSKEYFor adding a keyboard shortcut to a button4
EVENTFor associating the button with a script4
NAMEFor identifying buttons (perhaps for a JavaScript function)4
VALUEFor specifying what kind of button to create4
CAPTIONFor creating a caption for a table (p. 145)4
ALIGNFor placing caption above or below table4D
CENTERFor centering text, images, or other elements (p. 100)4D
CITEFor marking text as a citation (p. 46)4
CODEFor marking text as computer code (p. 54)4
COLFor joining columns in a table into a non-structural group (p. 160)4
ALIGNFor specifying alignment of columns in column group4
SPANFor specifying number of columns in column group4
COLGROUPFor joining columns in a table into a structural column group (p. 160)4
ALIGNFor specifying alignment of columns in column group4
SPANFor specifying number of columns in column group4
DDFor marking a definition in a list (p. 140)4
DELTo mark deleted text by striking it out (p. 53)4
DIVFor dividing a page into logical sections (p. 253)4
ALIGNFor aligning a given section to left, right, or center4D
CLASSFor giving a name to each class of divisions4
IDFor giving a unique name to a particular division4
DLFor creating a definition list (p. 140)4
DTFor marking a term to be defined in a list (p. 140)4
EMFor emphasizing text, usually with italics (p. 46)4
EMBEDFor adding multimedia (and others) to pages (pp. 222, 234)N+IE
ALIGNFor aligning controlsN+IE
AUTOSTARTFor making multimedia event begin automaticallyN+IE
CONTROLSFor displaying play, pause, rewind buttonsN+IE
LOOPFor determining if multimedia event should play more than onceN+IE
SRCFor specifying URL of multimedia fileN+IE
WIDTH, HEIGHTFor specifying size of controlsN+IE
FIELDSETFor grouping a set of form elements together (p. 211)4
FONTFor changing the size, face, and color of individual letters or words4D
COLORFor changing text color (p. 51)4D
FACEFor changing text font (p. 45)4D
SIZEFor changing text size (p. 48)4D
FORMFor creating fill-in forms (p. 193)4
ACTIONFor giving URL of CGI script for form4
METHODFor determining how form should be processed4
FRAMEFor creating frames (p. 168)4
BORDERFor determining thickness of frame borders (p. 178)N+IE
BORDERCOLORFor determining color of frame borders (p. 177)N+IE
FRAMEBORDERFor displaying or hiding frame borders (p. 179)4
FRAMESPACINGFor adding space between frames (p. 178)IE
NAMEFor naming frame so it can be used as target (p. 168)4
NORESIZEFor keeping users from resizing a frame (p. 180)4
MARGINWIDTH, MARGINHEIGHTFor specifying a frame's left and right, and top and bottom margins (p. 175)4
SCROLLINGFor displaying or hiding a frame's scrollbars (p. 176)4
SRCFor specifying initial URL to be displayed in frame (p. 168)4
TARGETFor specifying which frame a link should be opened in (pp. 181, 182)4
FRAMESETFor defining a frameset (p. 168)4
BORDERFor determining thickness of frame borders (p. 178)N+IE
BORDERCOLORFor determining color of frame borders (p. 177)N+IE
COLSFor determining number and size of frames (pp. 170, 171)4
FRAMEBORDERFor displaying or hiding frame borders (p. 179)4
FRAMESPACINGFor adding space between frames (p. 178)IE
ROWSFor determining number and size of frames (pp. 170, 171)4
HnFor creating headers (p. 38)4
ALIGNFor aligning headers4D
HEADFor creating head section of page (p. 36)4
HRFor creating horizontal rules (p. 95)4
ALIGNFor aligning horizontal rules4D
NOSHADEFor displaying horizontal rules without shading4D
SIZEFor specifying height of horizontal rule4D
WIDTHFor specifying width of horizontal rule4D
HTMLFor identifying a text document as an HTML document (p. 35)4
IFor displaying text in italics (p. 46)4
IFRAMEFor creating floating frames (p. 174)4
ALIGNFor aligning floating frames4D
FRAMEBORDERFor displaying or hiding frame borders (p. 179)4
NAMEFor specifying the name of the floating frame, to be used as a target4
WIDTH, HEIGHTFor specifying size of floating frame4
SCROLLINGFor displaying or hiding scrollbars (p. 176)4
SRCFor specifying the URL of the initial page4
IMGFor inserting images on a page (p. 82)4
ALIGNFor aligning images (p. 93) and for wrapping text around images (pp. 88, 89)4D
ALTFor offering alternate text that is displayed if image is not (p. 83)4
BORDERFor specifying the thickness of the border, if any (pp. 82, 128)4D
CONTROLSFor displaying or hiding video controls (p. 235)IE
DYNSRCFor specifying URL of video file (p. 235)IE
HSPACE, VSPACEFor specifying amount of space above and below, and to the sides of animage (p. 91)4D
LOOPFor specifying number of repeats of video file (p. 235)IE
LOWSRCFor specifying URL of low resolution version of image (p. 87)N+IE
SRCFor specifying URL of image (p. 82)4
STARTFor determining when video should begin (p. 235)IE
USEMAPFor specifying the image map that should be used with the referenced image (p. 130)4
WIDTH, HEIGHTFor specifying size of image so that page is loaded more quickly, or for scaling (pp. 84, 92)4
INPUTFor creating form elements (pp. 196, 197, 199, 200, 203, 205, 206, 208)4
ACCESSKEYFor adding a keyboard shortcut to a form element (p. 214)4
CHECKEDFor marking a radio button or check box by default (pp. 199, 200)4
DISABLEDFor disabling form elements (p. 215)4
EVENTFor triggering a script with an event like ONFOCUS, ONBLUR, etc.4
MAXLENGTHFor determining maximum amount of characters that can be entered in form element (pp. 196, 197)4
NAMEFor identifying data collected by this element4
SIZEFor specifying width of text or password box (pp. 196, 197)4
SRCFor specifying URL of active image (p. 210)4
READONLYFor keeping visitors from changing certain form elements (p. 216)4
TABORDERFor specifying the order in which the Tab key should take a visitor through the links and form elements (p. 213)4
TYPEFor determining type of form element4
VALUEFor specifying initial value of form element4
INSFor marking inserted text with an underline (p. 53)4
KBDFor marking keyboard text (p. 54)4
LABELFor labeling form elements (p. 212)4
FORFor specifying which form element the label belongs to4
LAYERFor positioning elements (p. 114)N
LEGENDFor labeling fieldsets (p. 211)4
LIFor creating a list item (p. 136)4
TYPEFor determining which symbols should begin the list item4D
VALUEFor determining the initial value of the first list item4D
LINKFor using an external style sheet (p. 247)4
MAPFor creating a client-side image map (p. 130)4
NAMEFor naming map so it can be referenced later4
MARQUEEFor creating moving text (p. 236)IE
BEHAVIORFor controlling how the text should move (scroll, slide, alternate)IE
DIRECTIONFor controlling if the text moves from left to right or right to leftIE
LOOPFor specifying how many times the text should come across the screenIE
SCORLLAMOUNTFor specifying amount of space between each marquee repetitionIE
SCROLLDELAYFor specifying amount of time between each marquee repetitionIE
META 4
HTTP-EQUIVFor creating automatic jumps to other pages (p. 321) and setting the default scripting language (p. 299)4
NAMEFor adding extra information to the Web page (pp. 340, 341, 342, 343)4
NOBRFor keeping all the enclosed elements on one line (p. 103)N+IE
NOFRAMESFor providing alternatives to frames (p. 185)4
NOSCRIPTFor providing alternatives to scripts (p. 298)4
OBJECTThe W3C would like this tag to eventually replace the IMG and APPLET tags. It is not currently supported very well.4
OLFor creating ordered lists (p. 136)4
TYPEFor specifying the symbols that should begin each list item4D
STARTFor specifying the initial value of the first list item4D
OPTGROUPFor dividing a menu into submenus (p. 202)4
OPTIONFor creating the individual options in a form menu (p. 201)4
SELECTEDFor making a menu option be selected by default in a blank form4
VALUEFor specifying the initial value of a menu option4
PFor creating new paragraphs (p. 39)4
ALIGNFor aligning paragraphs4D
PREFor displaying text exactly as it appears in HTML document (p. 113)4
QFor quoting short passages of text (p. 111)4
S(Same as STRIKE) For displaying text with a line through it (p. 53)4D
SAMPFor displaying sample textin a monospaced font (p. 54)4
SCRIPTFor adding "automatic" scripts to a page (p. 292)4
CHARSETFor specifying the character set an external script is written in (p. 293)4
LANGUAGEFor specifying the scripting language the script is written in4D
SRCFor referencing an external script (p. 293)4
TYPEFor specifying the scripting language the script is written in4
SELECTFor creating menus in forms (p. 201)4
NAMEFor identifying the data collected by the menu4
MULTIPLEFor allowing users to choose more than one option in the menu4
SIZEFor specifying the number of items initially visible in the menu4
SMALLFor decreasing the size of text (p. 49)4
SPANFor creating custom character styles (p. 255)4
CLASSFor naming individual custom character styles4
IDFor identifying particular HTML elements4
STRIKE(Same as S) For displaying text with a line through it (p. 53)4D
STRONGFor emphasizing text logically, usually in boldface (p. 46)4
STYLEFor adding style sheet information to a page (p. 244)4
SUBFor creating subscripts (p. 52)4
SUPFor creating superscripts (p. 52)4
TABLEFor creating tables (p. 145)4
BGCOLORFor specifying the background color of the table (p. 158)4D
BORDERFor specifying the thickness, if any, of the border (p. 146)4
BORDERCOLORFor specifying a solid color for the border (p. 146)IE
BORDERCOLORDARKFor specifying the darker (shaded) color of the border (p. 146)IE
BORDERCOLOR LIGHTFor specifying the lighter (highlighted) color of the border (p. 146)IE
CELLPADDINGFor specifying the amount of space between a cell's contents and its borders (p. 155)4
CELLSPACINGFor specifying the amount of space between cells (p. 155)4
FRAMEFor displaying external borders (p. 163)4
HEIGHTFor specifying the height of the table (p. 148)N+IE
RULESFor displaying internal borders (p. 164)4
WIDTHFor specifying the size of the table (p. 148)4
TBODYFor identifying the body of the table (p. 162)4
TD; THFor creating regular and header cells, respectively, in a table (p. 145)4
ALIGN, VALIGNFor aligning a cell's contents horizontally or vertically (p. 154)4
BGCOLORFor changing the background color of a cell (p. 158)4D
COLSPANFor spanning a cell across more than one column (p. 152)4
NOWRAPFor keeping a cell's contents on one line (p. 165)4D
ROWSPANFor spanning a cell across more than one row (p. 153)4
WIDTH, HEIGHTFor specifying the size of the cell (p. 148)4D
TEXTAREAFor creating text block entry areas in a form (p. 198)4
ACCESSKEYFor adding a keyboard shortcut to a text area4
NAMEFor identifying the data that is gathered with the text block4
ROWS, COLSFor specifying the number of rows and columns in the text block4
TFOOT, THEADFor identifying the footer and header area of a table (p. 162)4
ALIGNFor aligning the footer or header cells (p. 154)4
TITLERequired. For creating the title of the page in title bar area (p. 37)4
TRFor creating rows in a table (p. 145)4
ALIGN, VALIGNFor aligning contents of row horizontally or vertically (p. 154)4D
BGCOLORFor changing color of entire row (p. 158)4D
TTFor displaying text in monospaced font (p. 54)4
UFor displaying text with line underneath it (p. 53)4D
ULFor creating unordered lists (p. 138)4
TYPEFor specifying the type of symbols that should precede each list item4D
WBRFor creating discretional line breaks in text enclosed in NOBR tags (p. 104)N+IE
Page numbers are omitted for those attributes discussed on the same page as the tag to which they belong.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint