Docsity

HTML5 Tags Cheat Sheet, Lecture notes of Web Programming and Technologies

Toggle sidebar
bg1
HTML5 Tags Cheat Sheet
Created for Training Dragon HTML5 course
Tag
Explanation
Attributes
<!-- bla bla -->
comment
<!DOCTYPE>
document type
<a>
anchor or hyperlink
href, hreflang, media, ping, rel, target, type
<abbr>
abbreviation
<address>
address
<area>
area inside an image
map
alt, coords, href, hreflang, media, ping, rel,
shape, target, type
<article>
article
cite, pubdate
<aside>
content aside from
the page content
<audio>
sound content
autobuffer, autoplay, controls, src
<b>
bold text
<base>
base URL for all the
links in a page
href, target
<bdo>
direction of text
display
dir
<blockquote>
long quotation
cite
<body>
body of the page
<br>
line break
<button>
button
autofocus, disabled, form, formaction,
formenctype, formmethod, formnovalidate,
formtarget, name, type, value
<canvas>
graphics
height, width
<caption>
table caption
<cite>
citation
<code>
code text
autobuffer, autoplay, controls, src
<col>
table column
<colgroup>
group of table
columns
span
<command>
command button
checked, disabled, icon, label, radiogroup,
type
<datalist>
dropdown list
<dd>
definition description
<del>
deleted text
cite, datatime
<details>
details of an element
open
<dialog>
dialog or
conversation
<dfn>
definition term
pf3
pf4

Partial preview of the text

Download HTML5 Tags Cheat Sheet and more Lecture notes Web Programming and Technologies in PDF only on Docsity!

HTML5 Tags Cheat Sheet

Created for Training Dragon HTML5 course

Tag Explanation Attributes

**** comment **** document type **** anchor or hyperlink href, hreflang, media, ping, rel, target, type **** abbreviation **** address **** area inside an image map alt, coords, href, hreflang, media, ping, rel, shape, target, type **** article cite, pubdate **** content aside from the page content **** sound content autobuffer, autoplay, controls, src bold text **** base URL for all the links in a page href, target **** direction of text display dir **** long quotation cite **** body of the page
line break **** button autofocus, disabled, form, formaction, formenctype, formmethod, formnovalidate, formtarget, name, type, value **** graphics height, width **** table caption **** citation **** code text autobuffer, autoplay, controls, src **** table column **** group of table columns span **** command button checked, disabled, icon, label, radiogroup, type **** dropdown list **** definition description **** deleted text cite, datatime **** details of an element open **** dialog or conversation **** definition term

**** section in a document **** definition list **** definition term **** emphasized text **** external interative content height, src, type, width **** fieldset disabled, form, name **** group of media content and caption **** footer of page **** form accept-charset, action, autocomplete, enctype, method, name, novalidate, target **** frame within a frameset ** to ** heading 1 to heading 6 **** information about the document **** header of a page **** information about section in a document **** horizontal rule **** html document italic text **** an inline sub window height, name, sandbox, seamless, src, width **** image alt, src, height, ismap, usemap, width **** input field accept, alt, autocomplete, autofocus, checked, disabled, form, formaction, formenctype, formmethod, formnovalidate, formtarget, height, list, max, maxlegth, min, multiple, name, pattern, placeholder, readonly, required, size, src, step, type, value, width **** inserted text cite, datetime **** generated key in a form autofocus, challenge, disabled, form, keytype, name **** keyboard text **** caption for an item for, form **** title in a fieldset **** list item value **** resource refrence href, hreflang, media, rel, size, type **** image map name **** marked text **** menu list label, type **** meta information charset, content, http-equiv, name

**** title of document <tr> table row <ul> unordered list <var> variable <video> video autobuffer, autoplay, controls, height, loop, src, width