HTML Attribute Reference: W3schools
HTML Attribute Reference: W3schools
cols HTML CSS MORE
<textarea> EXERCISES
Specifies the visible width
of a
text area
HTML
dirname CSS MORE
<input>, <textarea>
EXERCISES
Specifies that the text
direction will be submitted
https://www.w3schools.com/tags/ref_attributes.asp 4/19
9/14/2020 HTML Attributes
https://www.w3schools.com/tags/ref_attributes.asp 5/19
9/14/2020 HTML Attributes
optimized for
HTML CSS MORE EXERCISES
method <form> Specifies the HTTP method to
use when sending form-data
https://www.w3schools.com/tags/ref_attributes.asp 6/19
9/14/2020 HTML Attributes
onchange
HTML All visible
CSS MOREelements.
Script to be run when
EXERCISES the
value of the element is
changed
https://www.w3schools.com/tags/ref_attributes.asp 8/19
9/14/2020 HTML Attributes
data is loaded
HTML CSS MORE EXERCISES
onloadedmetadata <audio>, <video> Script to be run when meta
data (like dimensions and
duration) are loaded
https://www.w3schools.com/tags/ref_attributes.asp 9/19
9/14/2020 HTML Attributes
element
HTML CSS MORE EXERCISES
onpause <audio>, <video> Script to be run when the
media is paused either by the
user or programmatically
https://www.w3schools.com/tags/ref_attributes.asp 10/19
9/14/2020 HTML Attributes
HTML
sandbox CSS MORE
<iframe> EnablesEXERCISES
an extra setof
restrictions for the content in
an <iframe>
https://www.w3schools.com/tags/ref_attributes.asp 13/19
9/14/2020 HTML Attributes
ordered list
HTML CSS MORE EXERCISES
step <input> Specifies the legal number
intervals for an input field
❮ Previous Next ❯
https://www.w3schools.com/tags/ref_attributes.asp 14/19