[<<<] [>>>] [HTML Basics]

HTML Reference

TagDescription
!Comments. Any text between tags will not display in the browser.
!DOCTYPEDescribes the HTML version used in the current document.
AStands for anchor. HREF= attribute creates hyperlinks. NAME= attribute creates a named reference.
ADDRESSSpecifies a mailing address.
APPLETEmbeds a Java applet. See OBJECT.
AREASpecifies the shape of a "hot spot" in a client-side image map.
BChanges text to bold. See STRONG.
BASESpecifies a document's URL.
BASEFONTSets the base font value.
BGSOUNDAdds background sounds that play on initial load.
BIGEnlarges the font size.
BLOCKQUOTESets apart a quotation in text.
BODYSpecifies the beginning and the end of the document body. See HEAD.
BRInserts a line break.
CAPTIONSpecifies a caption for a table. Valid only within the TABLE element.
CENTERCenters text and images.
CITEIndicates a citation. Used to present a book, paper, or other published source material.
CODEPresents a code sample.
COLSets the properties of a column.
COLGROUPSets the properties of one or more columns as a group.
COMMENTIndicates a comment. Text in a comment element does not display in a browser.
DDSpecifies definition data. Used to format the text for a definition. See DL, DT.
DFNSpecifies a definition. Formats a defined term.
DIRDenotes a directory list.
DIVSets a document division. Groups related elements together within a document.
DLDenotes a definition list. Used for a list of defined terms. See DT, DD.
DTSpecifies a definition term. Used to format the defined term. See DL, DD.
EMEmphasizes text, usually by rendering text in italics.
EMBEDIndicates an embedded object. See OBJECT.
FONTFormats the font style, size, and color.
FORMDenotes a form with which users enter data. See INPUT for a list of form elements.
FRAMEDefines independent windows, or frames, within a page. See FRAMESET.
FRAMESETDefines layout for frames within a page. See FRAME.
HnRenders text in heading style, usually with a larger font than the body text. The n is a value from 1 to 6.
HEADMarks the HTML document heading.
HRDraws a horizontal rule. Used to separate sections.
HTMLDenotes the file is an HTML document.
IRenders text in italics.
IMGInserts a graphic file.
INPUTSpecifies a form control such as a check box or radio button. See FORM.
ISINDEXIndicates the presence of an index.
KBDIndicates text to be entered at a keyboard. Appears in fixed-width and bold type.
LIDenotes an item in a list. Adds special character or number depending on use. See UL
LINKEstablishes the relationship between documents. Appears only in the HEAD element.
LISTINGRenders text in fixed-width type.
MAPSpecifies a collection of hot spots for a client-side image map.
MARQUEEDisplays text in a scrolling marquee.
MENUDenotes a list of items.
METAProvides information about the document. Used for client pull, also by some search engines for indexing.
NOBRTurns off line breaking.
NOFRAMESIndicates content viewable only by browsers that do not support frames.
OBJECTInserts an OLE Control.
OLSpecifies an ordered list. Each item has a number or letter reference. See UL, LI.
OPTIONDenotes one choice in a list box.
PInserts a paragraph break and denotes a new paragraph.
PARAMSets object properties.
PLAINTEXTRenders text in fixed-width type without processing elements.
PREDisplays text exactly as typed-with all line breaks and spacing.
SRenders text in strikethrough type.
SAMPSpecifies sample text. See CODE.
SCRIPTSpecifies the inclusion of a script.
SELECTDenotes a list box or dropdown list.
SMALLDecreases the font size.
SPANApplies style information to the enclosed text.
STRIKERenders text in strikethrough type. See S.
STRONGEmphasizes text, usually with bold. See B.
SUBRenders text in subscript.
SUPRenders text in superscript.
TABLECreates a table. See TH, TR, and TD to learn how to define rows and columns.
TBODYDefines the table body.
TDCreates a cell in a table.
TFOOTDefines the table footer.
THCreates a row or column heading in a table.
THEADDefines the table header.
TEXTAREACreates a box in which a user can enter and edit text.
TITLESpecifies a document title. Appears in the browser title bar.
TRCreates a row in a table.
TTDenotes teletype. Displays text in fixed-width type.
URenders text underlined.
ULFormats lines of text as a bulleted list. See LI.
VARIndicates placeholder text for a variable. Displays text in a small, fixed-width font.
WBRInserts a soft line break in a block of NOBR text.
XMPIndicates example text. Displays text in fixed-width font.