0% found this document useful (0 votes)
176 views9 pages

HTML Shiv

The document defines HTML element references ordered by category. It provides a table listing common HTML tags, their purposes, and brief descriptions. The tags are grouped into categories such as basic HTML, formatting, forms and input, frames, images, audio/video, links, lists, tables, styles and semantics, meta info, and programming.

Uploaded by

pkssteja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
176 views9 pages

HTML Shiv

The document defines HTML element references ordered by category. It provides a table listing common HTML tags, their purposes, and brief descriptions. The tags are grouped into categories such as basic HTML, formatting, forms and input, frames, images, audio/video, links, lists, tables, styles and semantics, meta info, and programming.

Uploaded by

pkssteja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

6/11/2015

HTMLReference

HTMLElementReference
Previous(default.asp)

NextReference(ref_standardattrib

HTMLTagsOrderedbyCategory
=NewinHTML5.

BasicHTML
Tag

Description

<!DOCTYPE>
(tag_doctype.asp)

Definesthedocumenttype

<html>
(tag_html.asp)

DefinesanHTMLdocument

<title>
(tag_title.asp)

Definesatitleforthedocument

<body>
(tag_body.asp)

Definesthedocument'sbody

<h1>to<h6>
(tag_hn.asp)

DefinesHTMLheadings

<p>(tag_p.asp)

Definesaparagraph

<br>(tag_br.asp)

Insertsasinglelinebreak

<hr>(tag_hr.asp)

Definesathematicchangeinthecontent

<!...>
(tag_comment.asp)

Definesacomment

Formatting
Tag

Description

<acronym>
(tag_acronym.asp)

NotsupportedinHTML5.Use<abbr>instead.
Definesanacronym

http://www.w3schools.com/tags/ref_byfunc.asp

5/14

6/11/2015

HTMLReference

<abbr>
(tag_abbr.asp)

Definesanabbreviationoranacronym

<address>
(tag_address.asp)

Definescontactinformationfortheauthor/ownerofa
document/article

<b>(tag_b.asp)

Definesboldtext

<bdi>(tag_bdi.asp)

Isolatesapartoftextthatmightbeformattedina
differentdirectionfromothertextoutsideit

<bdo>
(tag_bdo.asp)

Overridesthecurrenttextdirection

<big>(tag_big.asp)

NotsupportedinHTML5.UseCSSinstead.
Definesbigtext

<blockquote>
(tag_blockquote.asp)

Definesasectionthatisquotedfromanothersource

<center>
(tag_center.asp)

NotsupportedinHTML5.UseCSSinstead.
Definescenteredtext

<cite>
(tag_cite.asp)

Definesthetitleofawork

<code>
(tag_code.asp)

Definesapieceofcomputercode

<del>(tag_del.asp)

Definestextthathasbeendeletedfromadocument

<dfn>(tag_dfn.asp)

Representsthedefininginstanceofaterm

<em>(tag_em.asp)

Definesemphasizedtext

<font>
(tag_font.asp)

NotsupportedinHTML5.UseCSSinstead.
Definesfont,color,andsizefortext

<i>(tag_i.asp)

Definesapartoftextinanalternatevoiceormood

<ins>(tag_ins.asp)

Definesatextthathasbeeninsertedintoadocument

<kbd>
(tag_kbd.asp)

Defineskeyboardinput

<mark>
(tag_mark.asp)

Definesmarked/highlightedtext

http://www.w3schools.com/tags/ref_byfunc.asp

6/14

6/11/2015

HTMLReference

<meter>
(tag_meter.asp)

Definesascalarmeasurementwithinaknownrange(a
gauge)

<pre>(tag_pre.asp)

Definespreformattedtext

<progress>
(tag_progress.asp)

Representstheprogressofatask

<q>(tag_q.asp)

Definesashortquotation

<rp>(tag_rp.asp)

Defineswhattoshowinbrowsersthatdonotsupportruby
annotations

<rt>(tag_rt.asp)

Definesanexplanation/pronunciationofcharacters(for
EastAsiantypography)

<ruby>
(tag_ruby.asp)

Definesarubyannotation(forEastAsiantypography)

<s>(tag_s.asp)

Definestextthatisnolongercorrect

<samp>
(tag_samp.asp)

Definessampleoutputfromacomputerprogram

<small>
(tag_small.asp)

Definessmallertext

<strike>
(tag_strike.asp)

NotsupportedinHTML5.Use<del>or<s>instead.
Definesstrikethroughtext

<strong>
(tag_strong.asp)

Definesimportanttext

<sub>(tag_sub.asp)

Definessubscriptedtext

<sup>(tag_sup.asp)

Definessuperscriptedtext

<time>
(tag_time.asp)

Definesadate/time

<tt>(tag_tt.asp)

NotsupportedinHTML5.UseCSSinstead.
Definesteletypetext

<u>(tag_u.asp)

Definestextthatshouldbestylisticallydifferentfrom
normaltext

<var>(tag_var.asp)

Definesavariable

<wbr>
(tag_wbr.asp)

Definesapossiblelinebreak

http://www.w3schools.com/tags/ref_byfunc.asp

7/14

6/11/2015

HTMLReference

FormsandInput
Tag

Description

<form>
(tag_form.asp)

DefinesanHTMLformforuserinput

<input>
(tag_input.asp)

Definesaninputcontrol

<textarea>
(tag_textarea.asp)

Definesamultilineinputcontrol(textarea)

<button>
(tag_button.asp)

Definesaclickablebutton

<select>
(tag_select.asp)

Definesadropdownlist

<optgroup>
(tag_optgroup.asp)

Definesagroupofrelatedoptionsinadropdownlist

<option>
(tag_option.asp)

Definesanoptioninadropdownlist

<label>
(tag_label.asp)

Definesalabelforan<input>element

<fieldset>
(tag_fieldset.asp)

Groupsrelatedelementsinaform

<legend>
(tag_legend.asp)

Definesacaptionfora<fieldset>element

<datalist>
(tag_datalist.asp)

Specifiesalistofpredefinedoptionsforinputcontrols

<keygen>
(tag_keygen.asp)

Definesakeypairgeneratorfield(forforms)

<output>
(tag_output.asp)

Definestheresultofacalculation

Frames
http://www.w3schools.com/tags/ref_byfunc.asp

8/14

6/11/2015

HTMLReference

Tag

Description

<frame>
(tag_frame.asp)

NotsupportedinHTML5.
Definesawindow(aframe)inaframeset

<frameset>
(tag_frameset.asp)

NotsupportedinHTML5.
Definesasetofframes

<noframes>
(tag_noframes.asp)

NotsupportedinHTML5.
Definesanalternatecontentforusersthatdonotsupport
frames

<iframe>
(tag_iframe.asp)

Definesaninlineframe

Images
Tag

Description

<img>
(tag_img.asp)

Definesanimage

<map>
(tag_map.asp)

Definesaclientsideimagemap

<area>
(tag_area.asp)

Definesanareainsideanimagemap

<canvas>
(tag_canvas.asp)

Usedtodrawgraphics,onthefly,viascripting(usually
JavaScript)

<figcaption>
(tag_figcaption.asp)

Definesacaptionfora<figure>element

<figure>
(tag_figure.asp)

Specifiesselfcontainedcontent

Audio/Video
Tag

Description

<audio>
(tag_audio.asp)

Definessoundcontent

<source>
(tag_source.asp)

Definesmultiplemediaresourcesformediaelements
(<video>and<audio>)

http://www.w3schools.com/tags/ref_byfunc.asp

9/14

6/11/2015

HTMLReference

<track>
(tag_track.asp)

Definestexttracksformediaelements(<video>and
<audio>)

<video>
(tag_video.asp)

Definesavideoormovie

Links
Tag

Description

<a>
(tag_a.asp)

Definesahyperlink

<link>
(tag_link.asp)

Definestherelationshipbetweenadocumentandanexternal
resource(mostusedtolinktostylesheets)

<nav>
(tag_nav.asp)

Definesnavigationlinks

Lists
Tag

Description

<ul>(tag_ul.asp)

Definesanunorderedlist

<ol>(tag_ol.asp)

Definesanorderedlist

<li>(tag_li.asp)

Definesalistitem

<dir>(tag_dir.asp)

NotsupportedinHTML5.Use<ul>instead.
Definesadirectorylist

<dl>(tag_dl.asp)

Definesadescriptionlist

<dt>(tag_dt.asp)

Definesaterm/nameinadescriptionlist

<dd>(tag_dd.asp)

Definesadescriptionofaterm/nameinadescriptionlist

<menu>
(tag_menu.asp)

Definesalist/menuofcommands

<menuitem>
(tag_menuitem.asp)

Definesacommand/menuitemthattheusercaninvoke
fromapopupmenu

Tables
http://www.w3schools.com/tags/ref_byfunc.asp

10/14

6/11/2015

HTMLReference

Tag

Description

<table>
(tag_table.asp)

Definesatable

<caption>
(tag_caption.asp)

Definesatablecaption

<th>(tag_th.asp)

Definesaheadercellinatable

<tr>(tag_tr.asp)

Definesarowinatable

<td>(tag_td.asp)

Definesacellinatable

<thead>
(tag_thead.asp)

Groupstheheadercontentinatable

<tbody>
(tag_tbody.asp)

Groupsthebodycontentinatable

<tfoot>
(tag_tfoot.asp)

Groupsthefootercontentinatable

<col>
(tag_col.asp)

Specifiescolumnpropertiesforeachcolumnwithina
<colgroup>element

<colgroup>
(tag_colgroup.asp)

Specifiesagroupofoneormorecolumnsinatablefor
formatting

StylesandSemantics
Tag

Description

<style>
(tag_style.asp)

Definesstyleinformationforadocument

<div>
(tag_div.asp)

Definesasectioninadocument

<span>
(tag_span.asp)

Definesasectioninadocument

<header>
(tag_header.asp)

Definesaheaderforadocumentorsection

<footer>
(tag_footer.asp)

Definesafooterforadocumentorsection

http://www.w3schools.com/tags/ref_byfunc.asp

11/14

6/11/2015

HTMLReference

<main>
(tag_main.asp)

Specifiesthemaincontentofadocument

<section>
(tag_section.asp)

Definesasectioninadocument

<article>
(tag_article.asp)

Definesanarticle

<aside>
(tag_aside.asp)

Definescontentasidefromthepagecontent

<details>
(tag_details.asp)

Definesadditionaldetailsthattheusercanvieworhide

<dialog>
(tag_dialog.asp)

Definesadialogboxorwindow

<summary>
(tag_summary.asp)

Definesavisibleheadingfora<details>element

MetaInfo
Tag

Description

<head>
(tag_head.asp)

Definesinformationaboutthedocument

<meta>
(tag_meta.asp)

DefinesmetadataaboutanHTMLdocument

<base>
(tag_base.asp)

SpecifiesthebaseURL/targetforallrelativeURLsina
document

<basefont>
(tag_basefont.asp)

NotsupportedinHTML5.UseCSSinstead.
Specifiesadefaultcolor,size,andfontforalltextina
document

Programming
Tag

Description

<script>
(tag_script.asp)

Definesaclientsidescript

<noscript>
(tag_noscript.asp)

Definesanalternatecontentforusersthatdonotsupport
clientsidescripts

http://www.w3schools.com/tags/ref_byfunc.asp

12/14

6/11/2015

HTMLReference

<applet>
(tag_applet.asp)

NotsupportedinHTML5.Use<embed>or<object>instead.
Definesanembeddedapplet

<embed>
(tag_embed.asp)

Definesacontainerforanexternal(nonHTML)application

<object>
(tag_object.asp)

Definesanembeddedobject

<param>
(tag_param.asp)

Definesaparameterforanobject

Previous(default.asp)

NextReference(ref_standardattrib

W3SCHOOLSEXAMS
HTML,CSS,JavaScript,PHP,jQuery,andXMLCertifications
(http://www.w3schools.com/cert/default.asp)

COLORPICKER
(/tags/ref_colorpicker.asp)

SHARETHISPAGE

(http://www.facebook.com/sharer.php?u=http://www.w3schools.com/tags/ref_byfunc.asp)
(http://twitter.com/home?status=Currentlyreadinghttp://www.w3schools.com/tags/ref_byfunc.asp)
(https://plus.google.com/share?url=http://www.w3schools.com/tags/ref_byfunc.asp)

REPORTERROR()
PRINTPAGE()
FORUM(/forum/default.asp)
ABOUT(/about/default.asp)

http://www.w3schools.com/tags/ref_byfunc.asp

13/14

You might also like