Core HTML

HTML Attributes Table

Red indicates a deprecated attribute.

HTML Attributes
Attribute Membership Description Examples
accept <input> Specifies the types of files that the server accepts via upload
<form action="/upload.php">
  <input type="file" name="myfile" accept=".doc,.pdf,video/*">
  <input type="submit">
</form>
accept-charset <form> Specifies the character encodings that are to be used for the form submission
<form action="/name.php" accept-charset="ISO-8859-1">
  First Name: <input type="text" name="firstname">
  Last Name: <input type="text" name="lastname">
  <input type="submit">
</form>
accesskey global Specifies a key that can be used, with ALT, to put the focus on the element
<p accesskey="x">Those who grant sympathy to guilt,
grant none to innocence.</p>
action <form> Specifies the program to process the submitted form
<form action="/name.php">
  First Name: <input type="text" name="firstname">
  Last Name: <input type="text" name="lastname">
  <input type="submit">
</form>
align <div> Specifies the alignment of content within the element
<div align="center">XoaX.net</div>
alt <area>, <img>, <input> Specifies alternative text that is shown when the element fails
<img src="XoaxLogo.png" alt="XoaX.net">
async <script> Specifies the asynchronous execution of the script, for external scripts
<script src="MyProgram.js" async></script>
autocomplete <form>, <input> Specifies whether autocomplete should be used or not
<form action="/name.php" autocomplete="on">
  First Name: <input type="text" name="firstname">
  Last Name: <input type="text" name="lastname" autocomplete="off">
  <input type="submit">
</form>
autofocus <button>, <input>, <select>, <textarea> Specifies that an element should get the focus when the page is loaded
<form action="/name.php">
  First Name: <input type="text" name="firstname">
  Last Name: <input type="text" name="lastname" autofocus>
  <input type="submit">
</form>
autoplay <audio>, <video> Specifies that an audio or video file should automatically play when the page loads
<audio src="Theme.ogg" controls autoplay loop muted></audio>
bgcolor visible Specifies the background color of an element
<body bgcolor="red"></body>
border visible Specifies the border width of an element
<img src="XoaX.png" alt="XoaX.net Logo" border="1">
charset <meta>, <script> Specifies the character set
<meta charset="UTF-8">
checked <input> Specifies that the element should be checked when the page is loaded
<form action="/captcha.php">
  <input type="checkbox" name="captcha" checked>I am a robot<br />
  <input type="submit">
</form>
cite <blockquote>, <del>, <ins>, <q> A URL that specifies the source for a quotation or explains why text was deleted or inserted
<q cite="https://xoax.net/">Learn. Create. Conquer.</q>
class global Specifies one or more classes to which the element belongs
<p class="cBible">Whoever honors his father atones for sins, and
whoever glorifies his mother is like one who lays up treasure.</p>
color visible Specifies the color of the text of an element
<body color="red"></body>
cols <textarea> Specifies the number of columns of text in a textarea
<textarea rows="10" cols="80">Forsake not an old friend,
for a new one does not compare with him.</textarea>
colspan <td>, <th> Specifies the number of columns that the cell spans
<td colspan="3">1200</td>
content <meta> Defines the content associated with a name or http-equiv attribute
<meta name="keywords" content="c++,html,css,php">
contenteditable global Specifies whether or not the text in a element is editable
<p contenteditable="true">Those who grant sympathy to guilt,
grant none to innocence.</p>
controls <audio>, <video> Specifies that controls should be included
<audio src="Theme.ogg" controls></audio>
coords <area> Specifies a set of values used to define the geometry of an area element
<area shape="circle" coords="100,115,95" href="Sun.png">
data <object> Specifies the URL of a resource to be used for the object
<object data="XoaXLogo.png" width="260" height="50"></object>
data-* global Specifies custom data that can be read and used by a program
<p data-name="XoaX.net">Learn. Create. Conquer.</p>
datetime <del>, <ins>, <time> Specifies the date and time in a standardized format
<p>
  The miracle of the Sun occurred on
  <time datetime="1917-10-13T12:00">October 13, 1917</time>.
</p>
default <track> Specifies the track is to be used, if no other preference is indicated
<video controls preload="auto">
  <source src="3DAtmosphere.mp4" type="video/mp4">
  <track src="3DAtmosphereEng.vtt" kind="subtitles"
    srclang="en" label="English" default>
  <track src="3DAtmosphereGer.vtt" kind="subtitles"
    srclang="de" label="German">
</video>
defer <script> This specifies that the script will run when the page finishes loading. It is only usable for external scripts.
<script src="MyScript.js" defer></script>
dir global This specifies direction of the text direction in the element: ltr, rtl, or auto.
<p dir="rtl">My God, my God, why have you forsaken me?</p>
dirname <input>, <textarea> This specifies direction of the text according to the text element: ltr or rtl. The value is always the name of the input field with .dir appended to it.
<form action="process.php" method="post">
  <label for="yourname">Your Name:</label">
  <input type="text" name="yourname" dirname="yourname.dir" />
  <input type="submit" value="Submit" />
</form>
disabled <button>, <fieldset>, <input>, <optgroup>, <option>, <select>, <textarea> This specifies that an element or set of elements should be disabled.
<button type="button" disabled>Press</button>
download <a>, <area> This specifies that target should be downloaded when the link is clicked.
<a href="EcceAgnusDei_AlbertChevalierTayler.png" download />
draggable global The boolean value of this specifies whether the element is draggable or not.
<p draggable="true">For dogs are all around me;
a company of evildoers encircles me.</p>
enctype <form> This specifies how the data is to be encoded when it is submitted. The default value is application/x-www-form-urlencoded.
<form action="process.php" method="post"
      enctype="application/x-www-form-urlencoded">
  <label for="yourname">Your Name:</label">
  <input type="text" name="yourname" />
  <input type="submit" value="Submit" />
</form>
for <label>, <output> This specifies the element or elements to which this one is bound.
<form action="process.php" method="post">
  <label for="yourname">Your Name:</label">
  <input type="text" name="yourname"/>
  <input type="submit" value="Submit" />
</form>
form <button>, <fieldset>, <input>, <label>, <meter>, <object>, <output>, <select>, <textarea> This specifies the id of the form to which this element belongs.
<form action="process.php" method="post" id="idMyForm">
  <label for="yourname">Your Name:</label">
  <input type="text" name="yourname"/>
</form>
<input type="submit" value="Submit" form="idMyForm" />
formaction <button>, <input> This specifies where the form data should be sent when it is submitted.
<form action="process.php" method="post" id="idMyForm">
  <label for="yourname">Your Name:</label">
  <input type="text" name="yourname"/>
  <input type="submit" value="Submit" form="idMyForm" />
  <button type="submit" formaction="other.php">Other</button>
</form>
headers <td>, <th> This specifies the ids of headers cells that are related to the cell.
<table>
  <tr>
    <th id="name" colspan="2">Name</th>
  </tr>
  <tr>
    <td headers="name">Christopher</td>
    <td headers="name">Columbus</td>
  </tr>
</table>
height <canvas>, <embed>, <iframe>, <img>, <input>, <object>, <video> This specifies the height of the element.
<img src="EcceAgnusDei.png" width="200" height="137" />
hidden global This specifies that the element should not be displayed.
<p hidden>Who has believed what we have heard?
And to whom has the arm of the Lord been revealed?</p>
high <meter> This specifies the value, above which, values are considered high.
<meter min="0" low="25" high="75" max="100" value="50"></meter>
href <a>, <area>, <base>, <link> This specifies the URL to which the element links.
<a href="https://xoax.net/">XoaX.net</a>
hreflang <a>, <area>, <link> This specifies the language of the content to which the element links.
<a href="https://xoax.net/" hreflang="en">XoaX.net</a>
http-equiv <meta> This specifies the header for the value of the content attribute.
<meta http-equiv="refresh" content="60">
id global This specifies a unique id for the element.
<p id="idIsaiah">He was oppressed, and he was afflicted,
yet he did not open his mouth;</p>
ismap <img> This is included to specify the image as a server-side image map.
<img src="EcceAgnusDei.png" ismap>
kind <track> This specifies the kind of text in the track: captions, chapters, descriptions, metadata, or subtitles.
<track src="subtitles.vtt" kind="subtitles" srclang="en">
label <track>, <option>, <optgroup> This specifies the title of text in the track.
<track src="subtitles.vtt" kind="subtitles" label="English">
lang global This specifies the language of the content in the element.
<p lang="en">Sing for joy, O heavens, and exult, O earth;
break forth, O mountains, into singing!</p>
list <input> This specifies a datalist element that contains pre-defined options for the input element.
<input list="idTrinity">

<datalist id="idTrinity">
  <option value="Father">
  <option value="Son">
  <option value="Holy Ghost">
</datalist>
loop <audio>, <video> This specifies that the element will replay when it is finished.
<audio controls loop>
  <source src="XoaxAmigaMusic.mp3" type="audio/mpeg">
</audio>
low <meter> This specifies the value, below which, values are considered low.
<meter min="0" low="25" high="75" max="100" value="50"></meter>
max <input>, <meter>, <progress> This specifies the maximum value for the element.
<meter min="0" low="25" high="75" max="100" value="50"></meter>
maxlength <input>, <textarea> This specifies the maximum number of charaters allowed in the element.
<form action="process.php" method="post">
  <label for="yourname">Your Name:</label">
  <input type="text" name="yourname" maxlength="20" />
  <input type="submit" value="Submit" />
</form>
media <a>, <area>, <link>, <source>, <style> This specifies the media or device for which the document is optimized.
<a href="https://xoax.net/" media="print">XoaX.net</a>
method <form> This specifies HTTP method to be used when sending the data for the form.
<form action="process.php" method="post">
  <label for="yourname">Your Name:</label">
  <input type="text" name="yourname" maxlength="20" />
  <input type="submit" value="Submit" />
</form>
min <input>, <meter> This specifies the minimum value for the element.
<meter min="0" low="25" high="75" max="100" value="50"></meter>
multiple <input>, <select> This specifies that the element allows multiple values to be entered.
<select multiple>
  <option value="father">Father</option>
  <option value="son">Son</option>
  <option value="holyghost">Holy Ghost</option>
</select>
muted <audio>, <video> This specifies that the element is to be muted.
<audio controls muted>
  <source src="XoaxAmigaMusic.mp3" type="audio/mpeg">
</audio>
name <button>, <fieldset>, <form>, <iframe>, <input>, <map>, <meta>, <object>, <output>, <param>, <select>, <textarea> This specifies the name of the element.
<map name="disk">
  <area shape="circle" coords="100,100,50" href="Disk.html">
</map>
novalidate <form> This specifies that the form should not be validated when it is submitted.
<form action="process.php" novalidate>
  <label for="yourname">Your Name:</label">
  <input type="text" name="yourname" />
  <input type="submit" value="Submit" />
</form>
onabort <audio>, <embed>, <img>, <object>, <video> This specifies the script to be run on abort.
<video width="320" height="240" onabort="OnAbort()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onafterprint <body> This specifies the script to be run after the document is printed.
<body onafterprint="OnAfterPrint()">
onbeforeprint <body> This specifies the script to be run before the document is printed.
<body onbeforeprint="OnBeforePrint()">
onbeforeunload <body> This specifies the script to be run before the document is unloaded.
<body onbeforeunload="OnBeforeUnload()">
onblur selectable This specifies the script to be run when the element loses focus. Almost any element can be made selectable via the contenteditable attribute.
<textarea onblur="OnBlur()">XoaX.net</textarea>
oncanplay <audio>, <embed>, <object>, <video> This specifies the script to be run when a file has buffered enough to start playing.
<video width="320" height="240" oncanplay="OnCanPlay()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
oncanplaythrough <audio>, <video> This specifies the script to be run when a file can play through the end without buffering.
<video oncanplaythrough="OnCanPlayThrough()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onchange selectable This specifies the script to be run when the element is changed. Almost any element can be made selectable via the contenteditable attribute.
<input type="text" value="XoaX.net" onchange="OnChange()">
onclick visible This specifies the script to be run when the element is clicked.
<button onclick="OnClick()">Press</button>
oncontextmenu visible This specifies the script to be run when the user right-clicks to open a context menu.
<div oncontextmenu="OnContextMenu()">...</div>
oncopy selectable This specifies the script to be run when the user copies the content of the element. Almost any element can be made selectable via the contenteditable attribute.
<p oncopy="OnCopy()">Awake, awake, put on strength,
  O arm of the Lord!</p>
oncuechange <track> This specifies the script to be run when the cue changes.
<video controls preload="auto">
  <source src="3DAtmosphere.mp4" type="video/mp4">
  <track src="3DAtmosphereEng.vtt" kind="subtitles"
    srclang="en" label="English" oncuechange="OnCueChange()">
</video>
oncut selectable This specifies the script to be run when the user cuts the content from the element. Almost any element can be made selectable via the contenteditable attribute.
<textarea oncut="OnCut()">Was it not you who cut Rahab in pieces,
  who pierced the dragon?</textarea>
ondblclick visible This specifies the script to be run when the element is double-clicked.
<textarea ondblclick="OnDoubleClick()">XoaX.net</textarea>
ondrag visible This specifies the script to be run when the user drags the element. Almost any element can be made draggable via the draggable attribute.
<p draggable="true" ondrag="OnDrag()">XoaX.net</p>
ondragend visible This specifies the script to be run when the user ends the drag. Almost any element can be made draggable via the draggable attribute.
<p draggable="true" ondragend="OnDragEnd()">XoaX.net</p>
ondragenter visible This specifies the script to be run when the user drags into a valid drop target. Almost any element can be made draggable via the draggable attribute.
<div ondragenter="OnDragEnter()">...</div>
ondragleave visible This specifies the script to be run when the user drags out of a valid drop target. Almost any element can be made draggable via the draggable attribute.
<div ondragleave="OnDragLeave()">...</div>
ondragover visible This specifies the script to be run when the user drags over a valid drop target. Almost any element can be made draggable via the draggable attribute.
<div ondragover="OnDragOver()">...</div>
ondragstart visible This specifies the script to be run when the user begins to drag the element. Almost any element can be made draggable via the draggable attribute.
<p draggable="true" ondragstart="OnDragStart()">XoaX.net</p>
ondrop visible This specifies the script to be run when the dragged element is dropped. Almost any element can be made draggable via the draggable attribute.
<div ondrop="OnDrop()">...</div>
ondurationchange <audio>, <video> This specifies the script to be run when length of the media changes.
<video ondurationchange="OnDurationChange()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onemptied <audio>, <video> This specifies the script to be run when the file in not available.
<video width="320" height="240" onemptied="OnEmptied()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onended <audio>, <video> This specifies the script to be run when the player reaches the end of the file.
<video width="320" height="240" onended="OnEnded()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onerror <audio>, <body>, <embed>, <img>, <object>, <script>, <style>, <video> This specifies the script to be run when an error occurs.
<body onerror="OnError()">
onfocus selectable This specifies the script to be run when the element receives focus. Almost any element can be made selectable via the contenteditable attribute.
<textarea onfocus="OnFocus()">XoaX.net</textarea>
onhashchange <body> This specifies the script to be run when there has been a change to the anchor part of the current URL.
<body onhashchange="OnHashChange()">
oninput selectable This specifies the script to be run when the element receives input. Almost any element can be made selectable via the contenteditable attribute.
<input type="text" oninput="OnInput()">
oninvalid selectable This specifies the script to be run when the element becomes invalid. Almost any element can be made selectable via the contenteditable attribute.
<input type="text" oninvalid="OnInvalid()" required>
onkeydown selectable This specifies the script to be run when key is pressed and the element has focus. Almost any element can be made selectable via the contenteditable attribute.
<div onkeydown="OnKeyDown(e)">...</div>
onkeypress selectable This specifies the script to be run when key is pressed and released and the element has focus. Almost any element can be made selectable via the contenteditable attribute.
<div onkeypress="OnKeyPress(e)">...</div>
onkeyup selectable This specifies the script to be run when key is released and the element has focus. Almost any element can be made selectable via the contenteditable attribute.
<div onkeyup="OnKeyUp(e)">...</div>
onload <body>, <iframe>, <img>, <input>, <link>, <script>, <style> This specifies the script to be run when the element is finished loading.
<body onload="OnLoad()">
onloadeddata <audio>, <video> This specifies the script to be run when the media file is loaded.
<video width="320" height="240" onloadeddate="OnLoadedData()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onloadedmetadata <audio>, <video> This specifies the script to be run when the meta data is loaded.
<video onloadedmetadata="OnLoadedMetaData()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onloadstart <audio>, <video> This specifies the script to be run when the file begins to load.
<video width="320" height="240" onloadstart="OnLoadStart()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onmousedown visible This specifies the script to be run when the mouse button is pressed on the element.
<div onmousedown="OnMouseDown(e)">...</div>
onmousemove visible This specifies the script to be run as the mouse cursor moves over the element.
<div onmousemove="OnMouseMove(e)">...</div>
onmouseout visible This specifies the script to be run when the mouse cursor leaves the element.
<div onmouseout="OnMouseOut(e)">...</div>
onmouseover visible This specifies the script to be run when the mouse cursor enters the element.
<div onmouseover="OnMouseOver(e)">...</div>
onmouseup visible This specifies the script to be run when the mouse button is release on the element.
<div onmouseup="OnMouseUp(e)">...</div>
onmousewheel visible This specifies the script to be run when the mouse wheel is scrolled on the element.
<div onmousewheel="OnMouseWheel(e)">...</div>
onoffline <body> This specifies the script to be run when the starts to work offline.
<body onoffline="OnOffline()">
ononline <body> This specifies the script to be run when the starts to work online.
<body ononline="OnOnline()">
onpagehide <body> This specifies the script to be run when navigates to a different URL.
<body onpagehide="OnPageHide()">
onpageshow <body> This specifies the script to be run when navigates to the page.
<body onpageshow="OnPageShow()">
onpaste selectable This specifies the script to be run when the user pastes content to the element. Almost any element can be made selectable via the contenteditable attribute.
<textarea onpaste="OnPaste()">I, I am he who comforts you;
  why then are you afraid of a mere mortal who must die,
a human being who fades like grass?</textarea>
onpause <audio>, <video> This specifies the script to be run when the playback is paused.
<video width="320" height="240" onpause="OnPause()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onplay <audio>, <video> This specifies the script to be run when the media starts playing.
<video width="320" height="240" onplay="OnPlay()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onplaying <audio>, <video> This specifies the script to be run when the media starts playing.
<video width="320" height="240" onplaying="OnPlaying()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onpopstate <body> This specifies the script to be run when the window history changes.
<body onpopstate="OnPopState()">
onprogress <audio>, <video> This specifies the script to be run when the browser is getting media data.
<video width="320" height="240" onprogress="OnProgress()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onratechange <audio>, <video> This specifies the script to be run when the playback rate changes.
<video width="320" height="240" onratechange="OnRateChange()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onreset <form> This specifies the script to be run when a reset button in the form is clicked.
<form onreset="OnReset()">
  ...
  <input type="reset">
</form>
onresize <body> This specifies the script to be run when the window is resized.
<body onresize="OnResize()">
onscroll visible This specifies the script to be run when the user alters the scrollbar for the element.
<div onscroll="OnScroll()">You have forgotten the Lord,
  your Maker, who stretched out the heavens
and laid the foundations of the earth.</div>
onsearch <input> This specifies the script to be run when a search term is entered into a search field: <input type="search">.
<form action="process.php" method="post">
  <label for="srch">Search:</label">
  <input type="search" name="srch" onsearch="OnSearch()" />
  <input type="submit" value="Submit" />
</form>
onseeked <audio>, <video> This specifies the script to be run when the seeking attribute is set to false to indicate that the seeking ended.
<video width="320" height="240" onseeked="OnSeeked()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onseeking <audio>, <video> This specifies the script to be run when the seeking attribute is set to true to indicate that the seeking active.
<video width="320" height="240" onseeking="OnSeeking()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onselect visible This specifies the script to be run when the element is selected.
<textarea onselect="OnSelect()">Awake, as in days of old,
  the generations of long ago!</textarea>
onstalled <audio>, <video> This specifies the script to be run when the media data can not be retrieved.
<video width="320" height="240" onstalled="OnStalled()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onstorage <body> This specifies the script to be run when the web storage is updated.
<body onstorage="OnStorage()">
onsubmit <form> This specifies the script to be run when a submit button in the form is clicked.
<form onsubmit="OnSubmit()">
  ...
  <input type="submit">
</form>
onsuspend <audio>, <video> This specifies the script to be run when the media loading is stopped before completion.
<video width="320" height="240" onsuspend="OnSuspend()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
ontimeupdate <audio>, <video> This specifies the script to be run when the play position has changed.
<video ontimeupdate="OnTimeUpdate()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
ontoggle <details> This specifies the script to be run when the detail element is opened or closed.
<details ontoggle="OnToggle()">
  <summary>XoaX.net</summary>
  <p>Learn computer programming at XoaX.net</p>
</details>
onunload <body> This specifies the script to be run when the page is unloaded.
<body onunload="OnUnload()">
onvolumechange <audio>, <video> This specifies the script to be run when the volume is changed.
<video width="320" height="240" onvolumechange="OnVolumeChange()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onwaiting <audio>, <video> This specifies the script to be run when the media is waiting to resume, like when it is buffering.
<video width="320" height="240" onwaiting="OnWaiting()">
  <source src="XoaX.mp4" type="video/mp4">
</video>
onwheel visible This specifies the script to be run when the mouse wheel rolls over and element.
<div onwheel="OnWheel(e)">...</div>
open <details> This specifies that the details are open by default.
<details open>
  <summary>XoaX.net</summary>
  <p>Learn computer programming at XoaX.net</p>
</details>
optimum <meter> This specifies the optimal value for the meter that defines the optimal range.
<meter low=".25" high=".75" optimum=".5" value=".3"></meter>
pattern <input> This specifies the regular exression that the value is checked against.
<form action="process.php">
  <label for="state_abbr">State:</label>
  <input type="text" name="state_abbr" pattern="[A-Z]{2}">
  <input type="submit">
</form>
placeholder <input>, <textarea> This specifies a hint to indicate the expected input.
<form action="process.php">
  <input type="text" placeholder="Christopher Columbus">
  <input type="submit">
</form>
poster <video> This specifies an image to be shown before the video plays.
<video width="320" height="240" poster="XoaX.png")">
  <source src="XoaX.mp4" type="video/mp4">
</video>
preload <audio>, <video> This specifies how the file should load when the page loads: auto, metadata, or none.
<video width="320" height="240" preload=none")">
  <source src="XoaX.mp4" type="video/mp4">
</video>
readonly <input>, <textarea> This specifies that the element is read only.
<form action="process.php">
  <input type="text" value="XoaX.net" readonly>
  <input type="submit">
</form>
rel <a>, <area>, <form>, <link> This specifies relationship between the current document and the linked one.
<link rel="stylesheet" type="text/css" href="XoaX.css" />
required <input>, <select>, <textarea> This specifies that the element must be filled out before the form that it belongs to can be submitted.
<form action="process.php" method="post">
  <label for="yourname">Your Name:</label">
  <input type="text" name="yourname" required />
  <input type="submit" value="Submit" />
</form>
reversed <ol> This specifies that the list items should be numbered in reverse order.
<ol reversed>
  ...
</ol>
rows <textarea> This specifies the number of rows of text in the textarea element.
<textarea rows="3" cols="30">Thus says the Lord:
  Where is your mother's bill of divorce
with which I put her away?</textarea>
rowspan <td>, <th> This specifies the number of rows of the table that the element should span.
<table>
  <tr>
    <th rowspan="2">Name</th>
    <td>Christopher</td>
  </tr>
  <tr>
    <td>Columbus</td>
  </tr>
</table>
sandbox <iframe> This specifies that there should be certain restrictions on the iframe.
<iframe src="xoax.html" sandbox="allow-scripts"></iframe>
scope <th> This specifies whether the header is for a row or column or a group of either of them.
<table>
  <tr>
    <th scope="col">First</th>
    <th scope="col">Last</th>
  </tr>
  <tr>
    <td>Christopher</td>
    <td>Columbus</td>
  </tr>
</table>
selected <option> This specifies that the option should be selected by default.
<select>
  <option value="father">Father</option>
  <option value="son">Son</option>
  <option value="holyghost" selected>Holy Ghost</option>
</select>
shape <area> This specifies the shape of the area.
<area shape="circle" coords="100,115,95" href="Sun.png">
size <input>, <select> This specifies the number of characters in the input or the number of visible options in a select.
<select size="3">
  <option value="father">Father</option>
  <option value="son">Son</option>
  <option value="holyghost">Holy Ghost</option>
</select>
span <col>, <colgroup> This specifies the number of columns to span.
<table>
  <colgroup>
    <col span="1" style="color:red;" />
    <col span="1" style="color:black;" />
  </colgroup>
  <tr>
    <th scope="col">First</th>
    <th scope="col">Last</th>
  </tr>
  <tr>
    <td>Christopher</td>
    <td>Columbus</td>
  </tr>
</table>
spellcheck global This specifies, with a boolean value, whether the element should have its spelling and grammar checked.
<p contenteditable="true" spellcheck="true">Thus says the Lord:
In a time of favor I have answered you,
on a day of salvation I have helped you;</p>
src <audio>, <embed>, <iframe>, <img>, <input>, <script>, <source>, <track>, <video> This specifies location of the source file.
<img src="EcceAgnusDei.png">
srcdoc <iframe> This specifies HTML content of the page to show in the iframe.
<iframe srcdoc="<h1>XoaX.net</h1>"></iframe>
srclang <track> This specifies language of the track text data.
<track src="subtitles.vtt" kind="subtitles" srclang="en">
start <ol> This specifies start value for the for the ordered list.
<ol start="4">
  ...
</ol>
step <input> This specifies allowed value multiples for the field.
<form action="process.php">
  <input type="number" name="even" step="2">
  <input type="submit">
</form>
style global This specifies styles that are to be applied to the element.
<p style="color:red;">The Lord God has given me
  the tongue of a teacher,
that I may know how to sustain
  the weary with a word.</p>
tabindex global This specifies the order that the element selected when tab is pressed.
<p tabindex="4">Guilt is a rope that wears thin.</p>
target <a>, <area>, <base>, <form> This specifies where the linked document should be opened: _blank, _parent, _self, or _top.
<a href="http://xoax.net/" target="_blank">xoax.net</a>
title global This specifies the title that is displayed for the element.
<p title="Isaiah50:7">The Lord God helps me;
    therefore I have not been disgraced;</p>
translate global This specifies whether the content in the element should be translated.
<p translate="no">But all of you are kindlers of fire,
  lighters of firebrands.</p>
type <a>, <button>, <embed>, <input>, <link>, <menu>, <object>, <script>, <source>, <style> This specifies the type of the element.
<audio controls loop>
  <source src="XoaxAmigaMusic.mp3" type="audio/mpeg">
</audio>
usemap <img>, <object> This specifies name of the map to be used for the image map.
<img src="EcceAgnusDei.png" usemap="#mymap" />
value <button>, <input>, <li>, <option>, <meter>, <progress>, <param> This specifies the value for the element.
<meter min="0" low="25" high="75" max="100" value="50"></meter>
width <canvas>, <embed>, <iframe>, <img>, <input>, <object>, <video> This specifies the width of the element.
<img src="EcceAgnusDei.png" width="200" height="137" />
wrap <textarea> This specifies how the text in the textarea element is to be wrapped: soft or hard.
<textarea wrap="soft">Thus says the Lord:
  Where is your mother's bill of divorce
with which I put her away?</textarea>
 
 

© 2007–2025 XoaX.net LLC. All rights reserved.