Professional Documents
Culture Documents
HTML5 Reference PDF
HTML5 Reference PDF
2.0
<!DOCTYPE HTML>
HTML5 is the cornerstone of the W3C's open web
<html>
platform; a framework designed to support <head>
innovation and foster the full potential the web has <meta charset="utf-8">
<title>HTML5 Document</title>
to offer. Heralding this revolutionary collection of <link rel="stylesheet" href="file.css">
tools and standards, the HTML5 identity system <script src="file.js"></script>
provides the visual vocabulary to clearly classify </head>
<head> First element of the HTML document. Collection none <body> Main content of the document. Global attributes <span> Container with no semantic meaning. Global attributes
of metadata for the Document.
<aside> Content related to surrounding elements that Global attributes <a> Hyperlink (a hypertext anchor). href | hreflang | media
<title> Document title or name. none doesn't belong inline, such as a advertising or | rel | target | type
quotes.
<meta> Document metadata that can't be expressed charset | content | <rt>
with other elements. <address> Contact information for it’s nearest article or Global attributes Annotation of preceding text. Global attributes
http-equiv | name
body element.
<rp> Contains semantically meaningless markup for Global attributes
<base> Specifies URL which non-absolute URLs are href | target
<section> Contains of elements grouped by theme, for cite browsers that don't understand ruby
relative to.
example a chapter or tab box. annotations.
<link> Other resources related to the document. href | rel | media |
<header> Navigation or introductory elements for the Global attributes <dfn> Defining instance of a term. Global attributes
hreflang | type | sizes
current section.
<abbr> Abbreviation or acronym. Global attributes
<style> Embed style information in the documents. media | type | scoped <nav> A section of a page that links to other pages. Global attributes
<q> Phrasing content quoted from another source. cite
<noscript> Contains elements that are part of the none <article> Section of the page content, such as a blog or Global attributes
document only if scripting is disabled. forum post. <cite> Title of a referenced piece of work. Global attributes
<script> Inline or linked client side scripts. <footer> Footer of the current section. Global attributes <em> Text that should be emphasized. Global attributes
async | type | defer |
src | charset <hgroup> headings for the current section. Global attributes <time> Time defined in a machine readable format. datetime | pubdate
The highest ranked heading represents the
group in the document outline. <var> Mathematical or programming variable. Global attributes
<h1> to <h6> Heading for the current section. Global attributes <samp> Sample output of a program. Global attributes
<keygen> Generates private-public key pairs. autofocus | challenge | <canvas> Bitmap which is editable by client side scripts. height | width
Global Attributes disabled | form | keytype
The attributes listed below are supported by all HTML 5 tags, with a few exceptions. | name <track> Specifies external timing track for media element. -
Class: Multimedia Class: Offline & Storage Class: Performance & Integration Class: Semantics Class: CSS3 Class: 3D, Graphics & Effects Class: Connectivity Class: Device Access
Audio and video are first class citizens in Web Apps can start faster and work Make your Web Apps and dynamic web Giving meaning to structure, semantics CSS3 delivers a wide range of Between SVG, Canvas, WebGL, and More efficient connectivity means more Beginning with the Geolocation API,
the HTML5 web, living in harmony with even if there is no internet connection, content faster with a variety of are front and center with HTML5. A stylization and effects, enhancing the CSS3 3D features, you're sure to amaze real-time chats, faster games, and better Web Applications can present rich,
your apps and sites. Lights, camera, thanks to the HTML5 App Cache, as techniques and technologies such as richer set of tags, along with RDFa, web app without sacrificing your your users with stunning visuals natively communication. Web Sockets and device-aware features and experiences.
action! well as the Local Storage, Indexed DB, Web Workers and XMLHttpRequest 2. microdata, and microformats, are semantic structure or performance. rendered in the browser. Server-Sent Events are pushing (pun Incredible device access innovations are
and the File API specifications. No user should ever wait on your watch. enabling a more useful, data driven web Additionally Web Open Font Format intended) data between client and being developed and implemented, from
for both programs and your users. (WOFF) provides typographic flexibility server more efficiently than ever before. audio/video input access to
and control far beyond anything the web microphones and cameras, to local data
has offered before. such as contacts & events, and even tilt
orientation.