Академический Документы
Профессиональный Документы
Культура Документы
New Elements
The following list represents all the new elements introduced in HTML5. For descriptions of
these elements, see Appendix B, HTML Element Reference:
section
article
aside
hgroup
header
footer
nav
figure
figcaption
video
audio
track
embed
596
mark
progress
meter
time
ruby
rt
rp
bdi
wbr
canvas
command
cetails
catalist
keygen
output
tel
search
url
datetime
date
month
week
time
datetime-local
number
range
color
New Attributes
597
New Attributes
Many new attributes have been added to existing elements. These new attributes either are existing
attributes added to new elements or are completely new attributes. These are also covered in depth
alongside their elements in Appendix B, HTML Element Reference:
Element
Attributes
<a>
media
<area>
<base>
target
<button>
<fieldset>
<form>
novalidate
<html>
manifest
<iframe>
<img>
crossorigin
<input>
<label>
form
<link>
sizes
<menu>
label, type
<meta>
charset
<object>
form, typemustmatch
<ol>
reversed
<output>
form
<script>
async
<select>
<style>
scoped
<textarea>
598
Global Attributes
HTML5 greatly expands on the number of global attributes. The following list includes all the new
global attributes and the global attributes present in previous versions of HTML:
accesskey
class
contenteditable
contextmenu
dir
draggable
dropzone
hidden
id
lang
spellcheck
style
tabindex
title
translate
Changed Attributes
Several existing attributes have had their meanings changed:
Attribute
Element
Change
accept
<input>
valid values.
accesskey
global
action
<form>
colspan
<td><th>
coords
<area>
Changed Attributes
599
data
<object>
defer
<script>
dir
global
enctype
<form>
width/height
<img>, <iframe>,
<object>
href
<link>
href
<base>
global
http-equiv
<meta>
No longer said to be used by HTTP servers to create HTTP headers in the HTTP
response. Instead, it is said to be a pragma
directive to be used by the user agent.
id
global
lang
global
media
<link>
Event handlers
global
value
<li>
No longer deprecated.
start/type
<ol>
No longer deprecated.
style
global
tabindex
global
target
<a><area>
No longer deprecated.
continues
600
(continued)
Attribute
Element
Change
type
<script> <style>
usemap
img
Obsolete Elements
The elements in this section are no longer part of the HTML specification:
basefont
big
center
font
strike
tt
frame
frameset
noframes
acronym
applet
isindex
dir
Obsolete Attributes
Some attributes from HTML4 are no longer allowed in HTML5:
Element
Attributes
<a>
<area>
nohref