HTML Elements


This section contains a list of elements defined by HTML.

(alternatively, refer to http://www.w3schools.com/tags/default.asp for more details)

Elements

a Designates the start or destination of a hypertext link.

abbr Inserts an abbreviation into an HTML page.

acronym Indicates an acronym abbreviation.

address Specifies information, such as address, signature, and authorship, of the current document.

applet Places executable content on the page.

area Defines the shape, coordinates, and associated URL of one hyperlink region within a client-side image map.

b Specifies that the text should be rendered in bold.

base Specifies an explicit URL used to resolve links and references to external sources such as images and style sheets.

baseFont Sets a base font value to be used as the default font when rendering text.

bdo Allows authors to disable the bidirectional algorithm for selected fragments of text.

bgSound Enables an author to create pages with background sounds or soundtracks.

big Specifies that the enclosed text should be displayed in a larger font than the current font.

blockQuote Sets apart a quotation in text.

body Specifies the beginning and end of the document body.

br Inserts a line break.

button Specifies a container for rich HTML that is rendered as a button.

caption Specifies a brief description for a table.

center Centers subsequent text and images.

cite Indicates a citation by rendering text in italic.

code Specifies a code sample.

col Specifies column-based defaults for the table properties.

colGroup Specifies property defaults for a column or group of columns in a table.

comment Indicates a comment that is not displayed.

custom Represents a user-defined element.

dd Indicates the definition in a definition list. The definition is usually indented in the definition list.

del Indicates text that has been deleted from the document.

dfn Indicates the defining instance of a term.

dir Denotes a directory list.

div Specifies a container that renders HTML.

dl Denotes a definition list.

dt Indicates a definition term within a definition list.

em Emphasizes text, usually by rendering it in italic.

embed Allows documents of any type to be embedded.

fieldSet Draws a box around the text and other elements that the field set contains.

font Specifies a new font, size, and color to be used for rendering the enclosed text.

form Specifies that the contained controls take part in a form.

frame Specifies an individual frame within a FRAMESET element.

frameSet Specifies a frameset, which is used to organize multiple frames and nested framesets.

head Provides an unordered collection of information about the document.

hn Renders text in heading style.

hr Draws a horizontal rule.

html Identifies the document as containing HTML elements.

i Specifies that the text should be rendered in italic, where available.

iframe Creates inline floating frames.

img Embeds an image or a video clip in the document.

input Creates a variety of form input controls.

input type=button Creates a button control.

input type=checkbox Creates a check box control.

input type=file Creates a file upload object with a text box and Browse button.

input type=hidden Transmits state information about client/server interaction.

input type=image Creates an image control that, when clicked, causes the form to be immediately submitted.

input type=password Creates a single-line text entry control similar to the INPUT type=text control, except that text is not displayed as the user enters it.

input type=radio Creates a radio button control.

input type=reset Creates a button that, when clicked, resets the form’s controls to their initial values.

input type=submit Creates a button that, when clicked, submits the form.

input type=text Creates a single-line text entry control.

ins Specifies text that has been inserted into the document.

isIndex Causes the browser to display a dialog window that prompts the user for a single line of input.

kbd Renders text in a fixed-width font.

label Specifies a label for another element on the page.

legend Inserts a caption into the box drawn by the fieldSet object.

li Denotes one item in a list.

link Enables the current document to establish links to external documents.

listing Renders text in a fixed-width font.

map Contains coordinate data for client-side image maps.

marquee Creates a scrolling text marquee.

menu Creates an unordered list of items.

meta Conveys hidden information about the document to the server and the client.

noBR Renders text without line breaks.

noFrames Contains HTML for browsers that do not support FRAMESET elements.

noScript Specifies HTML to be displayed in browsers that do not support scripting.

object Inserts an object into the HTML page.

ol Draws lines of text as a numbered list.

optGroup Allows authors to group choices logically in a select element.

option Denotes one choice in a SELECT element.

p Denotes a paragraph.

param Sets the initial value of a property for an APPLET, EMBED, or OBJECT element.

plainText Not currently supported.

pre Renders text in a fixed-width font.

q Sets apart a quotation in text.

rt Designates the ruby text for the RUBY element.

ruby Designates an annotation or pronunciation guide to be placed above or inline with a string of text.

s Renders text in strike-through type.

samp Specifies a code sample.

script Specifies a script for the page that is interpreted by a script engine.

select Denotes a list box or drop-down list.

small Specifies that the enclosed text should be displayed in a smaller font.

span Specifies an inline text container.

strike Renders text in strike-through type.

strong Renders text in bold.

style Specifies a style sheet for the page.

sub Specifies that the enclosed text should be displayed in subscript, using a smaller font than the current font.

sup Specifies that the enclosed text should be displayed in superscript, using a smaller font than the current font.

table Specifies that the contained content is organized into a table with rows and columns.

tBody Designates rows as the body of the table.

td Specifies a cell in a table.

textArea Specifies a multiline text input control.

tFoot Designates rows as the table’s footer.

th Specifies a header column. Header columns are centered within the cell and are bold.

tHead Designates rows as the table’s header.

title Contains the title of the document.

tr Specifies a row in a table.

tt Renders text in a fixed-width font.

u Renders text that is underlined.

ul Draws lines of text as a bulleted list.

var Defines a programming variable. Typically renders in an italic font style.

wbr Inserts a soft line break into a block of NOBR text.

xml Defines an XML data island on an HTML page.

xmp Renders text used for examples in a fixed-width font.

 
html_elements.txt · Last modified: 2006/10/28 15:00 by sachinsuch01
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki