Glubase - share your knowledge


All / Computers / Programming / HTML / XHTML





  • View Reference

HTML / XHTML Reference

Sort alphabetically

0. Form Elements
1. Frame Elements
2. Head Elements
3. Image and Media Elements
4. List Elements
5. Structural Elements
6. Table Elements
7. Text formatting elements

Form Elements

buttonPush button.
fieldsetFieldset.
formCreates a form.
inputInput field.
isindexInput prompt (deprecated)
labelLabel for a form control.
legendLegend.
optgroupDefines an option group.
optionDefines an option in a drop-down list.
selectCreates a drop-down list.
textareaDefines a multiline text input control.

Frame Elements

frameFrame.
framesetFrameset.
iframeInline frame.
noframesThe noframes element displays text for browsers that do not have frame support.

Head Elements

baseDefines a base URL for all links on the webpage.
linkDefines a link between two documents.
metaDefines meta-information about the webpage.
scriptDefines a script.
styleStyle defines a style in a document.
titleThe document title.

Image and Media Elements

appletDefines an applet.
areaImage map region.
imgImage.
mapThe map element is used to define a client-side image map.
objecthe object element is used to insert different objects such as images or audio.
paramThe param element allows you to specify the run-time settings or parameters for an object in a XHTML document.

List Elements

ddDefinition description.
dirDirectory list (deprecated).
dlDefinition list
dtDefinition term.
liList item.
menuDefines a menu list.
olDefines an ordered list.
ulDefines an unordered list without numbering.

Structural Elements

aLink to another document or a place in current webpage.
bodyCreates the body of a HTML document.
centerCenters text (Deprecated).
divSection in a document.
h1Header 1
headDocument header. Information about the webpage.
hrHorisontal line.
htmlHTML document.
noscriptThe noscript element displays a text if a script is not executed.
pDefines a paragraph.

Table Elements

captionTable caption.
colAttributes for table columns.
colgroupDefines groups of table columns.
tableDefines a table.
tbodyDefines a table body.
tdThe td tag is used to define one specific data cell in a table.
tfootDefines a table's footer.
thDefines a table header cell.
theadDefines a table body.
trDefines a row in a table.

Text formatting elements

abbrAbbreviation.
acronymAcronym.
addressDefines an adress element.
bBold text element.
basefontBase font.
bdoDirection of text display.
bigMakes text bigger.
blockquoteLong quotation.
brLine break.
citeCitation.
codeComputer code text.
delDeleted text.
dfnDefinition term.
emEmphasized text.
fontFont change.
iItalic text.
insInserted text.
kbdKeyboard text.
preDefines preformatted text.
qDefines a quotation.
sDefines strikethrough text.
sampDefines sample computer code text.
smallSets the font-size to small inside the small element.
spanSection in the document.
strikeDefines a strikethrough text.
strongIndicates an stronger emphasis form.
subDefines subscript text.
supDefines superscript text.
ttDefines a teletype or mono spaced text.
uDefines underlined text.
varDefines a variable.
xmpDeprecated. Defines example text

Description

Here is a list of HTML 4 elements (note that deprecated items are dimmed):

 

Command Explanation
<!-- ... --> Used for commenting the HTML code.
<!doctype> Document type
<a>
A link to another webpage.
<abbr> Abbreviation
<acronym> Acronym
<address> Defines an adress element 
<applet> Defines an applet
<area>
Image map region
<b> Bold text element
<base> Defines a base URL for all links on the webpage
<basefont> Base font
<bdo> Direction of text display
<big> Big text
<blockquote> Long quotation
<body> Creates the body of a HTML document.
<br> Line break
<button> Push button
<caption> Table caption
<center> Centers text (Deprecated)
<cite> Citation
<code> Computer code text
<col> Attributes for table columns
<colgroup> Defines groups of table columns
<dd> Definition description 
<del> Deleted text
<dfn> Definition term
<dir> Directory list
<div> Section in a document
<dl> Definition list
<dt> Definition term 
<em> Emphasized text
<fieldset> Fieldset
<font> Font change
<form> Creates a form
<frame> Frame (Part of the document)
<frameset> Frameset
<h1> to <h6> Header
<head> Document header. Information about the webpage.
<hr> Horisontal line
<html> HTML document 
<i> Italic text
<iframe> Inline frame
<img> Image
<input> Input field 
<ins> Inserted text
<isindex> Input prompt
<kbd> Keyboard text
<label> Label for a form control
<legend> Legend
<li> List item
<link>  
<map> Map item
<menu> Menu list
<meta> Meta content that are supposed to be read by machines.
<noframes> Noframe section
<noscript> Noscript section
<object> Object
<ol> Ordered list
<optgroup> Option group
<option> Defines a option in a dropdown list 
<p> Paragraph – creates a paragraph
<param> Parameter
<pre> Preformatted text
<q> Quotation
<s> Strikethrough text
<samp> Sample computer text 
<script> Script
<select> Creates a menu or scrolling list
<small> Small text
<span> Section in the document