HTML Element Reference
Form Elements
Formating Elements
Frame Elements
Head Elements
Image and Media Elements
List Elements
Structure Elements
Table Elements
|
The HTML Elements reference.
"input" - html element
- This element defines a form control for the user to enter input.
- Starttag <input> is Required and endtag </input> is forbidden
- The type of form control defined by INPUT is given by the TYPE attribute.
- The default TYPE is text, which provides a single-line text input field.
- Browsers that support the input - element :
Element "input" example:
<html>
<body>
<form name="myform" action="http://www.w3processing.com/index.php">
<input id="hiddencontrol" type="hidden" name="childMenuId" value="74" />
Page to search: <input type="text" name="page" value="%Java%" /><br>
Password:<input type="password" name="password" value="" /><br>
Checkbox:<input type="checkbox" name="checkbox1" checked="checked" /><br>
Image button:<input type="image" name="image1" value="get data"
src="images/buttonImage.png" /><br>
Radio 1 button:<input type="radio" name="radio" value="Radio1" /><br>
Radio 2 button:<input type="radio" name="radio"
checked="checked" value="Radio2"/><br>
File button:<input type="file" name="file1" /><br>
Button:<input type="button" name="button1" value="My button"
onclick="document.myform.submit();" /><br>
Submit button:<input type="submit" name="submit1" value="submit" /><br>
Reset button:<input type="reset" name="submit1" value="reset" /><br>
</form>
</body>
</html>
Attributes:
accept , accesskey , align (deprecated), alt , checked , class , dir , disabled , id , ismap , lang , maxlength , name , readonly , size , src , style , tabindex , title , type , usemap , value
Attribute "accept" value(s): content-type-list
Attribute "accesskey" value(s): a character as the accesskey
Attribute "align" value(s): depend on which element
Attribute "alt" value(s): text
Attribute "checked" value(s): checked
Attribute "class" value(s): A list of style class names that must be separated by white space characters.
Attribute "dir" value(s): ltr or rtl
Attribute "disabled" value(s): disabled
Attribute "id" value(s): unique name
Attribute "ismap" value(s): ismap
Attribute "lang" value(s): language-code
Attribute "maxlength" value(s): number
Attribute "name" value(s): sequence of characters
Attribute "readonly" value(s): readonly readonly
Attribute "size" value(s): sequence of characters
Attribute "src" value(s): uri
Attribute "style" value(s): style
Attribute "tabindex" value(s): number
Attribute "title" value(s): text
Attribute "type" value(s): Look at each element for details. text, password, checkbox, radio, submit, reset, file, hidden, image or button
Attribute "usemap" value(s): uri
Attribute "value" value(s): Look at each element for details. sequence of characters
accept , accesskey , align (deprecated), alt , checked , class , dir , disabled , id , ismap , lang , maxlength , name , readonly , size , src , style , tabindex , title , type , usemap , value
Attribute "accept" value(s): content-type-list
- Specifies a comma-separated list of content types that a server processing this form will handle correctly.
- Content types are case-insensitive. Examples of content types include "text/html", "image/png", "image/gif", "video/mpeg", "text/css", and "audio/basic".
Attribute "accesskey" value(s): a character as the accesskey
- Assigns an access key to an element. Pressing an access key assigned to an element gives focus to the element. Will move focus to the input and allow user input for a text type input. Depending on the browser a radio button or a checkbox button can be changed in state and for button type input the action can be executed.
- The action that occurs when an element receives focus depends on the element.
Attribute "align" value(s): depend on which element
- Specifies the horizontal alignment of its element with respect to the surrounding context. Specifies the horizontal alignment of its element with respect to the surrounding context.
- You should use styles (CSS) instead.
Attribute value | description |
---|---|
left | Text lines are rendered flush left. |
center | Text lines are centered. |
right | Text lines are rendered flush right. |
justify | Text lines are justified to both margins. |
Attribute "alt" value(s): text
- A short description. For user agents that cannot display images, forms, or applets, this attribute specifies alternate text.
Attribute "checked" value(s): checked
- When the type attribute has the value "radio" or "checkbox", this boolean attribute specifies that the button is on.
Attribute "class" value(s): A list of style class names that must be separated by white space characters.
- This attribute assigns a style class name or set of style class names to an element. Any number of elements may be assigned the same class name or names.
- You will find more about this in the CSS learning on this site.
Attribute "dir" value(s): ltr or rtl
- Specifies the base direction of directionally neutral text in an element's content and attribute values. It also specifies the directionality of tables.
Attribute value | description |
---|---|
ltr | Left-to-right text or table. |
rtl | Right-to-left text or table. |
Attribute "disabled" value(s): disabled
- When set for a form control, this boolean attribute disables the control for user input.
- Disabled controls do not receive focus. Disabled controls are skipped in tabbing navigation.
Attribute "disabled" example:
<html>
<body>
<form name="myform" action="http://www.google.com/search">
<input type="hidden" name="q" value="w3processing" />
Make button enabled:
<input type="checkbox"
onclick="document.myform.mybutton.disabled=null;
this.disabled='disabled'" />
<button id="mybutton" title="Show on goggle"
disabled="true" type="submit" value="Search">
Search google</button>
</form>
</body>
</html>
Attribute "id" value(s): unique name
- This attribute assigns an identification name to an element. This name must be unique in a document
- Id is often used when one wants to search for an item using javascript or vbscript.
Attribute "ismap" value(s): ismap
- Server-side image maps may be interesting in cases where the image map is too complicated for a client-side image map.
- It is only possible to define a server-side image map for the IMG and INPUT elements. In the case of IMG, the IMG must be inside an A element and the boolean attribute ismap ([CI]) must be set. In the case of INPUT, the INPUT must be of type "image". With this attribute you can submit the coordinates of a user click on an img to a server.
Attribute "ismap" example:
<html>
<body>
<form name="myform" action="#" target='_top' >
<input type="image" name="Trophy"
src="images/Trophy.png"/>
</form>
<a href="#" target='_top' >
<img src="images/Trophy.png" border="0"
alt="The sun image" ismap="ismap" target='_blank' />
</a>
</body>
</html>
Attribute "lang" value(s): language-code
- Specifies the base language of an element's attribute values and text content.
Lang code | Name of Language |
---|---|
aa | Afar |
ab | Abkhazian |
af | Afrikaans |
ak | Akan |
sq | Albanian |
am | Amharic |
ar | Arabic |
an | Aragonese |
hy | Armenian |
as | Assamese |
av | Avaric |
ae | Avestan |
ay | Aymara |
az | Azerbaijani |
ba | Bashkir |
bm | Bambara |
be | Belarusian |
bn | Bengali |
bh | Bihari languages |
bi | Bislama |
bo | Tibetan |
bs | Bosnian |
br | Breton |
bg | Bulgarian |
my | Burmese |
ca | Catalan; Valencian |
cs | Czech |
ch | Chamorro |
ce | Chechen |
zh | Chinese |
cu | Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic |
cv | Chuvash |
kw | Cornish |
co | Corsican |
cr | Cree |
cy | Welsh |
cs | Czech |
da | Danish |
de | German |
dv | Divehi; Dhivehi; Maldivian |
nl | Dutch; Flemish |
dz | Dzongkha |
el | Greek, Modern (1453-) |
en | English |
eo | Esperanto |
et | Estonian |
eu | Basque |
ee | Ewe |
fo | Faroese |
fa | Persian |
fj | Fijian |
fi | Finnish |
fr | French |
fr | French |
fy | Western Frisian |
ff | Fulah |
ka | Georgian |
de | German |
gd | Gaelic; Scottish Gaelic |
ga | Irish |
gl | Galician |
gv | Manx |
el | Greek, Modern (1453-) |
gn | Guarani |
gu | Gujarati |
ht | Haitian; Haitian Creole |
ha | Hausa |
he | Hebrew |
hz | Herero |
hi | Hindi |
ho | Hiri Motu |
hr | Croatian |
hu | Hungarian |
hy | Armenian |
ig | Igbo |
is | Icelandic |
io | Ido |
ii | Sichuan Yi; Nuosu |
iu | Inuktitut |
ie | Interlingue; Occidental |
ia | Interlingua (International Auxiliary Language Association) |
id | Indonesian |
ik | Inupiaq |
is | Icelandic |
it | Italian |
jv | Javanese |
ja | Japanese |
kl | Kalaallisut; Greenlandic |
kn | Kannada |
ks | Kashmiri |
ka | Georgian |
kr | Kanuri |
kk | Kazakh |
km | Central Khmer |
ki | Kikuyu; Gikuyu |
rw | Kinyarwanda |
ky | Kirghiz; Kyrgyz |
kv | Komi |
kg | Kongo |
ko | Korean |
kj | Kuanyama; Kwanyama |
ku | Kurdish |
lo | Lao |
la | Latin |
lv | Latvian |
li | Limburgan; Limburger; Limburgish |
ln | Lingala |
lt | Lithuanian |
lb | Luxembourgish; Letzeburgesch |
lu | Luba-Katanga |
lg | Ganda |
mk | Macedonian |
mh | Marshallese |
ml | Malayalam |
mi | Maori |
mr | Marathi |
ms | Malay |
mk | Macedonian |
mg | Malagasy |
mt | Maltese |
mn | Mongolian |
mi | Maori |
ms | Malay |
my | Burmese |
na | Nauru |
nv | Navajo; Navaho |
nr | Ndebele, South; South Ndebele |
nd | Ndebele, North; North Ndebele |
ng | Ndonga |
ne | Nepali |
nl | Dutch; Flemish |
nn | Norwegian Nynorsk; Nynorsk, Norwegian |
nb | Bokmål, Norwegian; Norwegian Bokmål |
no | Norwegian |
ny | Chichewa; Chewa; Nyanja |
oc | Occitan (post 1500) |
oj | Ojibwa |
or | Oriya |
om | Oromo |
os | Ossetian; Ossetic |
pa | Panjabi; Punjabi |
fa | Persian |
pi | Pali |
pl | Polish |
pt | Portuguese |
ps | Pushto; Pashto |
qu | Quechua |
rm | Romansh |
ro | Romanian; Moldavian; Moldovan |
ro | Romanian; Moldavian; Moldovan |
rn | Rundi |
ru | Russian |
sg | Sango |
sa | Sanskrit |
si | Sinhala; Sinhalese |
sk | Slovak |
sk | Slovak |
sl | Slovenian |
se | Northern Sami |
sm | Samoan |
sn | Shona |
sd | Sindhi |
so | Somali |
st | Sotho, Southern |
es | Spanish; Castilian |
sq | Albanian |
sc | Sardinian |
sr | Serbian |
ss | Swati |
su | Sundanese |
sw | Swahili |
sv | Swedish |
ty | Tahitian |
ta | Tamil |
tt | Tatar |
te | Telugu |
tg | Tajik |
tl | Tagalog |
th | Thai |
bo | Tibetan |
ti | Tigrinya |
to | Tonga (Tonga Islands) |
tn | Tswana |
ts | Tsonga |
tk | Turkmen |
tr | Turkish |
tw | Twi |
ug | Uighur; Uyghur |
uk | Ukrainian |
ur | Urdu |
uz | Uzbek |
ve | Venda |
vi | Vietnamese |
vo | Volapük |
cy | Welsh |
wa | Walloon |
wo | Wolof |
xh | Xhosa |
yi | Yiddish |
yo | Yoruba |
za | Zhuang; Chuang |
zh | Chinese |
zu | Zulu |
Attribute "maxlength" value(s): number
- When the type attribute has the value "text" or "password", this attribute specifies the maximum number of characters the user may enter. This number may exceed the specified size, in which case the user agent should offer a scrolling mechanism.
- The default value for this attribute is an unlimited number.
Attribute "name" value(s): sequence of characters
- A control's "control name" is given by its name attribute. Assigns the control name.
Attribute "readonly" value(s): readonly readonly
- Specifies whether the control can be modified by the user.
- When set for a form control, this boolean attribute prohibits changes to the control.
Attribute "size" value(s): sequence of characters
- Specifies the height of the rule. The default value for this attribute depends on the user agent. Tells the user agent the initial width of the control. The width is given in pixels except when type attribute has the value "text" or "password". In that case, its value refers to the (integer) number of characters.
- You should use styles (CSS) instead.
Attribute "src" value(s): uri
- This attribute specifies resources for an element. When the type attribute has the value "image", this attribute specifies the location of the image to be used to decorate the graphical submit button.
- Look at details for each element.
Attribute "style" value(s): style
- Specifies style sheet (CSS) information for the current element.The syntax of the value of the style attribute is determined by the default style sheet language.
- You will find more about this in the CSS learning on this site.
Attribute "tabindex" value(s): number
- Specifies the position of the current element in the tabbing order for the current document.
- This value must be a number between 0 and 32767
Attribute "title" value(s): text
- This attribute offers advisory information about the element for which it is set.
Attribute "title" example:
<html>
<head>
<title>title attribute</title>
</head>
<body >
<h1 title="Heading 1">This is a Heading 1</h1>
<h2 title="Heading 2">This is a Heading 2</h2>
<h3 title="Heading 3">This is a Heading 3</h3>
<h4 title="Heading 4">This is a Heading 4</h4>
<h5 title="Heading 5">This is a Heading 5</h5>
<h6 title="Heading 6">This is a Heading 6</h6>
</body>
</html>
Attribute "type" value(s): Look at each element for details. text, password, checkbox, radio, submit, reset, file, hidden, image or button
- The attribute has different meanings depending on the element it is associated with.
Attribute value | description |
---|---|
text | Creates a single-line text input control. (It is also the default) |
password | Like "text", but the input text is rendered in such a way as to hide the characters. This control type is often used for sensitive input such as passwords. |
checkbox | Creates a checkbox. Checkboxes are on/off switches that may be toggled by the user. Several checkboxes in a form may share the same control name. Thus, for example, checkboxes allow users to select several values for the same property. |
radio | Creates a radio button. Radio buttons are like checkboxes except that when several share the same control name, they are mutually exclusive: when one is switched "on", all others with the same name are switched "off". |
submit | Creates a submit button. When activated, a submit button submits a form. A form may contain more than one submit button. |
reset | Creates a reset button. When activated, a reset button resets all controls to their initial values. |
file | Creates a file select control. User agents may use the value of the value attribute as the initial file name. |
hidden | Creates a hidden control. You may create controls that are not rendered but whose values are submitted with a form. You generally use this control type to store information between client/server exchanges that would otherwise be lost due to the stateless nature of HTTP. |
image | Creates a graphical submit button. The value of the src attribute specifies the URI of the image that will decorate the button. The value of the src attribute specifies the URI of the image that will decorate the button. |
button | Creates a push button. The value attribute should be the button's label. Push buttons have no default behavior. Each push button may have client-side scripts associated with the element's event attributes. When an event occurs, the associated script is triggered. |
Attribute "type" example:
<html>
<body>
<form action="http://w3processing.com/index.php">
<input type="hidden" name="childMenuId" value="74" />
<button title="Show site news"
onclick="if (document.all)
document.all.tags('form')[0].submit();
else document.form[0].submit();" >
Site news</button>
</form>
</body>
</html>
Attribute "usemap" value(s): uri
- Associates an image map with an element. The image map is defined by a MAP element.
- The value of usemap must match the value of the name attribute of the associated MAP element.
Attribute "value" value(s): Look at each element for details. sequence of characters
- The attribute has different meanings depending on the element it is associated with. Specifies the initial value of the control. It is optional except when the type attribute has the value "radio" or "checkbox".
Events:
onblur , onchange , onclick , ondblclick , onfocus , onkeydown , onkeypress , onkeyup , onmousedown , onmousemove , onmouseout , onmouseover , onmouseup , onselect
Event "onblur" value(s): One or more script statements each ended with a semicolon.
Event "onchange" value(s): One or more script statements each ended with a semicolon.
Event "onclick" value(s): One or more script statements each ended with a semicolon.
Event "ondblclick" value(s): One or more script statements each ended with a semicolon.
Event "onfocus" value(s): One or more script statements each ended with a semicolon.
Event "onkeydown" value(s): One or more script statements each ended with a semicolon.
Event "onkeypress" value(s): One or more script statements each ended with a semicolon.
Event "onkeyup" value(s): One or more script statements each ended with a semicolon.
Event "onmousedown" value(s): One or more script statements each ended with a semicolon.
Event "onmousemove" value(s): One or more script statements each ended with a semicolon.
Event "onmouseout" value(s): One or more script statements each ended with a semicolon.
Event "onmouseover" value(s): One or more script statements each ended with a semicolon.
Event "onmouseup" value(s): One or more script statements each ended with a semicolon.
Event "onselect" value(s): One or more script statements each ended with a semicolon.
onblur , onchange , onclick , ondblclick , onfocus , onkeydown , onkeypress , onkeyup , onmousedown , onmousemove , onmouseout , onmouseover , onmouseup , onselect
Event "onblur" value(s): One or more script statements each ended with a semicolon.
- The onblur event occurs when an element loses focus either by the pointing device or by tabbing navigation. It may be used with the same elements as onfocus.
Attribute "onblur" example:
<html>
<body>
<form name="myform" action="http://www.google.com/search">
<input type="text" name="q" value="w3c"
onfocus="this.value='w3c';"
onblur="alert(this.type+' lost focus')"/>
Focus test:
<input type="checkbox"
onfocus="document.myform.q.value=this.type+' in focus';"
onblur="alert(this.type+' lost focus')"/>
<button id="mybutton" title="Show on goggle"
type="submit" value="Search">
Search google</button>
</form>
</body>
</html>
Event "onchange" value(s): One or more script statements each ended with a semicolon.
- The onchange event occurs when a control loses the input focus and its value has been modified since gaining focus.
Attribute "onchange" example:
<html>
<body>
<form name="myform" action="http://www.google.com/search">
<input type="text" name="q" value="w3c"
onfocus="this.value='w3c';"
onchange="alert(this.type+' lost focus and have been changed')"/>
Focus test:
<input type="checkbox"
onfocus="document.myform.q.value=this.type+' in focus';"
onblur="alert(this.type+' lost focus')"/>
<button id="mybutton" title="Show on goggle"
type="submit" value="Search">
Search google</button>
</form>
</body>
</html>
Event "onclick" value(s): One or more script statements each ended with a semicolon.
- The onclick event occurs when the pointing device button is clicked over an element.
Attribute "onclick" example:
<html>
<head>
<title>onclick Event attribute</title>
</head>
<body bgcolor="Silver" text="Blue"
onclick="alert('you click on th body text')" >
The onclick event occurs when the pointing device
button is clicked over an element.
</body>
</html>
Event "ondblclick" value(s): One or more script statements each ended with a semicolon.
- The ondblclick event occurs when the pointing device button is double clicked over an element.
Attribute "ondblclick" example:
<html>
<head>
<title>ondblclick Event attribute</title>
</head>
<body bgcolor="Silver" text="Blue"
ondblclick="alert('you double-click on th body text')" >
The ondblclick event occurs when the pointing
device button is double clicked over an element.
</body>
</html>
Event "onfocus" value(s): One or more script statements each ended with a semicolon.
- The onfocus event occurs when an element receives focus either by the pointing device or by tabbing navigation.
Attribute "onfocus" example:
<html>
<body>
<form name="myform" action="http://www.google.com/search">
<input type="text" name="q" value="w3c"
onfocus="this.value='w3c';"
onblur="alert(this.type+' lost focus')"/>
Focus test:
<input type="checkbox"
onfocus="document.myform.q.value=this.type+' in focus';"
onblur="alert(this.type+' lost focus')"/>
<button id="mybutton" title="Show on goggle"
type="submit" value="Search">
Search google</button>
</form>
</body>
</html>
Event "onkeydown" value(s): One or more script statements each ended with a semicolon.
- The onkeydown event occurs when a key is pressed down over an element.
Attribute "onkeydown" example:
<html>
<head>
<title>onkeydown Event attribute</title>
</head>
<body bgcolor="Silver" text="Blue"
onkeydown="alert('you have pressed a key down')" >
The onkeydown event occurs when a
key is pressed down over an element.
</body>
</html>
Event "onkeypress" value(s): One or more script statements each ended with a semicolon.
- The onkeypress event occurs when a key is pressed and released over an element.
Attribute "onkeypress" example:
<html>
<head>
<title>onkeypress Event attribute</title>
</head>
<body bgcolor="Silver" text="Blue"
onkeypress="alert('you have pressed and released a key')" >
The onkeypress event occurs when a key is
pressed and released over an element.
</body>
</html>
Event "onkeyup" value(s): One or more script statements each ended with a semicolon.
- The onkeyup event occurs when a key is released over an element.
Attribute "onkeyup" example:
<html>
<head>
<title>onkeyup Event attribute</title>
</head>
<body bgcolor="Silver" text="Blue"
onkeyup="alert('A key is released over an element')" >
The onkeyup event occurs when a key is
released over an element.
</body>
</html>
Event "onmousedown" value(s): One or more script statements each ended with a semicolon.
- The onmousedown event occurs when the pointing device button is pressed over an element.
Attribute "onmousedown" example:
<html>
<head>
<title>onmouseup Event attribute</title>
</head>
<body bgcolor="Silver" text="Blue"
onmouseup="alert('The mouse button is pressed down')" >
The onmouseup event occurs when the pointing
device button is released over an element.
</body>
</html>
Event "onmousemove" value(s): One or more script statements each ended with a semicolon.
- The onmousemove event occurs when the pointing device is moved while it is over an element.
Attribute "onmousemove" example:
<html>
<head>
<title>onmousemove Event attribute</title>
</head>
<body bgcolor="Silver" text="Blue"
onmousemove="document.body.text='red'" >
The onmousemove event occurs when the
pointing device is moved while it is over an element.
</body>
</html>
Event "onmouseout" value(s): One or more script statements each ended with a semicolon.
- The onmouseout event occurs when the pointing device is moved away from an element.
Attribute "onmouseout" example:
<html>
<head>
<title>onmouseover and onmouseout Event attributes</title>
</head>
<body bgcolor="Silver" text="Blue"
onmouseover="document.body.text='red'"
onmouseout="document.body.text='black'" >
The onmouseover event occurs when the
pointing device is moved onto an element.<br>
The onmouseout event occurs when the
pointing device is moved away from an element.
</body>
</html>
Event "onmouseover" value(s): One or more script statements each ended with a semicolon.
- The onmouseover event occurs when the pointing device is moved onto an element.
Attribute "onmouseover" example:
<html>
<head>
<title>onmouseover and onmouseout Event attributes</title>
</head>
<body bgcolor="Silver" text="Blue"
onmouseover="document.body.text='red'"
onmouseout="document.body.text='black'" >
The onmouseover event occurs when the
pointing device is moved onto an element.<br>
The onmouseout event occurs when the
pointing device is moved away from an element.
</body>
</html>
Event "onmouseup" value(s): One or more script statements each ended with a semicolon.
- The onmouseup event occurs when the pointing device button is released over an element.
Attribute "onmouseup" example:
<html>
<head>
<title>onmouseup Event attribute</title>
</head>
<body bgcolor="Silver" text="Blue"
onmouseup="alert('The mouse button is released')" >
The onmouseup event occurs when the
pointing device button is released over an element.
</body>
</html>
Event "onselect" value(s): One or more script statements each ended with a semicolon.
- The onselect event occurs when a user selects some text in a text field.
The input element cannot contain any element!
The input element can be contained in the following element(s):
Elements | Description |
---|---|
a | The A element denotes an anchor; a hypertext link or the destination of a link. |
abbr | This element allows authors to clearly indicate a sequence of characters that define an abbreviation for a word. |
acronym | Indicates an acronym abbreviation. |
address | ADDRESS is used to supply contact information for a web document. |
applet | (deprecated) This element is used to embed Java applets. |
b | This element renders the text betweeen the start and end tag in bold. |
bdo | This element overrides the bidirectional algorithm for the enclosed text. |
big | The big element is a text formatting control that increments the enclosed text by one size. |
blockquote | This element is used to format the text as a block quote, which means the right and left margins are indented from the text before and after the quote. |
body | The <BODY> tag contains the body of the document. It must come after the </$'head'> (if a header is specified). # Everything between the <BODY> and </BODY> is considered part of the document body. # It is the part of the document that is visible to the user. |
caption | The CAPTION element's text should describe the nature of the table. # The CAPTION element is only permitted immediately after the $'table' start tag. |
center | (deprecated) This element defines a block whose contents are centered horizontally on visual browsers. |
cite | This element is used to markup citations, such as titles of magazines or newspapers, ship names, references to other sources, and quotation attributions. |
code | This element shows text that is intended to be shown in a monospaced font. #This is useful for programming code. |
dd | This element provides the definition of a term in a definition list. |
del | This element is used to markup sections of the document that have been deleted with respect to a different version of a document. |
dfn | This element denotes the defining instance of a term. #Visual browsers typically render enclosed text as italic. |
div | This element offer a generic mechanism for adding structure to documents. # The <DIV> tag is used to divide a document up into artificial sections such as chapters, sections, appendix and so on. |
dt | This element defines a term in a definition list. |
em | This element is used to indicate emphasis. #Browsers typically renders enclosed text in italic. |
fieldset | Groups related form controls. |
font | (deprecated) This element is used to change the size, color and face of the enclosed text. |
form | This element defines an interactive form. |
h1 | The elements H1 through H6 are used to define header levels within a document. # H1 element is the most significant header and H6 is the least significant. |
h2 | The elements H1 through H6 are used to define header levels within a document. # H1 element is the most significant header and H6 is the least significant. |
h3 | The elements H1 through H6 are used to define header levels within a document. # H1 element is the most significant header and H6 is the least significant. |
h4 | The elements H1 through H6 are used to define header levels within a document. # H1 element is the most significant header and H6 is the least significant. |
h5 | The elements H1 through H6 are used to define header levels within a document. # H1 element is the most significant header and H6 is the least significant. |
h6 | The elements H1 through H6 are used to define header levels within a document. # H1 element is the most significant header and H6 is the least significant. |
i | This element suggests that enclosed text shall be rendered as italic text. |
iframe | This element defines an inline frame for the inclusion of other HTML documents. |
ins | This element is used to markup sections of the document that have been inserted with respect to a different version of a document. |
kbd | This element denotes text to be entered by the user. #Browsers will typically render text as monospaced. |
label | This element associates a label with a form control. |
legend | This element is used to provide the caption text for grouped form controls and text contained in a fieldset. |
li | This element defines a list item. |
noscript | This element provides alternate content for a client-side script that was not executed. |
object | This element is used to include objects such as images, audio, videos, Java applets, and Flash animations. |
p | This element defines a paragraph of text. |
pre | This element shows preformatted text as it is included, with exactly specified whitespace, blank lines and such. |
q | This element is used for short, inline quotations. |
s | (deprecated) Render strike-through style text. |
samp | This element's purpose is to identify a sample of characters that form the output or result of some process. |
small | This element suggests that the enclosed text must be rendered in a smaller font. |
span | This element is a generic inline container. |
strike | (deprecated) Render strike-through style text. |
strong | The STRONG element gives strong emphasis to its contents. Browsers typically renders enclosed text in bold. |
sub | This element is used for subscripts. |
sup | This element is used for superscripts. |
td | This element defines a data cell in a table. |
th | This element defines a header cell in a table. |
tt | This element suggests that the text should be rendered as teletype or monospaced text. |
u | (deprecated) This element suggests that the text should be rendered as underlined text. |
var | This element is used to markup variables or program arguments. Browsers will typically render enclosed text as italic type. |
© 2010 by Finnesand Data.
All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the
correctness in the pages or source codes.
The risk of using this web-site pages or any program
codes from this website is entirely at the individual user.