Академический Документы
Профессиональный Документы
Культура Документы
New Selectors
New Properties
Animations
2D/3D Transformations
Rounded Corners
Shadow Effects
Downloadable Fonts
@ purgeru.deviantart.com
WHAT IS HTML5?
HTML5 is being developed as the next major revision of HTML.This code can now be
used for new functions that can benefit developers and Internet users.
HTML5 introduces a number of new elements and attributes. Here are the most i
mortantof them: canvas, video, geolocation, offline web applications
<body>
</body>
</html>
Description
Attributes
<head>
none
<title>
none
<meta>
charset, content,
http-equiv, name
<base>
href, target
<link>
<style>
<noscript>
<script>
none
async, type, defer,
src, charset
Document sections
Tag
Description
Attributes
<body>
Global attributes
<aside>
Global attributes
<address>
Global attributes
<section>
cite
<header>
Global attributes
<nav>
Global attributes
<article>
Defines an ar ticle
<footer>
<hgroup>
Global attributes
<h1> to <h6>
Global attributes
Description
Attributes
Global attributes
Global attributes
Grouping content
Tag
<hr>
Global attributes
<br>
Global attributes
<figcaption>
Global attributes
<figure>
Global attributes
<div>
Global attributes
<ol>
start, reversed
<ul>
Global attributes
<li>
Global attributes
<pre>
Global attributes
<blockquote>
cite
<dl>
Global attributes
<dt>
Global attributes
<dd>
Global attributes
Forms
Tag
Description
Attributes
<fieldset>
<meter>
<legend>
Global atributes
<label>
for, form
<input>
<textarea>
<form>
<select>
<optgroup>
disabled, label
<option>
<output>
<button>
<datalist>
Global atributes
<keygen>
autofocus, challenge,
disabled, form, kaytype,
name
<progress>
max, value
Tabular data
Tag
Description
Attributes
<col>
span
<colgroup>
span
<caption>
Global attributes
<table>
Defines a table
summary
<tr>
Global attributes
<td>
colspan, rowspan,
headres
<th>
colspan, rowspan,
headres
<tbody>
Global attributes
<thead>
Global attributes
<tfoot>
Global attributes
Embeddig content
Tag
Description
Attributes
<img>
Defines an image
<area>
<map>
name
<embed>
<object>
<param>
name, value
<source>
<iframe>
<canvas>
height, width
<video>
<track>
<audio>
<device>
Text-level semantics
Tag
Description
Attributes
<span>
Global attributes
<a>
<rt>
<rp>
Global attributes
<dfn>
Global attributes
<abbr>
Defines an abbreviation
Global attributes
<q>
cite
<cite>
Global attributes
<em>
Global attributes
<time>
datetime, pubdate
<var>
Global attributes
<samp>
Global attributes
<i>
Global attributes
<b>
Global attributes
<sub>
Global attributes
<sup>
Global attributes
<small>
Global attributes
<strong>
Global attributes
<mark>
Global attributes
<ruby>
Global attributes
<ins>
cite, datetime
<del>
cite, datetime
<kbd>
Global attributes
<bdo>
Global attributes
<s>
Global attributes
<wbr>
Global attributes
<code>
Global attributes
Interactive elements
Tag
Description
<menu>
label, type
<command>
<summary>
Global attributes
<details>
open
New APIs
In addition to specifying markup, HTML5 specifies scripting application programming interfaces (APIs).
Existing document object model (DOM) interfaces are extended and de facto features documented.
There are also new APIs, such as:
Global Attributes
The atributes listed below are supported by all HTML 5 tags, with a few exceptions.
Attribute
Description
acceskey
class
contenteditable
contextmenu
dir
draggable
dropzone
hidden
id
lang
spellcheck
style
tabindex
title
Legend:
Tags colored with orange background denotes new tags in HTML5.
New attributes which are new in HTML5 are underlined orange.