HTML CHEAT SHEET
HTML (Hypertext Markup Language) has come a long way since Tim
Berners-Lee invented it back in 1991. Today HTML5 is the standard
version and it's supported by all modern web browsers. Our HTML
cheat sheet gives you a full list of all the HTML elements, including
descriptions, code examples and live previews. Simply scroll down t
browse all HTML tags alphabetically or browse tags by their
category.
del element label element script elemen
a element details element legend section
abbr element dfn element element element
address dialog element li element select elemen
element div element link element small elemen
area element dl element main element source
article element dt element map element element
aside element em element mark element span elemen
audio element embed menu element strong eleme
b element element meta element style elemen
base element တဠeldset meter element sub element
bdi element element nav element summary
bdo element တဠgcaption noscript element
blockquote element element sup element
element တဠgure element object element table elemen
body element footer element ol element tbody elemen
br element form element optgroup td element
button h1 to h6 element textarea
element element option element element
canvas head element output tfoot elemen
,LIST OF HTML ELEMENTS BҮ CATEGORҮ
An HTML element (or tag) is an individual component of an HTML
document. Here below is a full list of HTML elements listed by
category.
Elements
Basic HTML Content Table HTML Images &
Elements Grouping Elements Multimedia
Metadata HTML Form HTML HTML
HTML Elements Elements Elements
Elements Text Level Content Global HTML
Content Semantic Embedding Attributes
Sectioning HTML HTML New Tags in
HTML Elements Elements HTML5
Elements
Content Table HTML Images &
HTML TAG
Speciတဠes an html document. The HTML <html> element (or HTML
root element) represents the root of an HTML document. All other
elements must be descendants of this element. Since the <html>
element is the တဠrst in a document other than comments, it is called
the root element. Although this tag can be implied, or not required
with HTML, it is required to be opened and closed in XHTML.
Attributes (modiတဠers)
xmlns + global attributes
Code example
,BASE TAG
Speciတဠes URL which non-absolute URLs are relative to. The HTML
<base> element speciတဠes the base URL to use for all relative URLs
contained within a document. There can be only one <base> eleme
in a document.
Attributes (modiတဠers)
href | target (_self | _blank | _parent | _top) + global attributes
Code example
<base
href="http://www.DIGITAL.COM/page.html"
>
HEAD TAG
First element of the HTML document. Collection of metadata for th
Document. The HTML <head> element provides general informatio
(metadata) about the document, including its title and links to its
scripts and style sheets.
Attributes (modiတဠers)
Global attributes
Code example
, Attributes (modiတဠers)
href | rel | media | hre†ဠang | type | sizes | crossorigin | integrity +
global attributes
Code example
<link href="style.css" rel="stylesheet">
META TAG
Document metadata that can't be expressed with other elements.
The HTML <meta> element represents any metadata information
that cannot be represented by one of the other HTML meta-related
elements (<base>, <link>, <script>, <style> or <title>). Depending on
the attributes set, the kind of metadata can be one of the following
If name is set, it is document-level metadata, applying to the whole
page. If http-equiv is set, it is a pragma directive, i.e. information
normally given by the web server about how the web page should b
served. If charset is set, it is a charset declaration, i.e. the charset
used for the serialized form of the webpage. If itemprop is set, it is
user-deတဠned metadata, transparent for the user-agent as the
semantics of the metadata is user-speciတဠc.
Attributes (modiတဠers)
charset | content | http-equiv | name + global attributes
Code example
<meta charset="utf‐ ">
HTML (Hypertext Markup Language) has come a long way since Tim
Berners-Lee invented it back in 1991. Today HTML5 is the standard
version and it's supported by all modern web browsers. Our HTML
cheat sheet gives you a full list of all the HTML elements, including
descriptions, code examples and live previews. Simply scroll down t
browse all HTML tags alphabetically or browse tags by their
category.
del element label element script elemen
a element details element legend section
abbr element dfn element element element
address dialog element li element select elemen
element div element link element small elemen
area element dl element main element source
article element dt element map element element
aside element em element mark element span elemen
audio element embed menu element strong eleme
b element element meta element style elemen
base element တဠeldset meter element sub element
bdi element element nav element summary
bdo element တဠgcaption noscript element
blockquote element element sup element
element တဠgure element object element table elemen
body element footer element ol element tbody elemen
br element form element optgroup td element
button h1 to h6 element textarea
element element option element element
canvas head element output tfoot elemen
,LIST OF HTML ELEMENTS BҮ CATEGORҮ
An HTML element (or tag) is an individual component of an HTML
document. Here below is a full list of HTML elements listed by
category.
Elements
Basic HTML Content Table HTML Images &
Elements Grouping Elements Multimedia
Metadata HTML Form HTML HTML
HTML Elements Elements Elements
Elements Text Level Content Global HTML
Content Semantic Embedding Attributes
Sectioning HTML HTML New Tags in
HTML Elements Elements HTML5
Elements
Content Table HTML Images &
HTML TAG
Speciတဠes an html document. The HTML <html> element (or HTML
root element) represents the root of an HTML document. All other
elements must be descendants of this element. Since the <html>
element is the တဠrst in a document other than comments, it is called
the root element. Although this tag can be implied, or not required
with HTML, it is required to be opened and closed in XHTML.
Attributes (modiတဠers)
xmlns + global attributes
Code example
,BASE TAG
Speciတဠes URL which non-absolute URLs are relative to. The HTML
<base> element speciတဠes the base URL to use for all relative URLs
contained within a document. There can be only one <base> eleme
in a document.
Attributes (modiတဠers)
href | target (_self | _blank | _parent | _top) + global attributes
Code example
<base
href="http://www.DIGITAL.COM/page.html"
>
HEAD TAG
First element of the HTML document. Collection of metadata for th
Document. The HTML <head> element provides general informatio
(metadata) about the document, including its title and links to its
scripts and style sheets.
Attributes (modiတဠers)
Global attributes
Code example
, Attributes (modiတဠers)
href | rel | media | hre†ဠang | type | sizes | crossorigin | integrity +
global attributes
Code example
<link href="style.css" rel="stylesheet">
META TAG
Document metadata that can't be expressed with other elements.
The HTML <meta> element represents any metadata information
that cannot be represented by one of the other HTML meta-related
elements (<base>, <link>, <script>, <style> or <title>). Depending on
the attributes set, the kind of metadata can be one of the following
If name is set, it is document-level metadata, applying to the whole
page. If http-equiv is set, it is a pragma directive, i.e. information
normally given by the web server about how the web page should b
served. If charset is set, it is a charset declaration, i.e. the charset
used for the serialized form of the webpage. If itemprop is set, it is
user-deတဠned metadata, transparent for the user-agent as the
semantics of the metadata is user-speciတဠc.
Attributes (modiတဠers)
charset | content | http-equiv | name + global attributes
Code example
<meta charset="utf‐ ">