Nhóm Thuộc Tính HTML

Ví Dụ

THUỘC TÍNH	 ==>	THẺ THƯỜNG ÁP DỤNG
accept	 ==>	<input>
accept-charset	 ==>	<form>
accesskey	 ==>	Global Attributes
action	 ==>	<form>
align	 ==>	Not supported in HTML 5.
alt	 ==>	<area>, <img>, <input>
async	 ==>	<script>
autocomplete	 ==>	<form>, <input>
autofocus	 ==>	<button>, <input>, <select>, <textarea>
autoplay	 ==>	<audio>, <video>
bgcolor	 ==>	Not supported in HTML 5.
border	 ==>	Not supported in HTML 5.
charset	 ==>	<meta>, <script>
checked	 ==>	<input>
cite	 ==>	<blockquote>, <del>, <ins>, <q>
class	 ==>	Global Attributes
color	 ==>	Not supported in HTML 5.
cols	 ==>	<textarea>
colspan	 ==>	<td>, <th>
content	 ==>	<meta>
contenteditable	 ==>	Global Attributes
controls	 ==>	<audio>, <video>
coords	 ==>	<area>
data	 ==>	<object>
data-*	 ==>	Global Attributes
datetime	 ==>	<del>, <ins>, <time>
default	 ==>	<track>
defer	 ==>	<script>
dir	 ==>	Global Attributes
dirname	 ==>	<input>, <textarea>
disabled	 ==>	<button>, <fieldset>, <input>, <optgroup>, <option>, <select>, <textarea>
download	 ==>	<a>, <area>
draggable	 ==>	Global Attributes
enctype	 ==>	<form>
for	 ==>	<label>, <output>
form	 ==>	<button>, <fieldset>, <input>, <label>, <meter>, <object>, <output>, <select>, <textarea>
formaction	 ==>	<button>, <input>
headers	 ==>	<td>, <th>
height	 ==>	<canvas>, <embed>, <iframe>, <img>, <input>, <object>, <video>
hidden	 ==>	Global Attributes
high	 ==>	<meter>
href	 ==>	<a>, <area>, <base>, <link>
hreflang	 ==>	<a>, <area>, <link>
http-equiv	 ==>	<meta>
id	 ==>	Global Attributes
ismap	 ==>	<img>
kind	 ==>	<track>
label	 ==>	<track>, <option>, <optgroup>
lang	 ==>	Global Attributes
list	 ==>	<input>
loop	 ==>	<audio>, <video>
low	 ==>	<meter>
max	 ==>	<input>, <meter>, <progress>
maxlength	 ==>	<input>, <textarea>
media	 ==>	<a>, <area>, <link>, <source>, <style>
method	 ==>	<form>
min	 ==>	<input>, <meter>
multiple	 ==>	<input>, <select>
muted	 ==>	<video>, <audio>
name	 ==>	<button>, <fieldset>, <form>, <iframe>, <input>, <map>, <meta>, <object>, <output>, <param>, <select>, <textarea>
novalidate	 ==>	<form>
onabort	 ==>	<audio>, <embed>, <img>, <object>, <video>
onafterprint	 ==>	<body>
onbeforeprint	 ==>	<body>
onbeforeunload	 ==>	<body>
oncanplay	 ==>	<audio>, <embed>, <object>, <video>
oncanplaythrough	 ==>	<audio>, <video>
oncuechange	 ==>	<track>
ondurationchange	 ==>	<audio>, <video>
onemptied	 ==>	<audio>, <video>
onended	 ==>	<audio>, <video>
onerror	 ==>	<audio>, <body>, <embed>, <img>, <object>, <script>, <style>, <video>
onhashchange	 ==>	<body>
onload	 ==>	<body>, <iframe>, <img>, <input>, <link>, <script>, <style>
onloadeddata	 ==>	<audio>, <video>
onloadedmetadata	 ==>	<audio>, <video>
onloadstart	 ==>	<audio>, <video>
onoffline	 ==>	<body>
ononline	 ==>	<body>
onpagehide	 ==>	<body>
onpageshow	 ==>	<body>
onpause	 ==>	<audio>, <video>
onplay	 ==>	<audio>, <video>
onplaying	 ==>	<audio>, <video>
onpopstate	 ==>	<body>
onprogress	 ==>	<audio>, <video>
onratechange	 ==>	<audio>, <video>
onreset	 ==>	<form>
onresize	 ==>	<body>
onsearch	 ==>	<input>
onseeked	 ==>	<audio>, <video>
onseeking	 ==>	<audio>, <video>
onstalled	 ==>	<audio>, <video>
onstorage	 ==>	<body>
onsubmit	 ==>	<form>
onsuspend	 ==>	<audio>, <video>
ontimeupdate	 ==>	<audio>, <video>
ontoggle	 ==>	<details>
onunload	 ==>	<body>
onvolumechange	 ==>	<audio>, <video>
onwaiting	 ==>	<audio>, <video>
open	 ==>	<details>
optimum	 ==>	<meter>
pattern	 ==>	<input>
placeholder	 ==>	<input>, <textarea>
poster	 ==>	<video>
preload	 ==>	<audio>, <video>
readonly	 ==>	<input>, <textarea>
rel	 ==>	<a>, <area>, <form>, <link>
required	 ==>	<input>, <select>, <textarea>
reversed	 ==>	<ol>
rows	 ==>	<textarea>
rowspan	 ==>	<td>, <th>
sandbox	 ==>	<iframe>
scope	 ==>	<th>
selected	 ==>	<option>
shape	 ==>	<area>
size	 ==>	<input>, <select>
sizes	 ==>	<img>, <link>, <source>
span	 ==>	<col>, <colgroup>
spellcheck	 ==>	Global Attributes
src	 ==>	<audio>, <embed>, <iframe>, <img>, <input>, <script>, <source>, <track>, <video>
srcdoc	 ==>	<iframe>
srclang	 ==>	<track>
srcset	 ==>	<img>, <source>
start	 ==>	<ol>
step	 ==>	<input>
style	 ==>	Global Attributes
tabindex	 ==>	Global Attributes
target	 ==>	<a>, <area>, <base>, <form>
title	 ==>	Global Attributes
translate	 ==>	Global Attributes
type	 ==>	<a>, <button>, <embed>, <input>, <link>, <menu>, <object>, <script>, <source>, <style>
usemap	 ==>	<img>, <object>
value	 ==>	<button>, <input>, <li>, <option>, <meter>, <progress>, <param>
width	 ==>	<canvas>, <embed>, <iframe>, <img>, <input>, <object>, <video>
wrap	 ==>	<textarea>
Xem Ví Dụ »

Đọc thêm
Thu Gọn