Title: Theory / Unimportant / CS / Descriptive / Web / HTML; / General / Attributes
Tags: FromInstruction computer_to_instruction hasNotNewEffectReturnsMeaning récupéré some_instruction seen_description
On every note of this deck, unless a note says otherwise:
Page: https://www.w3schools.com/tags/ref_attributes.asp
Language: HTML

Instruction: cite
Effect: Specifies a URL which explains the quote/deleted/inserted text
Where to use it: <blockquote>, <del>, <ins>, <q>

Instruction: colspan
Effect: Specifies the number of columns a table cell should span
Where to use it: <td>, <th>

Instruction: content
Effect: Gives the value associated with the http-equiv or name attribute
Where to use it: <meta>

Instruction: controls
Effect: Specifies that audio/video controls should be displayed (such as a play/pause button etc)
Where to use it: <audio>, <video>

Instruction: coords
Effect: Specifies the coordinates of the area
Where to use it: <area>

Instruction: data
Effect: Specifies the URL of the resource to be used by the object
Where to use it: <object>

Instruction: datetime
Effect: Specifies the date and time
Where to use it: <del>, <ins>, <time>

Instruction: default
Effect: Specifies that the track is to be enabled if the user's preferences do not indicate that another track would be more appropriate
Where to use it: <track>

Instruction: defer
Effect: Specifies that the script is executed when the page has finished parsing (only for external scripts)
Where to use it: <script>

Instruction: dirname
Effect: Specifies that the text direction will be submitted
Where to use it: <input>, <textarea>

Instruction: method
Effect: Specifies the HTTP method to use when sending form-data

Instruction: disabled
Effect: Specifies that the specified element/group of elements should be disabled
Where to use it: <button>, <fieldset>, <input>, <optgroup>, <option>, <select>, <textarea>

Instruction: download
Effect: Specifies that the target will be downloaded when a user clicks on the hyperlink
Where to use it: <a>, <area>

Instruction: enctype
Effect: Specifies how the form-data should be encoded when submitting it to the server (only for method=&quot;post&quot;)
Where to use it: <form>

Instruction: for
Effect: Specifies which form element(s) a label/calculation is bound to
Where to use it: <label>, <output>

Instruction: form
Effect: Specifies the name of the form the element belongs to
Where to use it: <button>, <fieldset>, <input>, <label>, <meter>, <object>, <output>, <select>, <textarea>

Instruction: formation
Effect: Specifies where to send the form-data when a form is submitted. Only for type=&quot;submit&quot;
Where to use it: <button>, <input>

Instruction: headers
Effect: Specifies one or more headers cells a cell is related to
Where to use it: <td>, <th>

Instruction: height
Effect: Specifies the height of the element
Where to use it: <canvas>, <embed>, <iframe>, <img>, <input>, <object>, <video>

Instruction: high
Effect: Specifies the range that is considered to be a high value
Where to use it: <meter>

Instruction: href
Effect: Specifies the URL of the page the link goes to
Where to use it: <a>, <area>, <base>, <link>

Instruction: hreflang
Effect: Specifies the language of the linked document
Where to use it: <a>, <area>, <link>

Instruction: http-equiv
Effect: Provides an HTTP header for the information/value of the content attribute
Where to use it: <meta>

Instruction: ismap
Effect: Specifies an image as a server-side image-map
Where to use it: <img>

Instruction: kind
Effect: Specifies the kind of text track
Where to use it: <track>

Instruction: label
Effect: Specifies the title of the text track
Where to use it: <track>, <option>, <optgroup>

Instruction: list
Effect: Refers to a <datalist> element that contains pre-defined options for an <input> element
Where to use it: <input>

Instruction: loop
Effect: Specifies that the audio/video will start over again, every time it is finished
Where to use it: <audio>, <video>

Instruction: low
Effect: Specifies the range that is considered to be a low value
Where to use it: <meter>

Instruction: max
Effect: Specifies the maximum value
Where to use it: <input>, <meter>, <progress>

Instruction: maxlength
Effect: Specifies the maximum number of characters allowed in an element
Where to use it: <input>, <textarea>

Instruction: media
Effect: Specifies what media/device the linked document is optimized for
Where to use it: <a>, <area>, <link>, <source>, <style>

Instruction: min
Effect: Specifies a minimum value
Where to use it: <input>, <meter>

Instruction: multiple
Effect: Specifies that a user can enter more than one value
Where to use it: <input><select>

Instruction: muted
Effect: Specifies that the audio output of the video should be muted
Where to use it: <video>, <audio>

Instruction: name
Effect: Specifies the name of the element
Where to use it: <button>, <fieldset>, <form>, <iframe>, <input>, <map>, <meta>, <object>, <output>, <param>, <select>, <textarea>

Instruction: novalidate
Effect: Specifies that the form should not be validated when submitted
Where to use it: <form>

Instruction: onabort
Effect: Script to be run on abort
Where to use it: <audio>, <embed>, <img>, <object>, <video>

Instruction: onafterprint
Effect: Script to be run after the document is printed
Where to use it: <body>

Instruction: onbeforeprint
Effect: Script to be run before the document is printed
Where to use it: <body>

Instruction: onbeforeunload
Effect: Script to be run when the document is about to be unloaded
Where to use it: <body>

Instruction: onblur
Effect: Script to be run when the element loses focus
Section: All visible elements.

Instruction: onchange
Effect: Script to be run when the value of the element is changed
Section: All visible elements.

Instruction: onclick
Effect: Script to be run when the element is being clicked
Section: All visible elements.

Instruction: oncontextmenu
Effect: Script to be run when a context menu is triggered
Section: All visible elements.

Instruction: oncopy
Effect: Script to be run when the content of the element is being copied
Section: All visible elements.

Instruction: class
Effect: Specifies one or more classnames for an element (refers to a class in a style sheet)
Where to use it: Global Attributes

Instruction: cols
Effect: Specifies the visible width of a text area
Where to use it: <textarea>

Instruction: contenteditable
Section: Global Attributes
Returns: Whether the content of an element is editable or not

Instruction: contextmenu
Effect: Specifies a context menu for an element. The context menu appears when a user right-clicks on the element
Section: Global Attributes

Instruction: data-*
Effect: Used to store custom data private to the page or application
Section: Global Attributes

Instruction: dir
Effect: Specifies the text direction for the content in an element
Section: Global Attributes

Instruction: draggable
Section: Global Attributes
Returns: Whether an element is draggable or not

Instruction: dropzone
Section: Global Attributes
Returns: Whether the dragged data is copied, moved, or linked, when dropped

Instruction: hidden
Effect: Specifies that an element is not yet, or is no longer, relevant
Section: Global Attributes

Instruction: id
Effect: Specifies a unique id for an element
Section: Global Attributes

Instruction: lang
Effect: Specifies the language of the element's content
Section: Global Attributes

Instruction: spellcheck
Section: Global Attributes
Returns: Whether the element is to have its spelling and grammar checked or not

Instruction: style
Effect: Specifies an inline CSS style for an element
Section: Global Attributes

Instruction: tabindex
Effect: Specifies the tabbing order of an element
Section: Global Attributes

Instruction: title
Effect: Specifies extra information about an element
Section: Global Attributes

Instruction: translate
Section: Global Attributes
Returns: Whether the content of an element should be translated or not

Instruction: oncut
Effect: Script to be run when the content of the element is being cut
Section: All visible elements.

Instruction: ondblclick
Effect: Script to be run when the element is being double-clicked
Section: All visible elements.

Instruction: ondrag
Effect: Script to be run when the element is being dragged
Section: All visible elements.

Instruction: ondragend
Effect: Script to be run at the end of a drag operation
Section: All visible elements.

Instruction: ondragenter
Effect: Script to be run when an element has been dragged to a valid drop target
Section: All visible elements.

Instruction: ondragleave
Effect: Script to be run when an element leaves a valid drop target
Section: All visible elements.

Instruction: ondragover
Effect: Script to be run when an element is being dragged over a valid drop target
Section: All visible elements.

Instruction: ondragstart
Effect: Script to be run at the start of a drag operation
Section: All visible elements.

Instruction: ondrop
Effect: Script to be run when dragged element is being dropped
Section: All visible elements.

Instruction: onfocus
Effect: Script to be run when the element gets focus
Section: All visible elements.

Instruction: oninput
Effect: Script to be run when the element gets user input
Section: All visible elements.

Instruction: oninvalid
Effect: Script to be run when the element is invalid
Section: All visible elements.

Instruction: onkeydown
Effect: Script to be run when a user is pressing a key
Section: All visible elements.

Instruction: onkeypress
Effect: Script to be run when a user presses a key
Section: All visible elements.

Instruction: onkeyup
Effect: Script to be run when a user releases a key
Section: All visible elements.

Instruction: onmousedown
Effect: Script to be run when a mouse button is pressed down on an element
Section: All visible elements.

Instruction: onmousemove
Effect: Script to be run as long as the&nbsp; mouse pointer is moving over an element
Section: All visible elements.

Instruction: onmouseout
Effect: Script to be run when a mouse pointer moves out of an element
Section: All visible elements.

Instruction: onmouseover
Effect: Script to be run when a mouse pointer moves over an element
Section: All visible elements.

Instruction: onmouseup
Effect: Script to be run when a mouse button is released over an element
Section: All visible elements.

Instruction: onmousewheel
Effect: Script to be run when a mouse wheel is being scrolled over an element
Section: All visible elements.

Instruction: onpaste
Effect: Script to be run when the user pastes some content in an element
Section: All visible elements.

Instruction: onscroll
Effect: Script to be run when an element's scrollbar is being scrolled
Section: All visible elements.

Instruction: onselect
Effect: Script to be run when the element gets selected
Section: All visible elements.

Instruction: onwheel
Effect: Script to be run when the mouse wheel rolls up or down over an element
Section: All visible elements.

Instruction: oncanplay
Effect: Script to be run when a file is ready to start playing (when it has buffered enough to begin)
Where to use it: <audio>, <embed>, <object>, <video>

Instruction: oncanplaythrough
Effect: Script to be run when a file can be played all the way to the end without pausing for buffering
Where to use it: <audio>, <video>

Instruction: oncuechange
Effect: Script to be run when the cue changes in a &lt;track&gt; element
Where to use it: <track>

Instruction: ondurationchange
Effect: Script to be run when the length of the media changes
Where to use it: <audio>, <video>

Instruction: onemptied
Effect: Script to be run when something bad happens and the file is suddenly unavailable (like unexpectedly disconnects)
Where to use it: <audio>, <video>

Instruction: onended
Effect: Script to be run when the media has reach the end (a useful event for messages like &quot;thanks for listening&quot;)
Where to use it: <audio>, <video>

Instruction: accept
Effect: Specifies the types of files that the server accepts (only for type=)
Where to use it: <input>

Instruction: accept-charset
Effect: Specifies the character encodings that are to be used for the form submission

Instruction: accesskey
Effect: Specifies a shortcut key to activate/focus an element
Section: Global Attributes

Instruction: action
Effect: Specifies where to send the form-data when a form is submitted
Where to use it: <form>

Instruction: alt
Effect: Specifies an alternate text when the original element fails to display
Where to use it: <area>, <img>, <input>

Instruction: async
Effect: Specifies that the script is executed asynchronously (only for external scripts)
Where to use it: <script>

Instruction: autocomplete
Returns: Whether the <form> or the <input> element should have autocomplete enabled
Where to use it: <form>, <input>

Instruction: autofocus
Effect: Specifies that the element should automatically get focus when the page loads
Where to use it: <button>, <input>, <select>, <textarea>

Instruction: autoplay
Effect: Specifies that the audio/video will start playing as soon as it is ready
Where to use it: <audio> <video>

Instruction: charset
Effect: Specifies the character encoding
Where to use it: <meta>, <script>

Instruction: checked
Effect: Specifies that an <input> element should be pre-selected when the page loads (for type="checkbox" or type="radio")
Where to use it: <input>

Name: Tabing order
Definition: The order in which UI elements are accessed through pressing tab
Page: https://www.w3schools.com/tags/ref_attributes.asp
Context: HTML