Files
2020-12-05 21:29:49 +01:00

38 lines
3.8 KiB
Plaintext

align align [Deprecated since HTML4.01] [Obsolete since HTML5]\n\nUse the vertical-align CSS property instead.\n\nThe alignment of the image with respect to its surrounding context.
alt
border border [Deprecated since HTML4.01] [Obsolete since HTML5]\n\nThe width of a border around the image.
crossorigin
height height\n\nThe height of the image in HTML5 CSS pixels, or HTML 4 in pixels or as a percentage.
hspace hspace [Deprecated since HTML4.01] [Obsolete since HTML5]\n\nThe number of pixels of white space to insert to the left and right of the image.
ismap
longdesc longdesc [HTML4 only]\n\nThe URL of a description of the image to be displayed, which supplements the alt text. In HTML5, use a regular <a> element to link to the description.
name name [Deprecated since HTML4.01] [Obsolete since HTML5]\n\nA name for the element. It is supported in HTML 4 only for backward compatibility. Use the id attribute instead.
onabort Script to be run on abort
oncanplay [HTML5]\n\nScript to be run when a file is ready to start playing (when it has buffered enough to begin)
oncanplaythrough [HTML5]\n\nScript to be run when a file can be played all the way to the end without pausing for buffering
oncuechange [HTML5]\n\nScript to be run when the cue changes in a <track> element
ondurationchange [HTML5]\n\nScript to be run when the length of the media changes
onemptied [HTML5]\n\nScript to be run when something bad happens and the file is suddenly unavailable (like unexpectedly disconnects)
onended [HTML5]\n\nScript to be run when the media has reach the end (a useful event for messages like "thanks for listening")
onerror [HTML5]\n\nScript to be run when an error occurs when the file is being loaded
onloadeddata [HTML5]\n\nScript to be run when media data is loaded
onloadedmetadata [HTML5]\n\nScript to be run when meta data (like dimensions and duration) are loaded
onloadstart [HTML5]\n\nScript to be run just as the file begins to load before anything is actually loaded
onpause [HTML5]\n\nScript to be run when the media is paused either by the user or programmatically
onplay [HTML5]\n\nScript to be run when the media is ready to start playing
onplaying [HTML5]\n\nScript to be run when the media actually has started playing
onprogress [HTML5]\n\nScript to be run when the browser is in the process of getting the media data
onratechange [HTML5]\n\nScript to be run each time the playback rate changes (like when a user switches to a slow motion or fast forward mode)
onseeked [HTML5]\n\nScript to be run when the seeking attribute is set to false indicating that seeking has ended
onseeking [HTML5]\n\nScript to be run when the seeking attribute is set to true indicating that seeking is active
onstalled [HTML5]\n\nScript to be run when the browser is unable to fetch the media data for whatever reason
onsuspend [HTML5]\n\nScript to be run when fetching the media data is stopped before it is completely loaded for whatever reason
ontimeupdate [HTML5]\n\nScript to be run when the playing position has changed (like when the user fast forwards to a different point in the media)
onvolumechange [HTML5]\n\nScript to be run each time the volume is changed which (includes setting the volume to "mute")
onwaiting [HTML5]\n\nScript to be run when the media has paused but is expected to resume (like when the media pauses to buffer more data)
sizes
src src\n\nImage URL, this attribute is obligatory for the <img> element. On browsers supporting srcset, src is ignored if this one is provided.
srcset
usemap usemap\n\nThe partial URL (starting with '#') of an image map associated with the element.\n\nUsage note: \nYou cannot use this attribute if the <img> element is a descendant of an <a> or <button> element.
vspace vspace [Deprecated since HTML4.01] [Obsolete since HTML5]\n\nThe number of pixels of white space to insert above and below the image.
width width\n\nThe width of the image in pixels or percent.