package html
- Alphabetic
- Public
- All
Value Members
- object * extends Tag
- object _a_attr
- object _abbr_attr
- object _accept_attr
- object _action_attr
- object _address_attr
- object _alt_attr
- object _area_attr
- object _aria_attr
- object _article_attr
- object _aside_attr
- object _async_attr
- object _audio_attr
- object _autoFocus_attr
- object _b_attr
- object _base_attr
- object _bdi_attr
- object _bdo_attr
- object _big_attr
- object _blockquote_attr
- object _body_attr
- object _br_attr
- object _button_attr
- object _canvas_attr
- object _caption_attr
- object _capture_attr
- object _challenge_attr
- object _checked_attr
- object _cite_attr
- object _className_attr
- object _code_attr
- object _col_attr
- object _colgroup_attr
- object _cols_attr
- object _contentEditable_attr
- object _content_attr
- object _controls_attr
- object _coords_attr
- object _dangerouslySetInnerHTML_attr
- object _data_attr
- object _datalist_attr
- object _dd_attr
- object _defaultChecked_attr
- object _default_attr
- object _defer_attr
- object _del_attr
- object _details_attr
- object _dfn_attr
- object _dialog_attr
- object _dir_attr
- object _disabled_attr
- object _div_attr
- object _dl_attr
- object _download_attr
- object _draggable_attr
- object _dt_attr
- object _em_attr
- object _embed_attr
- object _fieldset_attr
- object _figcaption_attr
- object _figure_attr
- object _footer_attr
- object _form_attr
- object _h1_attr
- object _h2_attr
- object _h3_attr
- object _h4_attr
- object _h5_attr
- object _h6_attr
- object _head_attr
- object _header_attr
- object _headers_attr
- object _height_attr
- object _hidden_attr
- object _high_attr
- object _hr_attr
- object _href_attr
- object _htmlFor_attr
- object _html_attr
- object _i_attr
- object _icon_attr
- object _id_attr
- object _iframe_attr
- object _img_attr
- object _input_attr
- object _ins_attr
- object _integrity_attr
- object _kbd_attr
- object _key_attr
- object _keygen_attr
- object _kind_attr
- object _label_attr
- object _lang_attr
- object _legend_attr
- object _li_attr
- object _link_attr
- object _list_attr
- object _loop_attr
- object _low_attr
- object _main_attr
- object _manifest_attr
- object _map_attr
- object _mark_attr
- object _max_attr
- object _media_attr
- object _menu_attr
- object _menuitem_attr
- object _meta_attr
- object _meter_attr
- object _method_attr
- object _min_attr
- object _multiple_attr
- object _muted_attr
- object _name_attr
- object _nav_attr
- object _nonce_attr
- object _noscript_attr
- object _object_attr
- object _ol_attr
- object _onAbort_attr
- object _onAutoCompleteError_attr
- object _onAutoComplete_attr
- object _onBlur_attr
- object _onCanPlayThrough_attr
- object _onCanPlay_attr
- object _onCancel_attr
- object _onChange_attr
- object _onClick_attr
- object _onClose_attr
- object _onContextMenu_attr
- object _onCopy_attr
- object _onCueChange_attr
- object _onCut_attr
- object _onDoubleClick_attr
- object _onDragEnd_attr
- object _onDragEnter_attr
- object _onDragExit_attr
- object _onDragLeave_attr
- object _onDragOver_attr
- object _onDragStart_attr
- object _onDrag_attr
- object _onDrop_attr
- object _onDurationChange_attr
- object _onEmptied_attr
- object _onEnded_attr
- object _onError_attr
- object _onFocus_attr
- object _onInput_attr
- object _onInvalid_attr
- object _onKeyDown_attr
- object _onKeyPress_attr
- object _onKeyUp_attr
- object _onLoadStart_attr
- object _onLoad_attr
- object _onLoadedData_attr
- object _onLoadedMetadata_attr
- object _onMouseDown_attr
- object _onMouseEnter_attr
- object _onMouseLeave_attr
- object _onMouseMove_attr
- object _onMouseOut_attr
- object _onMouseOver_attr
- object _onMouseUp_attr
- object _onMouseWheel_attr
- object _onPaste_attr
- object _onPause_attr
- object _onPlay_attr
- object _onPlaying_attr
- object _onProgress_attr
- object _onRateChange_attr
- object _onReset_attr
- object _onResize_attr
- object _onScroll_attr
- object _onSeeked_attr
- object _onSeeking_attr
- object _onSelect_attr
- object _onShow_attr
- object _onSort_attr
- object _onStalled_attr
- object _onSubmit_attr
- object _onSuspend_attr
- object _onTimeUpdate_attr
- object _onToggle_attr
- object _onVolumeChange_attr
- object _onWaiting_attr
- object _on_attr
- object _open_attr
- object _optgroup_attr
- object _optimum_attr
- object _option_attr
- object _output_attr
- object _p_attr
- object _param_attr
- object _pattern_attr
- object _picture_attr
- object _placeholder_attr
- object _poster_attr
- object _pre_attr
- object _preload_attr
- object _profile_attr
- object _progress_attr
- object _q_attr
- object _readOnly_attr
- object _ref_attr
- object _rel_attr
- object _required_attr
- object _reversed_attr
- object _rows_attr
- object _rp_attr
- object _rt_attr
- object _ruby_attr
- object _s_attr
- object _samp_attr
- object _sandbox_attr
- object _scope_attr
- object _scoped_attr
- object _script_attr
- object _scrolling_attr
- object _section_attr
- object _select_attr
- object _selected_attr
- object _shape_attr
- object _size_attr
- object _sizes_attr
- object _small_attr
- object _source_attr
- object _span_attr
- object _spellCheck_attr
- object _src_attr
- object _star_attr
- object _start_attr
- object _step_attr
- object _strong_attr
- object _style_attr
- object _sub_attr
- object _summary_attr
- object _sup_attr
- object _suppressContentEditableWarning_attr
- object _tabIndex_attr
- object _table_attr
- object _target_attr
- object _tbody_attr
- object _td_attr
- object _textarea_attr
- object _tfoot_attr
- object _th_attr
- object _thead_attr
- object _time_attr
- object _title_attr
- object _tr_attr
- object _track_attr
- object _type_attr
- object _u_attr
- object _ul_attr
- object _value_attr
- object _var_attr
- object _video_attr
- object _wbr_attr
- object _width_attr
- object _wrap_attr
- object a extends Tag
- object abbr extends Tag
-
object
accept extends Attr
form - A comma-separated list of content types that the server accepts.
form - A comma-separated list of content types that the server accepts.
Usage note: This attribute has been removed in HTML5 and should no longer be used. Instead, use the
accept
attribute of the specific<input>
element. input - If the value of the type attribute isfile
, then this attribute will indicate the types of files that the server accepts, otherwise it will be ignored. The value must be a comma-separated list of unique content type specifiers: -
object
action extends Attr
The URI of a program that processes the form information.
The URI of a program that processes the form information. This value can be overridden by a
formaction
attribute on a<button>
or<input>
element. - object address extends Tag
-
object
alt extends Attr
img - This attribute defines the alternative text describing the image.
img - This attribute defines the alternative text describing the image. Users will see this text displayed if the image URL is wrong, the image is not in one of the supported formats, or if the image is not yet downloaded.
Browsers do not always display the image referenced by the element. This is the case for non-graphical browsers (including those used by people with vision impairments), if the user chooses not to display images, or if the browser cannot display the image because it is invalid or an unsupported type. In these cases, the browser may replace the image with the text defined in this element's
alt
attribute. You should, for these reasons and others, provide a useful value foralt
whenever possible.Omitting this attribute altogether indicates that the image is a key part of the content, and no textual equivalent is available. Setting this attribute to an empty string (
alt="")
indicates that this image is not a key part of the content, and that non-visual browsers may omit it from rendering. area - A text string alternative to display on browsers that do not display images. The text should be phrased so that it presents the user with the same kind of choice as the image would offer when displayed without the alternative text. In HTML4, this attribute is required, but may be the empty string (""). In HTML5, this attribute is required only if the href attribute is used. - object area extends Tag
- object aria extends Attr
- object article extends Tag
- object aside extends Tag
-
object
async extends AttrPair[_async_attr.type] with Attr
A boolean attribute indicating that the browser should, if possible, execute the script asynchronously.
A boolean attribute indicating that the browser should, if possible, execute the script asynchronously. This attribute must not be used if the
src
attribute is absent (i.e. for inline scripts). If it is included in this case it will have no effect.
Dynamically inserted scripts execute asynchronously by default, so to turn on synchronous execution (i.e. scripts execute in the order they were loaded) setasync=false
See Browser compatibility for notes on browser support. See also Async scripts for asm.js. - object audio extends Tag
- object autoFocus extends AttrPair[_autoFocus_attr.type] with Attr
- object b extends Tag
- object base extends Tag
- object bdi extends Tag
- object bdo extends Tag
- object big extends Tag
- object blockquote extends Tag
- object body extends Tag
- object br extends Tag
- object button extends Tag
- object canvas extends Tag
- object caption extends Tag
-
object
capture extends AttrPair[_capture_attr.type] with Attr
When the value of the type attribute is
file
, the presence of this Boolean attribute indicates that capture of media directly from the device's environment using a media capture mechanism is preferred. -
object
challenge extends Attr
A challenge string that is submitted along with the public key.
A challenge string that is submitted along with the public key. Defaults to an empty string if not specified.
-
object
checked extends AttrPair[_checked_attr.type] with Attr
menuitem - Boolean attribute which indicates whether the command is selected.
menuitem - Boolean attribute which indicates whether the command is selected. May only be used when the
type
attribute ischeckbox
orradio
. input -When the value of the type attribute is
radio
orcheckbox
, the presence of this Boolean attribute indicates that the control is selected by default, otherwise it is ignored.Unlike other browsers, Firefox will by default persist the dynamic checked state of an
<input>
across page loads. Use theautocomplete
attribute to control this feature. -
object
cite extends Tag with Attr
ins - This attribute defines the URI of a resource that explains the change, such as a link to meeting minutes or a ticket in a troubleshooting sytem.
ins - This attribute defines the URI of a resource that explains the change, such as a link to meeting minutes or a ticket in a troubleshooting sytem. q - The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote. del - A URI for a resource that explains the change (for example, meeting minutes). blockquote - A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.
-
object
className extends Attr
Is a space-separated list of the classes of the element.
Is a space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the class selectors or functions like the method
Document.getElementsByClassName()
. - object code extends Tag
- object col extends Tag
- object colgroup extends Tag
-
object
cols extends Attr
pre - Contains the preferred count of characters that a line should have.
pre - Contains the preferred count of characters that a line should have. It was a non-standard synonym of
width
. To achieve such an effect, use CSSwidth
instead. textarea - The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is20
(HTML5). -
object
content extends Attr
This attribute contains the value for the
http-equiv
orname
attribute, depending on which was used. - object contentEditable extends AttrPair[_contentEditable_attr.type] with Attr
-
object
controls extends AttrPair[_controls_attr.type] with Attr
audio - If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback.
audio - If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback. video - If this attribute is present, the browser will offer controls to allow the user to control video playback, including volume, seeking, and pause/resume playback.
-
object
coords extends Attr
a - For use with the below
shape
attribute, this attribute used a comma-separated list of numbers to define the coordinates of the link on the page.a - For use with the below
shape
attribute, this attribute used a comma-separated list of numbers to define the coordinates of the link on the page. area - A set of values specifying the coordinates of the hot-spot region. The number and meaning of the values depend upon the value specified for the shape attribute. For arect
or rectangle shape, the coords value is two x,y pairs: left, top, right, and bottom. For acircle
shape, the value isx,y,r
wherex,y
is a pair specifying the center of the circle andr
is a value for the radius. For apoly
or polygon shape, the value is a set of x,y pairs for each point in the polygon:x1,y1,x2,y2,x3,y3,
and so on. In HTML4, the values are numbers of pixels or percentages, if a percent sign (%) is appended; in HTML5, the values are numbers of CSS pixels. - object dangerouslySetInnerHTML extends Attr
-
object
data extends Tag with Attr
object - The address of the resource as a valid URL.
object - The address of the resource as a valid URL. At least one of data and type must be defined. a, abbr, address, area, article, aside, audio, b, base, bdi, bdo, big, blockquote, body, br, button, canvas, caption, cite, code, col, colgroup, data, datalist, dd, del, details, dfn, dialog, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, head, header, hr, html, i, iframe, img, input, ins, kbd, keygen, label, legend, li, link, main, map, mark, menu, menuitem, meta, meter, nav, noscript, object, ol, optgroup, option, output, p, param, picture, pre, progress, q, rp, rt, ruby, s, samp, script, section, select, small, source, span, strong, style, sub, summary, sup, table, tbody, td, textarea, tfoot, th, thead, time, title, tr, track, u, ul, var, video, wbr - Forms a class of attributes, called custom data attributes, that allow proprietary information to be exchanged between the HTML and its DOM representation that may be used by scripts. All such custom data are available via the
HTMLElement
interface of the element the attribute is set on. TheHTMLElement.dataset
property gives access to them. - object datalist extends Tag
- object dd extends Tag
-
object
default extends AttrPair[_default_attr.type] with Attr
menuitem - This Boolean attribute indicates use of the same command as the menu's subject element (such as a
button
orinput
).menuitem - This Boolean attribute indicates use of the same command as the menu's subject element (such as a
button
orinput
). track - This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. This may only be used on onetrack
element per media element. - object defaultChecked extends AttrPair[_defaultChecked_attr.type] with Attr
-
object
defer extends AttrPair[_defer_attr.type] with Attr
This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing
DOMContentLoaded
.This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing
DOMContentLoaded
. This attribute must not be used if thesrc
attribute is absent (i.e. for inline scripts), in this case it would have no effect. To achieve a similar effect for dynamically inserted scripts useasync=false
instead. Scripts with thedefer
attribute will execute in the order in which they appear in the document. - object del extends Tag
- object details extends Tag
- object dfn extends Tag
- object dialog extends Tag
-
object
dir extends Attr
bdo - Text direction in this element.
bdo - Text direction in this element. Possible values are:
ltr
: Indicates that the text should go in a left-to-right direction.rtl
: Indicates that the text should go in a right-to-left direction. a, abbr, address, area, article, aside, audio, b, base, bdi, bdo, big, blockquote, body, br, button, canvas, caption, cite, code, col, colgroup, data, datalist, dd, del, details, dfn, dialog, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, head, header, hr, html, i, iframe, img, input, ins, kbd, keygen, label, legend, li, link, main, map, mark, menu, menuitem, meta, meter, nav, noscript, object, ol, optgroup, option, output, p, param, picture, pre, progress, q, rp, rt, ruby, s, samp, script, section, select, small, source, span, strong, style, sub, summary, sup, table, tbody, td, textarea, tfoot, th, thead, time, title, tr, track, u, ul, var, video, wbr - Is an enumerated attribute indicating the directionality of the element's text. It can have the following values:ltr
, which means left to right and is to be used for languages that are written from the left to the right (like English);rtl
, which means right to left and is to be used for languages that are written from the right to the left (like Arabic);auto
, which let the user agent decides. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then apply that directionality to the whole element.
-
object
disabled extends AttrPair[_disabled_attr.type] with Attr
option - If this Boolean attribute is set, this option is not checkable.
option - If this Boolean attribute is set, this option is not checkable. Often browsers grey out such control and it won't receive any browsing event, like mouse clicks or focus-related ones. If this attribute is not set, the element can still be disabled if one of its ancestors is a disabled
<optgroup>
element. textarea - This Boolean attribute indicates that the user cannot interact with the control. (If this attribute is not specified, the control inherits its setting from the containing element, for example<fieldset>
; if there is no containing element with thedisabled
attribute set, then the control is enabled.) menuitem - Boolean attribute which indicates that the command is not available in the current state. Note thatdisabled
is distinct fromhidden
; thedisabled
attribute is appropriate in any context where a change in circumstances might render the command relevant. link - This attribute is used to disable a link relationship. In conjunction with scripting, this attribute could be used to turn on and off various style sheet relationships. Note: While there is nodisabled
attribute in the HTML standard, there is adisabled
attribute on theHTMLLinkElement
DOM object. The use ofdisabled
as an HTML attribute is non-standard and only used by some browsers (W3 #27677). Do not use it. To achieve a similar effect, use one of the following techniques: - If thedisabled
attribute has been added directly to the element on the page, do not include the<link>
element instead; - Set thedisabled
property of theStyleSheet
DOM object via scripting. keygen - This Boolean attribute indicates that the form control is not available for interaction. fieldset - If this Boolean attribute is set, the form controls that are its descendants, except descendants of its first optional<legend>
element, are disabled, i.e., not editable. They won't receive any browsing events, like mouse clicks or focus-related ones. Often browsers display such controls as gray. optgroup - If this Boolean attribute is set, none of the items in this option group is selectable. Often browsers grey out such control and it won't receive any browsing events, like mouse clicks or focus-related ones. select - This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for examplefieldset
; if there is no containing element with thedisabled
attribute set, then the control is enabled. input - This Boolean attribute indicates that the form control is not available for interaction. In particular, theclick
event will not be dispatched on disabled controls. Also, a disabled control's value isn't submitted with the form. Unlike other browsers, Firefox will by default persist the dynamic disabled state of an<input>
across page loads. Use theautocomplete
attribute to control this feature. button - This Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example<fieldset>
; if there is no containing element with the disabled attribute set, then the button is enabled. Firefox will, unlike other browsers, by default, persist the dynamic disabled state of a<button>
across page loads. Use theautocomplete
attribute to control this feature. - object div extends Tag
- object dl extends Tag
-
object
download extends AttrPair[_download_attr.type] with Attr
area - This attribute, if present, indicates that the author intends the hyperlink to be used for downloading a resource.
area - This attribute, if present, indicates that the author intends the hyperlink to be used for downloading a resource. See
<a>
for a full description of thedownload
attribute. a - This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). There are no restrictions on allowed values, though/
and\
are converted to underscores. Most file systems limit some punctuation in file names, and browsers will adjust the suggested name accordingly.Notes:
- This attribute only works for same-origin URLs.
- This attribute can be used with
blob:
URLs anddata:
URLs to download content generated by JavaScript, such as pictures created in an image-editor Web app. - If the HTTP header
Content-Disposition:
gives a different filename than this attribute, the HTTP header takes priority over this attribute. - If
Content-Disposition:
is set toinline
, Firefox prioritizesContent-Disposition
, like the filename case, while Chrome prioritizes thedownload
attribute.
-
object
draggable extends Attr
Is an enumerated attribute indicating whether the element can be dragged, using the Drag and Drop API.
Is an enumerated attribute indicating whether the element can be dragged, using the Drag and Drop API. It can have the following values:
true
, which indicates that the element may be draggedfalse
, which indicates that the element may not be dragged.
- object dt extends Tag
- object em extends Tag
- object embed extends Tag
- object fieldset extends Tag
- object figcaption extends Tag
- object figure extends Tag
- object footer extends Tag
-
object
form extends Tag with Attr
select - This attribute lets you specify the form element to which the select element is associated (that is, its "form owner").
select - This attribute lets you specify the form element to which the select element is associated (that is, its "form owner"). If this attribute is specified, its value must be the ID of a form element in the same document. This enables you to place select elements anywhere within a document, not just as descendants of their form elements. object - The form element, if any, that the object element is associated with (its form owner). The value of the attribute must be an ID of a
<form>
element in the same document. input - The form element that the input element is associated with (its form owner). The value of the attribute must be an id of a<form>
element in the same document. If this attribute is not specified, this<input>
element must be a descendant of a<form>
element. This attribute enables you to place<input>
elements anywhere within a document, not just as descendants of their form elements. An input can only be associated with one form. button - The form element that the button is associated with (its form owner). The value of the attribute must be the id attribute of a<form>
element in the same document. If this attribute is not specified, the<button>
element will be associated to an ancestor<form>
element, if one exists. This attribute enables you to associate<button>
elements to<form>
elements anywhere within a document, not just as descendants of<form>
elements. output - The form element that this element is associated with (its "form owner"). The value of the attribute must be an ID of a form element in the same document. If this attribute is not specified, the output element must be a descendant of a form element. This attribute enables you to place output elements anywhere within a document, not just as descendants of their form elements. label - The form element with which the label is associated (its form owner). If specified, the value of the attribute is the ID of a<form>
element in the same document. This lets you place label elements anywhere within a document, not just as descendants of their form elements.
This content attribute was removed from the HTML specification on April 28, 2016. However, scripts still have access to a read-only
HTMLLabelElement.form
attribute; it returns the form of which the label's associated control is a member, ornull
if the label is not associated with a control or the control isn't part of a form. textarea - The form element that the<textarea>
element is associated with (its "form owner"). The value of the attribute must be the ID of a form element in the same document. If this attribute is not specified, the<textarea>
element must be a descendant of a form element. This attribute enables you to place<textarea>
elements anywhere within a document, not just as descendants of their form elements. keygen - The form element that this element is associated with (its form owner). The value of the attribute must be anid
of a<form>
element in the same document. If this attribute is not specified, this element must be a descendant of a<form>
element. This attribute enables you to place<keygen>
elements anywhere within a document, not just as descendants of their form elements. meter - This attribute associates the element with aform
element that has ownership of themeter
element. For example, ameter
might be displaying a range corresponding to aninput
element oftype
number. This attribute is only used if themeter
element is being used as a form-associated element; even then, it may be omitted if the element appears as a descendant of aform
element. fieldset - This attribute has the value of the id attribute of the<form>
element it's related to. Its default value is the id of the nearest<form>
element it is a descendant of. - object h1 extends Tag
- object h2 extends Tag
- object h3 extends Tag
- object h4 extends Tag
- object h5 extends Tag
- object h6 extends Tag
- object head extends Tag
- object header extends Tag
-
object
headers extends Attr
th - This attribute contains a list of space-separated strings, each corresponding to the
id
attributes of other<th>
elements that relate to this element.th - This attribute contains a list of space-separated strings, each corresponding to the
id
attributes of other<th>
elements that relate to this element. td - This attribute contains a list of space-separated strings, each corresponding to the id attribute of the<th>
elements that apply to this element. -
object
height extends Attr
img - The intrinsic height of the image in pixels. In HTML 4, the height could be defined pixels or as a percentage.
img - The intrinsic height of the image in pixels. In HTML 4, the height could be defined pixels or as a percentage. In HTML5, however, the value must be in pixels. embed - The displayed height of the resource, in CSS pixels. -- (Absolute values only. NO percentages) canvas - The height of the coordinate space in CSS pixels. Defaults to 150. input - If the value of the type attribute is
image
, this attribute defines the height of the image displayed for the button. iframe - Indicates the height of the frame HTML5 in CSS pixels, or HTML 4.01 in pixels or as a percentage. video - The height of the video's display area, in CSS pixels. -- (Absolute values only. NO percentages) object - The height of the displayed resource, in CSS pixels. -- (Absolute values only. NO percentages) -
object
hidden extends AttrPair[_hidden_attr.type] with Attr
Is a Boolean attribute indicates that the element is not yet, or is no longer, relevant.
Is a Boolean attribute indicates that the element is not yet, or is no longer, relevant. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements. This attribute must not be used to hide content that could legitimately be shown.
-
object
high extends Attr
The lower numeric bound of the high end of the measured range.
The lower numeric bound of the high end of the measured range. This must be less than the maximum value (
max
attribute), and it also must be greater than the low value and minimum value (low
attribute and min attribute, respectively), if any are specified. If unspecified, or if greater than the maximum value, thehigh
value is equal to the maximum value. - object hr extends Tag
-
object
href extends Attr
a - Contains a URL or a URL fragment that the hyperlink points to.
a - Contains a URL or a URL fragment that the hyperlink points to. A URL fragment is a name preceded by a hash mark (
#
), which specifies an internal target location (an ID of an HTML element) within the current document. URLs are not restricted to Web (HTTP)-based documents, but can use any protocol supported by the browser. For example,file:
,ftp:
, andmailto:
work in most browsers. This attribute may be omitted (as of HTML5) to create a placeholder link. A placeholder link resembles a traditional hyperlink, but does not lead anywhere.Note: You can use
href="#top"
or the empty fragmenthref="#"
to link to the top of the current page. This behavior is specified by HTML5. area - The hyperlink target for the area. Its value is a valid URL. In HTML4, either this attribute or the nohref attribute must be present in the element. In HTML5, this attribute may be omitted; if so, the area element does not represent a hyperlink. link - This attribute specifies the URL of the linked resource. A URL might be absolute or relative. base - The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed. - object html extends Tag
-
object
htmlFor extends Attr
label - The ID of a labelable form-related element in the same document as the label element.
label - The ID of a labelable form-related element in the same document as the label element. The first such element in the document with an ID matching the value of the
for
attribute is the labeled control for this label element.
A label element can have both a
for
attribute and a contained control element, as long as thefor
attribute points to the contained control element. output - A list of IDs of other elements, indicating that those elements contributed input values to (or otherwise affected) the calculation. - object i extends Tag
-
object
icon extends Attr
Image URL, used to provide a picture to represent the command.
-
object
id extends Attr
Defines a unique identifier (ID) which must be unique in the whole document.
Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS).
- object iframe extends Tag
- object img extends Tag
- object input extends Tag
- object ins extends Tag
-
object
integrity extends Attr
script - Contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation.
script - Contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation. See Subresource Integrity. link - Contains inline metadata, a base64-encoded cryptographic hash of a resource (file) you’re telling the browser to fetch, that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation. See Subresource Integrity.
- object kbd extends Tag
- object key extends Attr
- object keygen extends Tag
-
object
kind extends Attr
How the text track is meant to be used.
How the text track is meant to be used. If omitted the default kind is
subtitles
. If the attribute is not present, it will use thesubtitles
. If the attribute contains an invalid value, it will usemetadata
. (Versions of Chrome earlier than 52 treated an invalid value assubtitles
.) The following keywords are allowed:subtitles
- Subtitles provide translation of content that cannot be understood by the viewer. For example dialogue or text that is not English in an English language film.
- Subtitles may contain additional content, usually extra background information. For example the text at the beginning of the Star Wars films, or the date, time, and location of a scene.
captions
- Closed captions provide a transcription and possibly a translation of audio.
- It may include important non-verbal information such as music cues or sound effects. It may indicate the cue's source (e.g. music, text, character).
- Suitable for users who are deaf or when the sound is muted.
descriptions
- Textual description of the video content.
- Suitable for users who are blind or where the video cannot be seen.
chapters
- Chapter titles are intended to be used when the user is navigating the media resource.
metadata
- Tracks used by scripts. Not visible to the user.
-
object
label extends Tag with Attr
menuitem - The name of the command as shown to the user.
menuitem - The name of the command as shown to the user. Required when a
command
attribute is not present. optgroup - The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used. menu - The name of the menu as shown to the user. Used within nested menus, to provide a label through which the submenu can be accessed. Must only be specified when the parent element is a<menu>
in the context menu state. option - This attribute is text for the label indicating the meaning of the option. If thelabel
attribute isn't defined, its value is that of the element text content. track - A user-readable title of the text track which is used by the browser when listing available text tracks. -
object
lang extends Attr
Participates in defining the language of the element, the language that non-editable elements are written in or the language that editable elements should be written in.
Participates in defining the language of the element, the language that non-editable elements are written in or the language that editable elements should be written in. The tag contains one single entry value in the format defined in the Tags for Identifying Languages (BCP47) IETF document. xml:lang has priority over it.
- object legend extends Tag
- object li extends Tag
- object link extends Tag
-
object
list extends Attr
Identifies a list of pre-defined options to suggest to the user.
Identifies a list of pre-defined options to suggest to the user. The value must be the id of a
<datalist>
element in the same document. The browser displays only options that are valid values for this input element. This attribute is ignored when the type attribute's value ishidden
,checkbox
,radio
,file
, or a button type. -
object
loop extends AttrPair[_loop_attr.type] with Attr
video - A Boolean attribute; if specified, we will, upon reaching the end of the video, automatically seek back to the start.
video - A Boolean attribute; if specified, we will, upon reaching the end of the video, automatically seek back to the start. audio - A Boolean attribute: if specified, will automatically seek back to the start upon reaching the end of the audio.
-
object
low extends Attr
The upper numeric bound of the low end of the measured range.
The upper numeric bound of the low end of the measured range. This must be greater than the minimum value (
min
attribute), and it also must be less than the high value and maximum value (high
attribute andmax
attribute, respectively), if any are specified. If unspecified, or if less than the minimum value, thelow
value is equal to the minimum value. - object main extends Tag
-
object
manifest extends Attr
Specifies the URI of a resource manifest indicating resources that should be cached locally.
Specifies the URI of a resource manifest indicating resources that should be cached locally. See Using the application cache for details.
- object map extends Tag
- object mark extends Tag
-
object
max extends Attr
meter - The upper numeric bound of the measured range.
meter - The upper numeric bound of the measured range. This must be greater than the minimum value (
min
attribute), if specified. If unspecified, the maximum value is 1. progress - This attribute describes how much work the task indicated by theprogress
element requires. Themax
attribute, if present, must have a value greater than zero and be a valid floating point number. The default value is 1. input - The maximum (numeric or date-time) value for this item, which must not be less than its minimum (min attribute) value. -
object
media extends Attr
source - Media query of the resource's intended media; this should be used only in a
<picture>
element. style - This attribute defines which media the style should apply to. Its value is a media query, which defaults toall
if the attribute is missing. link - This attribute specifies the media which the linked resource applies to. Its value must be a media query. This attribute is mainly useful when linking to external stylesheets by allowing the user agent to pick the best adapted one for the device it runs on. Usage note: - In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., media types and groups, where defined and allowed as values for this attribute, such asprint
,screen
,aural
,braille
. HTML5 extended this to any kind of media queries, which are a superset of the allowed values of HTML 4. - Browsers not supporting the CSS3 Media Queries won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4. area - A hint of the media for which the linked resource was designed, for exampleprint and screen
. If omitted, it defaults toall
. Use this attribute only if the href attribute is present.source - Media query of the resource's intended media; this should be used only in a
<picture>
element. style - This attribute defines which media the style should apply to. Its value is a media query, which defaults toall
if the attribute is missing. link - This attribute specifies the media which the linked resource applies to. Its value must be a media query. This attribute is mainly useful when linking to external stylesheets by allowing the user agent to pick the best adapted one for the device it runs on. Usage note: - In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., media types and groups, where defined and allowed as values for this attribute, such asprint
,screen
,aural
,braille
. HTML5 extended this to any kind of media queries, which are a superset of the allowed values of HTML 4. - Browsers not supporting the CSS3 Media Queries won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4. area - A hint of the media for which the linked resource was designed, for exampleprint and screen
. If omitted, it defaults toall
. Use this attribute only if the href attribute is present. - object menu extends Tag
- object menuitem extends Tag
- object meta extends Tag
- object meter extends Tag
-
object
method extends Attr
The HTTP method that the browser uses to submit the form.
The HTTP method that the browser uses to submit the form. Possible values are:
post
: Corresponds to the HTTP POST method ; form data are included in the body of the form and sent to the server.get
: Corresponds to the HTTP GET method; form data are appended to theaction
attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.
This value can be overridden by a
formmethod
attribute on a<button>
or<input>
element. -
object
min extends Attr
input - The minimum (numeric or date-time) value for this item, which must not be greater than its maximum (max attribute) value.
input - The minimum (numeric or date-time) value for this item, which must not be greater than its maximum (max attribute) value. meter - The lower numeric bound of the measured range. This must be less than the maximum value (
max
attribute), if specified. If unspecified, the minimum value is 0. -
object
multiple extends AttrPair[_multiple_attr.type] with Attr
input - This Boolean attribute indicates whether the user can enter more than one value.
input - This Boolean attribute indicates whether the user can enter more than one value. This attribute applies when the type attribute is set to
email
orfile
, otherwise it is ignored. select - This Boolean attribute indicates that multiple options can be selected in the list. If it is not specified, then only one option can be selected at a time. -
object
muted extends AttrPair[_muted_attr.type] with Attr
audio - A Boolean attribute which indicates whether the audio will be initially silenced.
audio - A Boolean attribute which indicates whether the audio will be initially silenced. Its default value is false. video - A Boolean attribute which indicates the default setting of the audio contained in the video. If set, the audio will be initially silenced. Its default value is false, meaning that the audio will be played when the video is played.
-
object
name extends Attr
param - Name of the parameter.
param - Name of the parameter. a - This attribute was required for anchors defining a possible target location within a page. In HTML 4.01,
id
andname
could be used simultaneously on a<a>
element as long as they have identical values.Usage note: This attribute is obsolete in HTML5, use the global attribute
id
instead. input, keygen - The name of the control, which is submitted with the form data. button - The name of the button, which is submitted with the form data. iframe - A name for the embedded browsing context (or frame). This can be used as the value of thetarget
attribute of an<a>
,<form>
or<base>
element, or the formtarget attribute of an<input>
or<button>
element. It can also be used as the value of thewindowName
parameter in thewindow.open()
method. map - The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be a compatibility-caseless match for the value of the name attribute of another map element in the same document. If the id attribute is also specified, both attributes must have the same value. img - A name for the element. It is supported in HTML 4 only for backward compatibility. Use theid
attribute instead. output - The name of the element. fieldset - The name associated with the group.
The label for the field set is given by the first
<legend>
element that is a child of this field set. form - The name of the form. In HTML 4, its use is deprecated (id
should be used instead). It must be unique among the forms in a document and not just an empty string in HTML 5. area - Define a names for the clickable area so that it can be scripted by older browsers. textarea - The name of the control. select - This attribute is used to specify the name of the control. object - The name of valid browsing context (HTML5), or the name of the control (HTML 4). meta - This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributesitemprop
,http-equiv
orcharset
is also set. This metadata name is associated with the value contained by thecontent
attribute. The possible values for the name attribute are: -application-name
defines the name of the application running in the web page. Note: - Browsers may use this to identify the application. It is different from the<title>
element, which usually contain the application name, but may also contain information like the document name or a status. - Simple web pages shouldn't define an application-name. -author
defines the name of the document's author. -description
contains a short and accurate summary of the content of the page. Several browsers, like Firefox and Opera, use this as the default description of bookmarked pages. -generator
contains the identifier of the software that generated the page. -keywords
contains words relevant to the page's content, separated by commas. -referrer
controls theReferer
HTTP header attached to requests sent from the document:Values for the content
attribute of<meta name="referrer">
no-referrer
Do not send a HTTP Referer
header.origin
Send the origin of the document. no-referrer-when-downgrade
Send the origin as referrer to URLs as secure as the current page, (https→https), but don't send a referrer to less secure URLs (https→http). This is the default behavior. origin-when-crossorigin
Send the full URL (stripped of parameters) for same-origin requests, but only send the origin for other cases. unsafe-URL
Send the full URL (stripped of parameters) for same-origin or cross-origin requests. always
,default
, andnever
for referrer. - Dynamically inserting<meta name="referrer">
(withdocument.write
orappendChild
) makes referrer behavior unpredictable. - When several conflicting policies are defined, the no-referrer policy is applied. The attribute may also have a value taken from the extended list defined on WHATWG Wiki MetaExtensions page. Although none have been formally accepted yet, a few commonly used names are: Finally, a few names are in common use, though not in the process of being standardized: -creator
defines the name of the creator of the document, such as an organization or institution. If there are more than one, several<meta>
elements should be used. -googlebot
, a synonym ofrobots
, but is only followed by Googlebot, the indexing crawler for Google. -publisher
defines the name of the document's publisher. -robots
defines the behavior that cooperative crawlers, or "robots", should use with the page. It is a comma-separated list of the values below:Values for the content of <meta name="robots">
Value Description Used by index
Allows the robot to index the page (default). All noindex
Requests the robot to not index the page. All follow
Allows the robot to follow the links on the page (default). All nofollow
Requests the robot to not follow the links on the page. All none
Equivalent to noindex, nofollow
Google noodp
Prevents using the Open Directory Project description, if any, as the page description in search engine results. Google, Yahoo, Bing noarchive
Requests the search engine not cache the page content. Google, Yahoo, Bing nosnippet
Prevents displaying any description of the page in search engine results. Google, Bing noimageindex
Requests this page not appear as the referring page of an indexed image. Google nocache
Synonym of noarchive
.Bing noindex
will work, but only after the robot visits the page again. Ensure that therobots.txt
file is not preventing revisits. - Some values are mutually exclusive, likeindex
andnoindex
, orfollow
andnofollow
. In these cases the robot's behavior is undefined and may vary between them. - Some crawler robots, like Google, Yahoo, and Bing, support the same values for the HTTP headerX-Robot-Tags
; this allows non-HTML documents like images to use these rules. -slurp
, a synonym ofrobots
, but only for Slurp, the crawler for Yahoo Search. -viewport
, which gives hints about the size of the initial size of the viewport. Used by mobile devices only.Values for the content of <meta name="viewport">
Value Possible subvalues Description width
A positive integer number, or the text device-width
Defines the pixel width of the viewport, or allows the viewport to adapt to the device's screen width. height
A positive integer, or the text device-height
Defines the height of the viewport. Not used by any browser. initial-scale
A positive number between 0.0
and10.0
Defines the ratio between the device width ( device-width
in portrait mode ordevice-height
in landscape mode) and the viewport size.maximum-scale
A positive number between 0.0
and10.0
Defines the maximum amount to zoom in. It must be greater or equal to the minimum-scale
or the behavior is undefined. Browser settings can ignore this rule, and iOS10+ ignores it by default.minimum-scale
A positive number between 0.0
and10.0
Defines the minimum zoom level. It must be smaller or equal to the maximum-scale
or the behavior is undefined. Browser settings can ignore this rule, and iOS10+ ignores it by default.user-scalable
yes
orno
If set to no
, the user is not able to zoom in the webpage. The default isyes
. Browser settings can ignore this rule, and iOS10+ ignores it by default.Specification Status Comment CSS Device Adaptation
The definition of '<meta name="viewport">' in that specification.Working Draft Non-normatively describes the Viewport META element @viewport
Notes: - Though unstandardized, this declaration is respected by most mobile browsers due to de-facto dominance. - The default values may vary between devices and browsers. - To learn about this declaration in Firefox for Mobile, see this article. - object nav extends Tag
-
object
nonce extends Attr
style - A cryptographic nonce (number used once) to whitelist inline styles in a style-src Content-Security-Policy.
style - A cryptographic nonce (number used once) to whitelist inline styles in a style-src Content-Security-Policy. The server must generate a unique nonce value each time it transmits a policy. It is critical to provide an unguessable nonce, as bypassing a resource’s policy is otherwise trivial. script - A cryptographic nonce (number used once) to whitelist inline scripts in a script-src Content-Security-Policy. The server must generate a unique nonce value each time it transmits a policy. It is critical to provide an unguessable nonce, as bypassing a resource’s policy is otherwise trivial.
- object noscript extends Tag
- object object extends Tag
- object ol extends Tag
- object on extends Attr
- object onAbort extends Attr
- object onAutoComplete extends Attr
- object onAutoCompleteError extends Attr
- object onBlur extends Attr
- object onCanPlay extends Attr
- object onCanPlayThrough extends Attr
- object onCancel extends Attr
- object onChange extends Attr
- object onClick extends Attr
- object onClose extends Attr
- object onContextMenu extends Attr
- object onCopy extends Attr
- object onCueChange extends Attr
- object onCut extends Attr
- object onDoubleClick extends Attr
- object onDrag extends Attr
- object onDragEnd extends Attr
- object onDragEnter extends Attr
- object onDragExit extends Attr
- object onDragLeave extends Attr
- object onDragOver extends Attr
- object onDragStart extends Attr
- object onDrop extends Attr
- object onDurationChange extends Attr
- object onEmptied extends Attr
- object onEnded extends Attr
- object onError extends Attr
- object onFocus extends Attr
- object onInput extends Attr
- object onInvalid extends Attr
- object onKeyDown extends Attr
- object onKeyPress extends Attr
- object onKeyUp extends Attr
- object onLoad extends Attr
- object onLoadStart extends Attr
- object onLoadedData extends Attr
- object onLoadedMetadata extends Attr
- object onMouseDown extends Attr
- object onMouseEnter extends Attr
- object onMouseLeave extends Attr
- object onMouseMove extends Attr
- object onMouseOut extends Attr
- object onMouseOver extends Attr
- object onMouseUp extends Attr
- object onMouseWheel extends Attr
- object onPaste extends Attr
- object onPause extends Attr
- object onPlay extends Attr
- object onPlaying extends Attr
- object onProgress extends Attr
- object onRateChange extends Attr
- object onReset extends Attr
- object onResize extends Attr
- object onScroll extends Attr
- object onSeeked extends Attr
- object onSeeking extends Attr
- object onSelect extends Attr
- object onShow extends Attr
- object onSort extends Attr
- object onStalled extends Attr
- object onSubmit extends Attr
- object onSuspend extends Attr
- object onTimeUpdate extends Attr
- object onToggle extends Attr
- object onVolumeChange extends Attr
- object onWaiting extends Attr
-
object
open extends AttrPair[_open_attr.type] with Attr
dialog - Indicates that the dialog is active and available for interaction.
dialog - Indicates that the dialog is active and available for interaction. When the open attribute is not set, it shouldn't be shown to the user. details - This Boolean attribute indicates whether the details will be shown to the user on page load. Default is
false
and so details will be hidden. - object optgroup extends Tag
-
object
optimum extends Attr
This attribute indicates the optimal numeric value.
This attribute indicates the optimal numeric value. It must be within the range (as defined by the
min
attribute andmax
attribute). When used with thelow
attribute andhigh
attribute, it gives an indication where along the range is considered preferable. For example, if it is between themin
attribute and thelow
attribute, then the lower range is considered preferred. - object option extends Tag
- object output extends Tag
- object p extends Tag
- object param extends Tag
-
object
pattern extends Attr
A regular expression that the control's value is checked against.
A regular expression that the control's value is checked against. The pattern must match the entire value, not just some subset. Use the title attribute to describe the pattern to help the user. This attribute applies when the value of the type attribute is
text
,search
,tel
,url
,email
, orpassword
, otherwise it is ignored. The regular expression language is the same as JavaScriptRegExp
algorithm, with the'u'
parameter that makes it treat the pattern as a sequence of unicode code points. The pattern is not surrounded by forward slashes. - object picture extends Tag
-
object
placeholder extends Attr
textarea - A hint to the user of what can be entered in the control.
textarea - A hint to the user of what can be entered in the control. Carriage returns or line-feeds within the placeholder text must be treated as line breaks when rendering the hint. input - A hint to the user of what can be entered in the control . The placeholder text must not contain carriage returns or line-feeds.
Note: Do not use the
placeholder
attribute instead of a<label>
element, their purposes are different. The<label>
attribute describes the role of the form element (i.e. it indicates what kind of information is expected), and theplaceholder
attribute is a hint about the format that the content should take. There are cases in which theplaceholder
attribute is never displayed to the user, so the form must be understandable without it. -
object
poster extends Attr
A URL indicating a poster frame to show until the user plays or seeks.
A URL indicating a poster frame to show until the user plays or seeks. If this attribute isn't specified, nothing is displayed until the first frame is available; then the first frame is shown as the poster frame.
- object pre extends Tag
-
object
preload extends Attr
audio - This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience.
audio - This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:
none
: indicates that the audio should not be preloaded;metadata
: indicates that only audio metadata (e.g. length) is fetched;auto
: indicates that the whole audio file could be downloaded, even if the user is not expected to use it;- the empty string: synonym of the
auto
value.
If not set, its default value is browser-defined (i.e. each browser may have its own default value). The spec advises it to be set to
metadata
.Usage notes:
- The
autoplay
attribute has precedence overpreload
. Ifautoplay
is specified, the browser would obviously need to start downloading the audio for playback. - The browser is not forced by the specification to follow the value of this attribute; it is a mere hint. video - This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:
none
: indicates that the video should not be preloaded.metadata
: indicates that only video metadata (e.g. length) is fetched.auto
: indicates that the whole video file could be downloaded, even if the user is not expected to use it.- the empty string: synonym of the
auto
value.
If not set, its default value is browser-defined (i.e. each browser may have its default value). The spec advises it to be set to
metadata
.Usage notes:
- The
autoplay
attribute has precedence overpreload
. Ifautoplay
is specified, the browser would obviously need to start downloading the video for playback. - The specification does not force the browser to follow the value of this attribute; it is a mere hint.
-
object
profile extends Attr
The URIs of one or more metadata profiles, separated by white space.
- object progress extends Tag
- object q extends Tag
- object readOnly extends AttrPair[_readOnly_attr.type] with Attr
- object ref extends Attr
-
object
rel extends Attr
area - For anchors containing the href attribute, this attribute specifies the relationship of the target object to the link object.
area - For anchors containing the href attribute, this attribute specifies the relationship of the target object to the link object. The value is a comma-separated list of link types values. The values and their semantics will be registered by some authority that might have meaning to the document author. The default relationship, if no other is given, is void. Use this attribute only if the href attribute is present. link - This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the link types values. The most common use of this attribute is to specify a link to an external style sheet: the rel attribute is set to
stylesheet
, and the href attribute is set to the URL of an external style sheet to format the page. WebTV also supports the use of the valuenext
for rel to preload the next page in a document series. a - Specifies the relationship of the target object to the link object. The value is a space-separated list of link types. -
object
required extends AttrPair[_required_attr.type] with Attr
textarea - This attribute specifies that the user must fill in a value before submitting a form.
textarea - This attribute specifies that the user must fill in a value before submitting a form. select - A Boolean attribute indicating that an option with a non-empty string value must be selected. input - This attribute specifies that the user must fill in a value before submitting a form. It cannot be used when the type attribute is
hidden
,image
, or a button type (submit
,reset
, orbutton
). The:optional
and:required
CSS pseudo-classes will be applied to the field as appropriate. -
object
reversed extends AttrPair[_reversed_attr.type] with Attr
This Boolean attribute specifies that the items of the list are specified in reversed order.
-
object
rows extends Attr
The number of visible text lines for the control.
- object rp extends Tag
- object rt extends Tag
- object ruby extends Tag
- object s extends Tag
- object samp extends Tag
-
object
sandbox extends Attr
If specified as an empty string, this attribute enables extra restrictions on the content that can appear in the inline frame.
If specified as an empty string, this attribute enables extra restrictions on the content that can appear in the inline frame. The value of the attribute can either be an empty string (all the restrictions are applied), or a space-separated list of tokens that lift particular restrictions. Valid tokens are:
allow-forms
: Allows the embedded browsing context to submit forms. If this keyword is not used, this operation is not allowed.allow-modals
: Allows the embedded browsing context to open modal windows.allow-orientation-lock
: Allows the embedded browsing context to disable the ability to lock the screen orientation.allow-pointer-lock
: Allows the embedded browsing context to use the Pointer Lock API.allow-popups
: Allows popups (like fromwindow.open
,target="_blank"
,showModalDialog
). If this keyword is not used, that functionality will silently fail.allow-popups-to-escape-sandbox
: Allows a sandboxed document to open new windows without forcing the sandboxing flags upon them. This will allow, for example, a third-party advertisement to be safely sandboxed without forcing the same restrictions upon a landing page.allow-presentation
: Allows embedders to have control over whether an iframe can start a presentation session.allow-same-origin
: Allows the content to be treated as being from its normal origin. If this keyword is not used, the embedded content is treated as being from a unique origin.allow-scripts
: Allows the embedded browsing context to run scripts (but not create pop-up windows). If this keyword is not used, this operation is not allowed.allow-top-navigation
: Allows the embedded browsing context to navigate (load) content to the top-level browsing context. If this keyword is not used, this operation is not allowed.allow-top-navigation-by-user-activation
: Allows the embedded browsing context to navigate (load) content to the top-level browsing context only when initiated by a user gesture. If this keyword is not used, this operation is not allowed.
Note:
- When the embedded document has the same origin as the main page, it is strongly discouraged to use both
allow-scripts
andallow-same-origin
at the same time, as that allows the embedded document to programmatically remove thesandbox
attribute. Although it is accepted, this case is no more secure than not using thesandbox
attribute. - Sandboxing in general is only of minimal help if the attacker can arrange for the potentially hostile content to be displayed in the user's browser outside a sandboxed
iframe
. It is recommended that such content should be served from a separate dedicated domain, to limit the potential damage. - The
sandbox
attribute is not supported in Internet Explorer 9 and earlier versions.
-
object
scope extends Attr
th - This enumerated attribute defines the cells that the header (defined in the
<th>
) element relates to.th - This enumerated attribute defines the cells that the header (defined in the
<th>
) element relates to. It may have the following values:row
: The header relates to all cells of the row it belongs to.col
: The header relates to all cells of the column it belongs to.rowgroup
: The header belongs to a rowgroup and relates to all of its cells. These cells can be placed to the right or the left of the header, depending on the value of thedir
attribute in the<table>
element.colgroup
: The header belongs to a colgroup and relates to all of its cells.auto
td -
-
object
scoped extends AttrPair[_scoped_attr.type] with Attr
Specifies that the styles only apply to this element's parent element and that element's child elements.
- object script extends Tag
-
object
scrolling extends Attr
Enumerated attribute indicating when the browser should provide a scroll bar (or other scrolling device) for the frame:
Enumerated attribute indicating when the browser should provide a scroll bar (or other scrolling device) for the frame:
auto
: Only when needed.yes
: Always provide a scroll bar.no
: Never provide a scroll bar.
- object section extends Tag
- object select extends Tag
-
object
selected extends AttrPair[_selected_attr.type] with Attr
If present, this Boolean attribute indicates that the option is initially selected.
-
object
shape extends Attr
a - This attribute was used to define a region for hyperlinks to create an image map.
a - This attribute was used to define a region for hyperlinks to create an image map. The values are
circle
,default
,polygon
, andrect
. The format of the coords attribute depends on the value of shape. Forcircle
, the value isx,y,r
wherex
andy
are the pixel coordinates for the center of the circle andr
is the radius value in pixels. Forrect
, the coords attribute should bex,y,w,h
. Thex,y
values define the upper-left-hand corner of the rectangle, whilew
andh
define the width and height respectively. A value ofpolygon
for shape requiresx1,y1,x2,y2,...
values for coords. Each of thex,y
pairs defines a point in the polygon, with successive points being joined by straight lines and the last point joined to the first. The valuedefault
for shape requires that the entire enclosed area, typically an image, be used.Note: Use the
usemap
attribute for the<img>
element and the associated<map>
element to define hotspots instead of theshape
attribute. area - The shape of the associated hot spot. The specifications for HTML 5 and HTML 4 define the valuesrect
, which defines a rectangular region;circle
, which defines a circular region;poly
, which defines a polygon; anddefault
, which indicates the entire region beyond any defined shapes. Many browsers, notably Internet Explorer 4 and higher, supportcirc
,polygon
, andrectangle
as valid values for shape; these values are . -
object
size extends Attr
select - If the control is presented as a scrolled list box, this attribute represents the number of rows in the list that should be visible at one time.
select - If the control is presented as a scrolled list box, this attribute represents the number of rows in the list that should be visible at one time. Browsers are not required to present a select element as a scrolled list box. The default value is 0. input - The initial size of the control. This value is in pixels unless the value of the type attribute is
text
orpassword
, in which case it is an integer number of characters. Starting in HTML5, this attribute applies only when the type attribute is set totext
,search
,tel
,url
,email
, orpassword
, otherwise it is ignored. In addition, the size must be greater than zero. If you do not specify a size, a default value of 20 is used. HTML5 simply states "the user agent should ensure that at least that many characters are visible", but different characters can have different widths in certain fonts. In some browsers, a certain string with x characters will not be entirely visible even if size is defined to at least x. hr - Sets the height, in pixels, of the rule. -
object
sizes extends Attr
img - A list of one or more strings separated by commas indicating a set of source sizes.
img - A list of one or more strings separated by commas indicating a set of source sizes. Each source size consists of:
- a media condition. This must be omitted for the last item.
- a source size value.
Source size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the
srcset
attribute, when those sources are described using width ('w
') descriptors. The selected source size affects the intrinsic size of the image (the image’s display size if no CSS styling is applied). If thesrcset
attribute is absent, or contains no values with a width (w
) descriptor, then thesizes
attribute has no effect. source - Is a list of source sizes that describes the final rendered width of the image represented by the source. Each source size consists of a comma-separated list of media condition-length pairs. This information is used by the browser to determine, before laying the page out, which image defined insrcset
to use.
Thesizes
attribute has an effect only when the<source>
element is the direct child of a<picture>
element. link - This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if therel
contains theicon
link types value. It may have the following values: -any
, meaning that the icon can be scaled to any size as it is in a vectorial format, likeimage/svg+xml
. - a white-space separated list of sizes, each in the format<width in pixels>x<height in pixels>
or<width in pixels>X<height in pixels>
. Each of these sizes must be contained in the resource. Usage note: - Most icon format are only able to store one single icon; therefore most of the time thesizes
contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO being more ubiquitous, you should use it. - Apple's iOS does not support this attribute, hence Apple's iPhone and iPad use special, non-standard link types values to define icon to be used as Web Clip or start-up placeholder:apple-touch-icon
andapple-touch-startup-icon
. - object small extends Tag
- object source extends Tag
-
object
span extends Tag with Attr
col - This attribute contains a positive integer indicating the number of consecutive columns the
<col>
element spans.col - This attribute contains a positive integer indicating the number of consecutive columns the
<col>
element spans. If not present, its default value is1
. colgroup - This attribute contains a positive integer indicating the number of consecutive columns the<colgroup>
element spans. If not present, its default value is1
.Note: This attribute is applied on the attributes of the column group, it has no effect on the CSS styling rules associated with it or, even more, to the cells of the column's members of the group.
- The
span
attribute may not be present if there are one or more<col>
elements within the<colgroup>
.
- The
- object spellCheck extends AttrPair[_spellCheck_attr.type] with Attr
-
object
src extends Attr
track - Address of the track (
.vtt
file).track - Address of the track (
.vtt
file). Must be a valid URL. This attribute must be defined. source - Required for<audio>
and<video>
, address of the media resource. The value of this attribute is ignored when the<source>
element is placed inside a<picture>
element. video - The URL of the video to embed. This is optional; you may instead use the<source>
element within the video block to specify the video to embed. audio - The URL of the audio to embed. This is subject to HTTP access controls. This is optional; you may instead use the<source>
element within the audio block to specify the audio to embed. img - The image URL. This attribute is mandatory for the<img>
element. On browsers supportingsrcset
,src
is treated like a candidate image with a pixel density descriptor1x
unless an image with this pixel density descriptor is already defined insrcset,
or unlesssrcset
contains 'w
' descriptors. input - If the value of the type attribute isimage
, this attribute specifies a URI for the location of an image to display on the graphical submit button, otherwise it is ignored. iframe - The URL of the page to embed. Use 'about:blank' for empty pages that conform to Same-Origin Policy. embed - The URL of the resource being embedded. script - This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document. If ascript
element has asrc
attribute specified, it should not have a script embedded inside its tags. -
object
start extends Attr
This integer attribute specifies the start value for numbering the individual list items.
This integer attribute specifies the start value for numbering the individual list items. Although the ordering type of list elements might be Roman numerals, such as XXXI, or letters, the value of start is always represented as a number. To start numbering elements from the letter "C", use
<ol start="3">
.Note: This attribute was deprecated in HTML4, but reintroduced in HTML5.
-
object
step extends Attr
Works with the min and max attributes to limit the increments at which a numeric or date-time value can be set.
Works with the min and max attributes to limit the increments at which a numeric or date-time value can be set. It can be the string
any
or a positive floating point number. If this attribute is not set toany
, the control accepts only values at multiples of the step value greater than the minimum. - object strong extends Tag
-
object
style extends Tag with Attr
Contains CSS styling declarations to be applied to the element.
- object sub extends Tag
-
object
summary extends Tag with Attr
This attribute defines an alternative text that summarizes the content of the table.
This attribute defines an alternative text that summarizes the content of the table. Typically, it allows visually impaired people who are browsing the web with a Braille screen, to acquire information about the table. If the information added by this attribute is also useful to people who are not visually impaired, consider using the
<caption>
instead. The summary attribute is not mandatory and may be omitted when a<caption>
element fulfills its role. Usage Note: Do not use this attribute, as it has been deprecated. Instead, choose one of these methods to add a description of a table: - Use prose around the table (this method is less semantic). - Add a description in the table's<caption>
element. - Add a description in a<details>
element, inside the table's<caption>
element. - Include the<table>
element in a<figure>
element and add the description in prose next to it. - Include the<table>
element in a<figure>
element and add the description in prose inside a<figcaption>
element. - Adjust the table so that a description is not needed (e.g. use<th>
and<thead>
elements). - object sup extends Tag
- object suppressContentEditableWarning extends AttrPair[_suppressContentEditableWarning_attr.type] with Attr
- object tabIndex extends Attr
- object table extends Tag
-
object
target extends Attr
a - Specifies where to display the linked URL.
a - Specifies where to display the linked URL. It is a name of, or keyword for, a browsing context: a tab, window, or
<iframe>
. The following keywords have special meanings:_self
: Load the URL into the same browsing context as the current one. This is the default behavior._blank
: Load the URL into a new browsing context. This is usually a tab, but users can configure browsers to use new windows instead._parent
: Load the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as_self
._top
: Load the URL into the top-level browsing context (that is, the "highest" browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this behaves the same way as_self
.
Note: When using
target
, consider addingrel="noopener noreferrer"
to avoid exploitation of thewindow.opener
API. base - A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a browsing context (for example: tab, window, or inline frame). The following keywords have special meanings:_self
: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified._blank
: Load the result into a new unnamed browsing context._parent
: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as_self
._top
: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as_self
. area - This attribute specifies where to display the linked resource. In HTML4, this is the name of, or a keyword for, a frame. In HTML5, it is a name of, or keyword for, a browsing context (for example, tab, window, or inline frame). The following keywords have special meanings:_self
: Load the response into the same HTML4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified._blank
: Load the response into a new unnamed HTML4 window or HTML5 browsing context._parent
: Load the response into the HTML4 frameset parent of the current frame or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as_self
._top
: In HTML4: Load the response into the full, original window, canceling all other frames. In HTML5: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as_self
. Use this attribute only if the href attribute is present. form - A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name/keyword for a frame. In HTML5, it is a name/keyword for a browsing context (for example, tab, window, or inline frame). The following keywords have special meanings:_self
: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified._blank
: Load the response into a new unnamed HTML 4 window or HTML5 browsing context._parent
: Load the response into the HTML 4 frameset parent of the current frame, or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as_self
._top
: HTML 4: Load the response into the full original window, and cancel all other frames. HTML5: Load the response into the top-level browsing context (i.e., the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as_self
.- iframename: The response is displayed in a named
<iframe>
.
HTML5: This value can be overridden by a
formtarget
attribute on a<button>
or<input>
element. link - Defines the frame or window name that has the defined linking relationship or that will show the rendering of any linked resource. - object tbody extends Tag
- object td extends Tag
- object textarea extends Tag
- object tfoot extends Tag
- object th extends Tag
- object thead extends Tag
- object time extends Tag
-
object
title extends Tag with Attr
a, abbr, address, area, article, aside, audio, b, base, bdi, bdo, big, blockquote, body, br, button, canvas, caption, cite, code, col, colgroup, data, datalist, dd, del, details, dfn, dialog, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, head, header, hr, html, i, iframe, img, input, ins, kbd, keygen, label, legend, li, link, main, map, mark, menu, menuitem, meta, meter, nav, noscript, object, ol, optgroup, option, output, p, param, picture, pre, progress, q, rp, rt, ruby, s, samp, script, section, select, small, source, span, strong, style, sub, summary, sup, table, tbody, td, textarea, tfoot, th, thead, time, title, tr, track, u, ul, var, video, wbr - Contains a text representing advisory information related to the element it belongs to.
a, abbr, address, area, article, aside, audio, b, base, bdi, bdo, big, blockquote, body, br, button, canvas, caption, cite, code, col, colgroup, data, datalist, dd, del, details, dfn, dialog, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, head, header, hr, html, i, iframe, img, input, ins, kbd, keygen, label, legend, li, link, main, map, mark, menu, menuitem, meta, meter, nav, noscript, object, ol, optgroup, option, output, p, param, picture, pre, progress, q, rp, rt, ruby, s, samp, script, section, select, small, source, span, strong, style, sub, summary, sup, table, tbody, td, textarea, tfoot, th, thead, time, title, tr, track, u, ul, var, video, wbr - Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip. style - Specifies alternative style sheet sets. link - The
title
attribute has special semantics on the<link>
element. When used on a<link rel="stylesheet">
it defines a preferred or an alternate stylesheet. Incorrectly using it may cause the stylesheet to be ignored. - object tr extends Tag
- object track extends Tag
-
object
type extends Attr
style - This attribute defines the styling language as a MIME type (charset should not be specified).
style - This attribute defines the styling language as a MIME type (charset should not be specified). This attribute is optional and defaults to
text/css
if it's missing. object - The content type of the resource specified by data. At least one of data and type must be defined. li - This character attribute indicates the numbering type:a
: lowercase lettersA
: uppercase lettersi
: lowercase Roman numeralsI
: uppercase Roman numerals1
: numbers This type overrides the one used by its parent<ol>
element, if any.
Usage note: This attribute has been deprecated: use the CSS
list-style-type
property instead. param - Only used if thevaluetype
is set to "ref". Specifies the MIME type of values found at the URI specified by value. source - The MIME-type of the resource, optionally with acodecs
parameter. See RFC 4281 for information about how to specify codecs. button - The type of the button. Possible values are:submit
: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.reset
: The button resets all the controls to their initial values.button
: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur. script -
Indicates the type of script represented. The value of this attribute will be in one of the following categories:
- Omitted or a JavaScript MIME type: For HTML5-compliant browsers this indicates the script is JavaScript. HTML5 spec urges authors to omit the attribute rather than provided a redundant MIME type. In earlier browsers, this identified the scripting language of the embedded or imported (via the
src
attribute) code. JavaScript MIME types are listed in the specification. module
: HTML5 For HTML5-compliant browsers the code is treated as a JavaScript module. Processing of the script contents are not affected by thecharset
anddefer
attributes. For information on usingmodule
, see ES6 in Depth: Modules.- Any other value or MIME type: Embedded content is treated as a data block which won't be processed by the browser. The
src
attribute will be ignored.
Note that in Firefox you can use advanced features such as let statements and other features in later JS versions, by using
type=application/javascript;version=1.8
. Beware, however, that as this is a non-standard feature, this will most likely break support for other browsers, in particular Chromium-based browsers.For how to include exotic programming languages, read about Rosetta. link - This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as text/html, text/css, and so on. The common use of this attribute is to define the type of style sheet linked and the most common current value is text/css, which indicates a Cascading Style Sheet format. It is also used on
rel="preload"
link types, to make sure the browser only downloads file types that it supports. embed - The MIME type to use to select the plug-in to instantiate. ul - Used to set the bullet style for the list. The values defined under HTML3.2 and the transitional version of HTML 4.0/4.01 are:circle
,disc
,- and
square
.
A fourth bullet type has been defined in the WebTV interface, but not all browsers support it:
triangle.
If not present and if no CSS
list-style-type
property does apply to the element, the user agent decide to use a kind of bullets depending on the nesting level of the list.Usage note: Do not use this attribute, as it has been deprecated; use the CSS
list-style-type
property instead. a - Specifies the media type in the form of a MIME type for the linked URL. It is purely advisory, with no built-in functionality. input - The type of control to render. See Form <input> types for the individual types, with links to more information about each. area - This attribute specifies the media type in the form of a MIME type for the link target. Generally, this is provided strictly as advisory information; however, in the future a browser might add a small icon for multimedia types. For example, a browser might add a small speaker icon when type is set to audio/wav. For a complete list of recognized MIME types, see https://www.w3.org/TR/html4/references.html#ref-MIMETYPES. Use this attribute only if the href attribute is present. ol - Indicates the numbering type:'a'
indicates lowercase letters,'A'
indicates uppercase letters,'i'
indicates lowercase Roman numerals,'I'
indicates uppercase Roman numerals,- and
'1'
indicates numbers (default).
The type set is used for the entire list unless a different
type
attribute is used within an enclosed<li>
element.Note: This attribute was deprecated in HTML4, but reintroduced in HTML5. Unless the value of the list number matters (e.g. in legal or technical documents where items are to be referenced by their number/letter), the CSS
list-style-type
property should be used instead. menu - This attribute indicates the kind of menu being declared, and can be one of two values.context
: Indicates the popup menu state, which represents a group of commands activated through another element. This might be as a button menu referenced by amenu
attribute of a<button>
element, or as context menu for an element with acontextmenu
attribute. This value is the default if the attribute is missing and the parent element is also a<menu>
element.toolbar
: Indicates the toolbar state, which represents a toolbar consisting of a series of commands for user interaction. This might be in the form of an unordered list of<li>
elements, or, if the element has no<li>
element children, flow content describing available commands. This value is the default if the attribute is missing. menuitem - This attribute indicates the kind of command, and can be one of three values.command
: A regular command with an associated action. This is the missing value default.checkbox
: Represents a command that can be toggled between two different states.radio
: Represent one selection from a group of commands that can be toggled as radio buttons.
- object u extends Tag
- object ul extends Tag
-
object
value extends Attr
meter - The current numeric value.
meter - The current numeric value. This must be between the minimum and maximum values (
min
attribute andmax
attribute) if they are specified. If unspecified or malformed, the value is 0. If specified, but not within the range given by themin
attribute andmax
attribute, the value is equal to the nearest end of the range.Usage note: Unless the
value
attribute is between0
and1
(inclusive), themin
andmax
attributes should define the range so that thevalue
attribute's value is within it. input - The initial value of the control. This attribute is optional except when the value of the type attribute isradio
orcheckbox
.
Note that when reloading the page, Gecko and IE will ignore the value specified in the HTML source, if the value was changed before the reload. li - This integer attribute indicates the current ordinal value of the list item as defined by the<ol>
element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The value attribute has no meaning for unordered lists (<ul>
) or for menus (<menu>
).Note: This attribute was deprecated in HTML4, but reintroduced in HTML5.
Note: Prior to Gecko 9.0, negative values were incorrectly converted to 0. Starting in Gecko 9.0 all integer values are correctly parsed. param - Specifies the value of the parameter. progress - This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and
max
, or between 0 and 1 ifmax
is omitted. If there is novalue
attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take. button - The initial value of the button. It defines the value associated with the button which is submitted with the form data. This value is passed to the server in params when the form is submitted. data - This attribute specifies the machine-readable translation of the content of the element. option - The content of this attribute represents the value to be submitted with the form, should this option be selected. If this attribute is omitted, the value is taken from the text content of the option element. - object var extends Tag
- object video extends Tag
- object wbr extends Tag
-
object
width extends Attr
th - This attribute is used to define a recommended cell width.
th - This attribute is used to define a recommended cell width. Additional space can be added with the cellspacing and cellpadding properties and the width of the
<col>
element can also create extra width. But, if a column's width is too narrow to show a particular cell properly, it will be widened when displayed. Usage Note: Do not use this attribute in the latest standard: use the CSSwidth
property instead. object - The width of the display resource, in CSS pixels. -- (Absolute values only. NO percentages) col, colgroup - This attribute specifies a default width for each column in the current column group. In addition to the standard pixel and percentage values, this attribute might take the special form0/
, which means that the width of each column in the group should be the minimum width necessary to hold the column's contents. Relative widths such as0.5/
also can be used. video - The width of the video's display area, in CSS pixels. -- (Absolute values only. NO percentages) td - This attribute is used to define a recommended cell width. Properties cellspacing and cellpadding may add additional space, and element<col>
width may also have some effect. In general, if a column's width is too narrow to show a particular cell properly, it, and thus the cells in it, may be widened when displayed. Note: Do not use this attribute in the latest standard: instead set the CSSwidth
property. iframe - Indicates the width of the frame HTML5 in CSS pixels, or HTML 4.01 in pixels or as a percentage. canvas - The width of the coordinate space in CSS pixels. Defaults to 300. pre - Contains the preferred count of characters that a line should have. Though technically still implemented, this attribute has no visual effect; to achieve such an effect, use CSSwidth
instead. hr - Sets the length of the rule on the page through a pixel or percentage value. img - The intrinsic width of the image in pixels. In HTML 4, either a percentage or pixels were acceptable values. In HTML5, however, only pixels are acceptable. table - This attribute defines the width of the table. The width may be defined by pixels or a percentage value. A percentage value will be defined by the width of the container in which the table is placed. Usage Note: Do not use this attribute, as it has been deprecated. The rules should be defined and styled using CSS. Use thewidth
property instead. embed - The displayed width of the resource, in CSS pixels. -- (Absolute values only. NO percentages) input - If the value of the type attribute isimage
, this attribute defines the width of the image displayed for the button. -
object
wrap extends Attr
textarea - Indicates how the control wraps text.
textarea - Indicates how the control wraps text. Possible values are:
hard
: The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; thecols
attribute must be specified.soft
: The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.off
: Likesoft
but changes appearance towhite-space: pre
so line segments exceedingcols
are not wrapped and area becomes horizontally scrollable.
If this attribute is not specified,
soft
is its default value. pre - Is a hint indicating how the overflow must happen. In modern browser this hint is ignored and no visual effect results in its present; to achieve such an effect, use CSSwhite-space
instead.