<track>
tag, and when should it be used?<track>
tag is used for specifying subtitles. It is typically applied as a child of the <audio>
and <video>
tags.<track>
tag is used for specifying subtitles. It is typically applied as a child of the <video>
tag.<track>
tag is used for specifying subtitles, captions, and other types of time-based text. It is typically applied as a child of the <video>
tag.<track>
tag is used for specifying subtitles, captions, and other types of time-based text. It is typically applied as a child of the <audio>
and <video>
tags.<link><meta><title>
<br><base><source>
<input><br><p>
<area><embed><strong>
<iframe>, <frame>, and <frameset>
<frame>
<iframe>
<frame> and <frameset>
<header>
and <footer>
tags typically occur?<body>, <article>, <aside>, and <section>
tags<body>, <article>, and <section>
tags<body>, <article>, <aside>, <nav>, and <section>
tags<body>, <article>, <table>, and <section>
tags<strong>
<bold>
<b>
<link>
tag?<address ______ _____>
<span itemprop="streetAddress">6410 Via Real</span><br />
<span itemprop="addressLocality">Carpinteria</span>,
<span itemprop="addressRegion">CA</span>
<span itemprop="addressCode">93013</span>
</address>
itemscope
itemtype="http://schema.org/PostalAddress"
itemsref="http://schema.org/PostalAddress"
itemid="address"
itemscope
itemref="http://schema.org/PostalAddress"
itemid="address"
itemtype="http://schema.org/PostalAddress"
<aside>
element?<source>
element associated?<svg>, <picture>, <audio>, and <video>
<picture>, <audio>, and <video>
src
attribute, so any element that uses src
may use <source>
<audio> and <video>
<textarea>
element?<details>
<summary>Parmesan Deviled Eggs</summary>
<p>
These delectable little bites are made with organic eggs, fresh Parmesan, and chopped pine nuts.
</p>
</details>
<h4>▸ Parmesan Deviled Eggs</h4>
<p>
These delectable little bites are made with organic eggs, fresh Parmesan, and chopped pine nuts.
</p>
<details open>
<summary>Parmesan Deviled Eggs</summary>
<p>
These delectable little bites are made with organic eggs, fresh Parmesan, and chopped pine nuts.
</p>
</details>
<details>
<h4>▸ Parmesan Deviled Eggs</h4>
<p>
These delectable little bites are made with organic eggs, fresh Parmesan, and chopped pine nuts.
</p>
</details>
<samp>
element?<ol>
and <ul>
elements?<ul>
when you want a bulleted list and <ol>
when you want a numbered list.<ul>
when you have a list of items in which the order of the items matters. Use <ol>
when you have a list of items that could go in any order.<ol>
when you want a bulleted list and <ul>
when you want a numbered list.<ol>
when you have a list of items in which the order of the items matters. Use <ul>
when you have a list of items that could go in any order.<div>
and <span>
tags?<div>
is used where a generic block-level tag is needed, while <span>
is used where a generic inline tag is needed.<div>
is used for major divisions on a page, while <span>
is used to span across columns.<div>
is the industry-standard default tag, but you could use <span>
if you prefer.<div>
is used where a generic inline tag is needed, while <span>
is used where a generic block-level tag is needed.<form method="post" action="mailto:info@linkedin.com" ____="text/plain"></form>
alt
attribute of an image?<img src="cubism.jpg" alt="Version of ""Whistler's Mother"" in cubist style">
<img src="cubism.jpg" alt="Version of "Whistler's Mother" in cubist style">
<img src="cubism.jpg" alt='Version of "Whistler's Mother" in cubist style' />
<img src="cubism.jpg" alt="Version of \"Whistler's Mother\" in cubist style">
<p id="warning">Be careful when installing this product.</p>
On July 21, 1969, Neil Armstrong said, "One small step for man, one giant leap for mankind."
<p>
On <time datetime="1969-07-21">July 21, 1969</time>, Neil Armstrong said,
<q cite="https://www.hq.nasa.gov/alsj/a11l/a11.html"
>One small step for man, one giant leap for mankind.</q
>
</p>
<p>
On July 21, 1969, Neil Armstrong said,
<q cite="https://www.hq.nasa.gov/alsj/a11l/a11.html"
>"One small step for man, one giant leap for mankind."</q
>
</p>
<p>
On July 21, 1969, Neil Armstrong said,
<q>"One small step for man, one giant leap for mankind."</q>
</p>
<p>
On <time datetime="07-21-1969">July 21, 1969</time>, Neil Armstrong said,
<q cite="https://www.hq.nasa.gov/alsj/a11l/a11.html"
>One small step for man, one giant leap for mankind.</q
>
</p>
<a href="https://es.yahoo.com/" hreflang="____" target="_blank">Visita Yahoo</a>
<label for="example">Make a choice:</label>
<datalist id="example">
<option value="Choice 1"></option>
<option value="Choice 2"></option>
<option value="Choice 3"></option>
</datalist>
<p>Make a choice:</p>
<input id="choices" name="example" />
<datalist value="choices">
<option value="Choice 1"></option>
<option value="Choice 2"></option>
<option value="Choice 3"></option>
</datalist>
<label for="example">Make a choice:</label>
<input list="example" id="choices" name="choices" />
<datalist id="choices">
<option value="Choice 1">Choice 1</option>
<option value="Choice 2">Choice 2</option>
<option value="Choice 3">Choice 3</option>
</datalist>
<label for="example">Make a choice:</label>
<input list="choices" id="example" name="example" />
<datalist id="choices">
<option value="Choice 1"></option>
<option value="Choice 2"></option>
<option value="Choice 3"></option>
</datalist>
<!DOCTYPE html>
declaration that starts the document.<html>
tag.<picture>
<source srcset="image1.jpg" media="(min-width: 1000px)" />
<source srcset="image2.jpg" media="(min-width: 750px)" />
<img src="image3.jpg" />
</picture>
<picture>
is not supported.<picture>
is not supported.<table>
<scope cols="2" style="background-color: yellow">
<tr>
<th>Col 1</th>
<th>Col 2</th>
<th>Col 3</th>
</tr>
<tr>
<td>first</td>
<td>second</td>
<td>third</td>
</tr>
</table>
<table>
<colgroup span="2" style="background-color: yellow">
<tr>
<th>Col 1</th>
<th>Col 2</th>
<th>Col 3</th>
</tr>
<tr>
<td>first</td>
<td>second</td>
<td>third</td>
</tr>
</table>
<table>
<group cols="2" style="background-color: yellow">
<tr scope="row">
<th>Col 1</th>
<th>Col 2</th>
<th>Col 3</th>
</tr>
<tr scope="row">
<td>first</td>
<td>second</td>
<td>third</td>
</tr>
</table>
<table>
<columns colspan="2" style="background-color: yellow">
<tr>
<th>Col 1</th>
<th>Col 2</th>
<th>Col 3</th>
</tr>
<tr>
<td>first</td>
<td>second</td>
<td>third</td>
</tr>
</table>
<hr>
tag typically used for? / Alt.: What is the semantic meaning of the <hr>
tag?<article>
.This is a confusing question and there can be arguments for both the second and the third options being correct.
MDN: The HTML <hr>
element represents a thematic break between paragraph-level elements. Historically, this has been presented as a horizontal rule or line. While it may still be displayed as a horizontal rule in visual browsers, this element is now defined in semantic terms, rather than presentational terms, so if you wish to draw a horizontal line, you should do so using appropriate CSS.
<section itemscope itemtype="http://schema.org/Restaurant">
<h1 itemprop="name">Nadia's Garden</h1>
<p itemscope ______ ______>
<span itemprop="ratingValue">4.5</span> stars - based on
<span itemprop="reviewCount">120</span> reviews
</p>
</section>
itemprop="aggregateRating" itemref="http://schema.org/AggregateRating"
itemprop="aggregateRating" itemtype="http://schema.org/AggregateRating"
itemid="aggregateRating" itemtype="http://schema.org/AggregateRating"
itemid="aggregateRating" itemref="http://schema.org/AggregateRating"
<a id="top"></a>
<!-- placed at the top of the page -->
<a href="#top">back to top</a>
<a name="top"></a>
<!-- placed at the top of the page -->
<a href="#top">back to top</a>
<a href="#">back to top</a> <a href="#top">back to top</a>
<button href="#">back to top</button> <button href="#top">back to top</button>
<rb> <rp> <rt>
<acronym> <code> <wbr>
<hgroup> <q> <wbr>
<b> <i> <u>
<kdb>
, <pre>
<pre>
, <code>
<kdb>
, <mark>
<code>
, <pre>
<label>
element do?_blank
_self
_new
_parent
We are fond of our TLAs in web design.
<p>We are fond of our <span title="three-letter acronyms">TLAs</span> in web design.</p>
<p>We are fond of our TLAs in web design.</p>
<p>we are fond of our <abbr title="three-letter acronyms">TLAs</abbr> in web design.</p>
<p>we are fond of our <acronym title="three-letter acronym">TLAs</acronym> in web design.</p>
<acronym>
has been removed in HTML5 and shouldn’t be used anymore. Instead, web developers should use the <abbr>
element.
<ul>
<li>
office
<ol style="circle">
<li>staple</li>
<li>paper</li>
</ol>
</li>
<li>
groceries
<ol style="circle">
<li>milk</li>
</ol>
</li>
</ul>
<ul>
<li>
Office Supplies
<ul>
<li>Stapler</li>
<li>Paper clips</li>
</ul>
</li>
<li>
Groceries
<ul>
<li>Milk</li>
</ul>
</li>
</ul>
<ul>
<li>office</li>
<li>staple</li>
<li>paper</li>
<li>groceries</li>
<li>milk</li>
</ul>
<link href="phone.css" rel="stylesheet" _____="print" />
<p>
"Making money is what you have to do to sustain a business—being driven to make something of value
and purpose is much more powerful."
</p>
<p><em>Lynda Weinman</em></p>
<blockquote>
<q
>"Making money is what you have to do to sustain a business—being driven to make something of
value and purpose is much more powerful."</q
>
<cite><em>Lynda Weinman</em></cite>
</blockquote>
<blockquote>
<p>
"Making money is what you have to do to sustain a business—being driven to make something of
value and purpose is much more powerful."
</p>
<cite>Lynda Weinman</cite>
</blockquote>
<section>
<q
>"Making money is what you have to do to sustain a business—being driven to make something of
value and purpose is much more powerful."</q
>
<cite>Lynda Weinman</cite>
</section>
<p>info</p>
?<p>
, the element closer is </p>
, and the element information is info.<p>
, the end tag is </p>
, and the enclosed HTML is info.<p>
, the end tag is </p>
, and the element content is info.<p>
, the end element is </p>
, and the tag content is info.<input type="submit" value="click me">
and <button type="submit">Click me</button>
?<button>
can have content other than text, like an image or nested HTML elements, while the <input>
cannot.<input type="button">
has been deprecated in HTML5. You should use the <button>
tag instead.<input>
can have content other than text, like an image or nested HTML elements, while the <button>
cannot.<p>Press the <tt>Enter</tt> key to proceed.</p>
<p>Press the <kbd>Enter</kbd> key to proceed.</p>
<p>Press the <samp>Enter</samp> key to proceed.</p>
<p>Press the Enter key to proceed.</p>
<audio controls>
<source src="sound.mp3" type="audio/mpeg" />
<source src="sound.ogg" type="audio/ogg" />
<source src="sound.wav" type="audio/wav" />
</audio>
accesskey
shortcut
keyboard
access
email@example.com
with the subject of “Hello”?<a href="mailto:email@example.com&subject=Hello">Click me</a>
<a href="mailto:email@example.com">Hello</a>
<a href="mailto:email@example.com?subject=Hello">Click me</a>
<a href="mailto:email@example.com?&subject=Hello">Click me</a>
<!DOCTYPE html>
<html>
<body>
<root>
The <html> tag is the root element of an HTML document, which means that it contains all the contents and tags of the HTML document within it. The HTML element represents the root of a document.
<table>
and ending at </table>
?<tr>
<td>Table cell 1</td>
<td>Table cell 2</td>
</tr>
<tr>
<td rowspan="2">Table cell 3</td>
</tr>
<tr>
<td>Table cell 1</td>
<td>Table cell 2</td>
<td>Table cell 3</td>
</tr>
<tr>
<td>Table cell 1</td>
<td>Table cell 2</td>
</tr>
<tr>
<td colspan="2">Table cell 3</td>
</tr>
<tr>
<td>Table cell 1</td>
<td>Table cell 2</td>
</tr>
<tr>
<td>Table cell 3</td>
</tr>
<meta>
tag?<form>
<legend>Title</legend>
<fieldset>
<label for="name">Your name:</label>
<input type="text" name="name" id="name" />
<button type="submit">Submit</button>
</fieldset>
</form>
<form>
<fieldset>
<legend>Title</legend>
<p>Your name:</p>
<input type="text" name="name" id="name" />
<input type="submit" value="Submit" />
</fieldset>
</form>
<form>
<fieldset>
<legend>Title</legend>
<label for="name">Your name:</label>
<input type="text" name="name" id="name" />
<button type="submit">Submit</button>
</fieldset>
</form>
<form>
<legend>Title</legend>
<label for="name">Your name:</label>
<input type="text" name="name" id="name" />
<input type="submit" value="Submit" />
</form>
<video>
tag?<audio controls src="sound.mp3" type="audio/mpeg">When does this text display?</audio>
<canvas>
tag?<details> <abbr> <figcaption>
<canvas> <select> <noscript>
<dt> <table> <pre>
<kbd> <p> <main>
<p lang="en-GB">Welcome to our wonderful website.</p>
<base href="http://www.linkedin.com/dir/" />
http://www.linkedin.com/dir/page.html
page.html
http://www.linkedin.com/page.html
dir/page.html
<head>
of your document?<style link="style.css">
<link rel="stylesheet" href="style.css">
<style src="style.css"></style>
<link style="style.css">
<p>
, then use CSS to make single spacing.<pre>
tag to make the line spacing look exactly like you want.<br>
tag.From MDN (<br>
: The Line Break element):
Accessibility concerns
Creating separate paragraphs of text using <br> is not only bad practice, it is problematic for people who navigate with the aid of screen reading technology. Screen readers may announce the presence of the element, but not any content contained within <br>s. This can be a confusing and frustrating experience for the person using the screen reader.
Use <p> elements, and use CSS properties like margin to control their spacing.
<wbr>
tag do?<nav>
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
</ul>
</nav>
<nav>
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<ul>
<li><a href="#">Link 2a</a></li>
</ul>
<li><a href="#">Link 3</a></li>
</ul>
</nav>
<nav>
<ul>
<li><a href="#">Link 1</a></li>
<li>
<a href="#">Link 2</a>
<ul>
<li><a href="#">Link 2a</a></li>
</ul>
</li>
<li><a href="#">Link 3</a></li>
</ul>
</nav>
<ul>
<nav>
<li><a href="#">Link 1</a></li>
<li>
<a href="#">Link 2</a>
<ul>
<nav>
<li><a href="#">Link 2a</a></li>
</nav>
</ul>
</li>
<li><a href="#">Link 3</a></li>
</nav>
</ul>
<nav>
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<nav>
<ul>
<li><a href="#">Link 2a</a></li>
</ul>
</nav>
<li><a href="#">Link 3</a></li>
</ul>
</nav>
//this is a comment
/* this is a comment */
<! this is a comment ->
<!-- this is a comment -->
Steve Kruz said: "He will Win"
<q>
<quote>
<blockquote>
<notation>
<video>
tag is used and the autoplay attribute is not set?<script async src="myscript.js"></script>
<audio autoplay loop src="sound.mp3" type="audio/mpeg"></audio>
<head>
and <header>
tags?<head>
tag per page, while there may be many <header>
tags.<head>
tag may contain CSS and Javascript links, while the <header>
tag may contain headings and navigational links.<head>
tag contains meta information, while the <header>
tag contains navigation, logos, and other page-identifying content.<script defer src="myscript.js"></script>
<table>
<tr>
Cell 1
</tr>
<td>Cell 2</td>
<caption>
A table
</caption>
</table>
<caption>
A table
</caption>
<table>
<td>
<tr>
Cell 1
</tr>
<tr>
Cell 2
</tr>
</td>
</table>
<caption>
A table
</caption>
<table>
<tr>
<td>Cell 1</td>
<td>Cell 2</td>
</tr>
</table>
<table>
<caption>
A table
</caption>
<tr>
<td>Cell 1</td>
<td>Cell 2</td>
</tr>
</table>
<table>
<tr>
<td>Cell 1</td>
<td>Cell 2</td>
</tr>
<caption>
A table
</caption>
</table>
<a href="../work/info.html">See Information </a>
<a href="../info.html">See Information </a>
<a href="../../info.html">See Information </a>
<a href="info.html">See Information </a>
<article>
element?<area />
<embed />
<strong></strong>
<input />
<br />
<p></p>
<link>
<meta>
<title>
<wbr />
<base />
<source />
<a href="tel:802-555-1212">Call me</a>
<a href="phone">802-555-1212</a>
<a href="tel">802-555-1212</a>
<a href="phone:802-555-1212">Call me</a>
class
attribute?<input>
tag?<input type="color">
<input type="tel">
<input type="week">
<input type="num">
As Steve Krug once said, happy talk must die.
<p>
As Steve Krug once said, <b>
happy talk must die.</b>
</p>
<p>
As Steve Krug once said, <i>
happy talk must die.</i>
</p>
<p>
As Steve Krug once said, <blockquote>
happy talk must die.</blockquote>
</p>
<p>
As Steve Krug once said, <q>
happy talk must die.</q>
</p>
<q>
tag
Most browsers will display q tags as inline elements with quotes
<p>
<a href="index.html">Home</a>
<a href="about.html">About</a>
<a href="contact.html">Contact</a>
</p>
<nav>
<a href="index.html">Home</a>
<a href="about.html">About</a>
<a href="contact.html">Contact</a>
</nav>
<nav>
<ol>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ol>
</nav>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
<h4>Mailing Address</h4>
<address>
6410 Via Real <br />
Carpinteria, CA 93013<br />
<a href="mailto:info@linkedin.com">info@linkedin.com</a>
</address>
<h4><strong>Mailing Address</h4>
<address><em>
6410 Via Real <br>
Carpinteria, CA 93013<br>
<a href="mailto:info@linkedin.com">info@linkedin.com</a>
</em></address>
<h4>Mailing Address</h4>
<p>
<em>
6410 Via Real <br />
Carpinteria, CA 93013<br />
<a href="mailto:info@linkedin.com">info@linkedin.com</a>
</em>
</p>
<p><strong>Mailing Address</strong></p>
<p>
<em>
6410 Via Real <br />
Carpinteria, CA 93013<br />
<a href="mailto:info@linkedin.com">info@linkedin.com</a>
</em>
</p>
The <address> tag defines the contact information for the author/owner of a document or an article. The contact information can be an email address, URL, physical address, phone number, social media handle, etc. The text in the <address> element usually renders in italics, and browsers will always add a line break before and after the <address> element.
<noscript>Sample Text</noscript>
<details>
<h4>Mixed Berry Tart.</h4>
<p>
Raspberries, blueberries, and strawberries on top of a creamy filling served in a crispy tart.
</p>
</details>
<svg>
and <canvas>
?<svg>
produces vector graphics, while <canvas>
produces raster graphics.<svg>
integrates with JavaScript, while <canvas>
does not.<svg>
produces raster graphics, while <canvas>
produces vector graphics.<svg>
cannot be used as a background image, while <canvas>
can be used as a background<textarea>
element?<textarea>
element. disabled prevents all interaction with the control.<textarea>
, while disabled is a valid attribute.<textarea>
element. readonly prevents all interaction with the control.<textarea>
, while readonly is a valid attribute.<a target="_blank">...</a>
button
element?<button submit="http://example.com/process">Process data</button>
<button action="http://example.com/process">Process data</button>
<button formaction="http://example.com/process">Process data</button>
<button method="http://example.com/process">Process data</button>
formation — The URL that processes the information submitted by the button. Overrides the action attribute of the button's form owner. Does nothing if there is no form owner.
Source
x<y&z>w
<p>x<y&z>w</p>
<p>x\<y&z\>w</p>
<p>x<<y&&z>>w
<p>x<y&z>w</p>
This question has an issue, however this answer will count as correct
It's too strange a question because all of that methods doesn't work. The good method is &, <, > using.
<label>Address:</label> <input type="text" name="address" id="address-input" />
<label>
and <input>
should be nested inside of a <fieldset>
element.<input>
element.<label>
element is missing an id set to “address-input”.<label>
element is missing a for attribute set to “address-input”.<p>
Get 10% discount <small>
not valid in France</small></p>
<p>
Get 10% discount <!--not valid in France--> </p>
<p>
Get 10% discount <comment>
not valid in France</comment></p>
<p>
Get 10% discount <aside>
not valid in France</aside></p>
<p lang="es">canción</p>
<p lang="es">canción</p>
<p lang="es">cancio'n</p>
<p lang="es">canci'on</p>
<caption>
?<caption>
provides captions for <audio>
,<video>
,<img>
, and <table>
.<caption>
provides captions to <table>
.<caption>
provides captions for <audio>
, <video>
, and <table>
.<caption>
provides captions for <img>
, <audio>
, and <video>
.value
attribute is associated with which set of tags?<li>
<input />
<option></option>
</li>
<input>
<option>
<textarea>
<button>
<input />
<form></form>
</button>
<input /> <label> <meter></meter></label>
<img src="https://source.unsplash.com/random">
<img>
should be paired with a <caption>
tag.<img>
element is missing an alt attribute.<img>
is not a valid HTML element. Instead, use <image src="..."/>
.<img>
should be nested within a <figure>
tag.<p>
The <dl>
focal length</dl>
of a lens gives the distance from the lens to the image sensor.</p>
<p>
The <dfn>
focal length<dfn>
of a lens gives the distance from the lens to the image sensor.</p>
<p>
The <dt>
focal length</dt>
of a lens gives the distance from the lens to the image sensor.</p>
<p>
The <dd>
focal length</dd>
of a lens gives the distance from the lens to the image sensor.</p>
Definition element => The <dfn> HTML element is used to indicate the term being defined within the context of a definition phrase or sentence.
**Description Term element => The <dt> HTML element specifies a term in a description or definition list, and as such must be used inside an <dl> element.
**Description Details element =>The <dd> HTML element provides the description, definition, or value for the preceding term (<dt>) in a description list (<dl>).
<input type="radio" name="example" /> Choice 1 <br />
<input type="radio" name="example" /> Choice 2 <br />
<input type="radio" name="example" /> Choice 3
<input type="checkbox" name="example" /> Choice 1 <br />
<input type="checkbox" name="example" /> Choice 2 <br />
<input type="checkbox" name="example" /> Choice 3
<label><input type="checkbox" name="example" /> Choice 1</label><br />
<label><input type="checkbox" name="example" /> Choice 2</label><br />
<label><input type="checkbox" name="example" /> Choice 3</label>
<label><input type="radio" name="example" /> Choice 1</label><br />
<label><input type="radio" name="example" /> Choice 2</label><br />
<label><input type="radio" name="example" /> Choice 3</label>
<input> elements of type checkbox are rendered by default as boxes that are checked (ticked) when activated as you might see in an official government paper form. The exact appearance depends upon the operating system configuration under which the browser is running. Generally, this is a square but it may have rounded corners.
<pre role="emoticon" aria-label="ASCII emoticon of a shrug">¯\_(ツ)_/¯</pre>
<pre role="img" aria-label="ASCII emoticon of a shrug">¯\_(ツ)_/¯</pre>
<dfn title="ASCII emoticon of a shrug">¯\_(ツ)_/¯</dfn>
<label for="art">ASCII emoticon of a shrug</label><pre role="img" id="art">¯\_(ツ)_/¯</pre>
<metadata name="author" content="Author Name">
<meta name="author">Author Name</meta>
<meta name="creator" content="Author Name">
<meta name="author" content="Author Name">
input
configuration: An input
that allows the user to select from a range of integer values between 0 and 100 (inclusive) in increments of 5<input type="range" min="0" max="100" by="5" />
<input type="range" min="0" max="100" step="5" />
<input type="number" min="0" max="100" step="5" />
<input type="number" min="0" max="100" by="5" />
<input> elements of type range let the user specify a numeric value which must be no less than a given value and no more than another given value. The step attribute is a number that specifies the granularity that the value must adhere to.
<head>
element?<head class="Page Section Information" id="head"><title>Page Title</title></head>
<head><title>Page Title</title> <img src="favicon.icon" alt=""></head>
<head><title>Page Title</title> <data value="email">email@example.com</data></head>
<head><title>Page Title</title><address>email@example.com</address></head>
The <head> HTML element contains machine-readable information (metadata) about the document, like its title. The <data> tag is used to add a machine-readable translation of a given content.
Source 1/
Source 2
<aside>
<h3>Comments</h3>
<article>First comment.</article>
<article>Second comment.</article>
</aside>
<div aria="dpub-comments">
<h3>Comments</h3>
<div aria="dpub-comment">First comment.</div>
<div aria="dpub-comment">Second comment.</div>
</div>
<aside>
<h3>Comments</h3>
<aside>First comment.</aside>
<aside>Second comment.</aside>
</aside>
<div typeof="comments">
<h3>Comments</h3>
<div typeof="comment">First comment.</div>
<div typeof="comment">Second comment.</div>
</div>
The <article> HTML element represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable (e.g., in syndication). Example: a user-submitted comment.
Source
access
; allowdesignMode
; truecontenteditable
; truecontenteditable
; yesThe contenteditable global attribute is an enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values: true or an empty string, which indicates that the element is editable; false, which indicates that the element is not editable.
Source
<input type="invisible" name="important" value="information">
<input type="text" style="display: none;" name="important" value="information">
<input type="hidden" name="important" value="information">
<input type="text" hidden name="important" value="information">
<input> elements of type hidden let web developers include data that cannot be seen or modified by users when a form is submitted. For example, the ID of the content that is currently being ordered or edited, or a unique security token. Hidden inputs are completely invisible in the rendered page, and there is no way to make it visible in the page's content.
Source
<table><label>Heading</label>...</table>
<table><title>Heading</title>...</table>
<table><legend>Heading</legend>...</table>
<table><caption>Heading</caption>...</table>
The <caption> HTML element specifies the caption (or title) of a table.
Source
img
element’s srcset
attribute should a browser on a small mobile phone load?<img
srcset="medium.jpg 320w, large.jpg 1280w"
src="small.jpg"
alt="Our favorite image"
sizes="(min-width: 1200px) 640px, 100vw"
/>
The browser will: 1. Look at its device width. 2. Work out which media condition in the sizes list is the first one to be true. 3. Look at the slot size given to that media query. 4. Load the image referenced in the srcset list that has the same size as the slot or, if there isn't one, the first image that is bigger than the chosen slot size.
Source
<dl>
<dt>Server</dt>
<dd>Software used to serve webpages, like Apache.</dd>
<dd>Hardware used to provide data to other computers.</dd>
<!-- Other terms and descriptions -->
</dl>
<dt>
<dl>Server</dl>
<dd>Software used to serve webpages, like Apache.</dd>
<dd> Hardware used to provide data to other computers.</dd>
<!-- Other terms and descriptions -->
</dt>
<dl>
<dt>Server</dt>
<dd>Software used to serve webpages, like Apache.</dd>
<dt>Hardware used to provide data to other computers.</dt>
<!-- Other terms and descriptions -->
</dl>
<dl>
<dd>Server</dd>
<dt>Software used to serve webpages, like Apache.</dt>
<dt>Hardware used to provide data to other computers.</dt>
<!-- Other terms and descriptions -->
</dl>
<ul>
<h2>Espresso Drinks</h2>
<li>Espresso</li>
<li>Latte</li>
<li>Cappuccino</li>
<li>Mocha</li>
</ul>
<ul>
cannot contain a heading element as a direct child.<h1>
should be used here instead of an <h2>
tag.<ol>
allows direct descendants to contain elements other than an <li>
, so use an <ol>
here instead.ul content model only accepts "Zero or more li and script-supporting elements".
Source
<style media="light-mode: false">/* CSS code */</style>
<style media="color-mode: dark">/* CSS code */</style>
<style media="prefers-color-scheme: dark">/* CSS code */</style>
<style media="color-scheme: dark">/* CSS code */</style>
<table>
<thead scope="row">
<th row="1">Header</th>
</thead>
<tr>
<td>10</td>
<td>18</td>
</tr>
</table>
<table>
<tr>
<th scope="row">Header</th>
<td>10</td>
<td>18</td>
</tr>
</table>
<table>
<tr>
<thead scope="row">
Header
</thead>
<td>10</td>
<td>18</td>
</tr>
</table>
<table>
<tr>
<th>Header</th>
<td>10</td>
<td>18</td>
</tr>
</table>
<main>
element represents the dominant content of an <article>
in a document.<main>
element represents the dominant content of a <section>
of a document. You may have one <main>
element per section.<main>
element represents the dominant content of your document. There can be only one <main>
element that is not hidden.<article>
element represents the dominant content of your document. There can be only one <article>
element that is not hidden.<form action="/choices" disabled>
<fieldset disabled>
<legend>choices</legend>
<label>Choice 1 <input type="radio" name="choice" value="choice1" /></label>
<label>Choice 2 <input type="radio" name="choice" value="choice1" /></label>
<label>Choice 3 <input type="radio" name="choice" value="choice1" /></label>
<label>Choice 4 <input type="radio" name="choice" value="choice1" /></label>
<button>Choose!</button>
</fieldset>
</form>
A disabled fieldset is unusable and un-clickable. Source
<dl>
<dt>Server</dt>
<dd>Software used to server webpages, like Apache.</dd>
<dd>Hardware used to provide data to other computers.</dd>
<!--Other terms and descriptions -->
</dl>
<dl>
<dd>Server</dd>
<dt>Software used to server webpages, like Apache.</dt>
<dt>Hardware used to provide data to other computers.</dt>
<!--Other terms and descriptions -->
</dl>
<dt>
<dl>Server</dl>
<dd>Software used to server webpages, like Apache.</dd>
<dd>Hardware used to provide data to other computers.</dd>
<!--Other terms and descriptions -->
</dt>
<dl>
<dt>Server</dt>
<dd>Software used to server webpages, like Apache.</dd>
<dt>Hardware used to provide data to other computers.</dt>
<!--Other terms and descriptions -->
</dl>
<break>
<lb>
<br>
<a>
<a>
element?<a href="#additional-information" class="Card">
<video src="media.mp4" width="400" height="300"></video>
</a>
<a href="#additional-information" class="Card">
<details>
<summary>Additional Information</summary>
</details>
</a>
<a href="#additional-information" class="Card">
<p>Additional Information</p>
<p></p
></a>
<a href="#additional-information" class-"Card">
<img src="media.jpeg" alt="More information"></video>
</a>
<p>
<pre>
<hr>
<title><em>Exciting</em> title</title>
<title></title>
<title name="Exciting Title" />
<title>Exciting title</title>
<link rel="stylesheet" href="/styles for me/styles.css">
<link rel="stylesheet" href="/styles|for|me/styles.css">
<link rel="css" href="\styles for me\styles.css">
<link rel="stylesheet" href="/styles%20for%20me/styles.css">
<p>Simple paragraph
<ul><li>Simple list</li>
<ul><li>Simple list<ul>
<dl><dt>Simple term<dd>Simple description</dl>
<video src="video.mp4" caption="video.vtt"></video>
<video src="video.mp4"><track caption="video.vtt" /></video>
<video src="video.mp4"><track default kind="captions" srclang="en" src="video.vtt" /></video>
<video src="video.mp4"><caption default srclang="en" src="video.vtt" /></video>
<custom-sidebar aria-label-"Sidebar"›Sidebar...</custom-sidebar><custom-footnote aria-
label="Endnotes">Endnotes...</custom-footnote>
<aside role="sidebar">Sidebar...</aside>
<aside role="notes">Endnotes...</aside>
<aside role="complementary">Sidebar...</aside>
<aside role="supplementary">Endnotes...</aside>
<aside aria-label-"Sidebar">Sidebar...</aside><aside aria-label="Endnotes">Endnotes...</aside>
<aside aria-label="Sidebar">Sidebar...</aside><aside aria-label="Endnotes">Endnotes...</aside>
<custom-sidebar aria-label="Sidebar">Sidebar...</custom-sidebar><custom-footnote aria-label="Endnotes">Endnotes...</custom-footnote>
<aside role="Sidebar">Sidebar...</aside><aside role="Endnotes">Endnotes...</aside>
<aside role="complementary">Sidebar...</aside><aside role="supplementary">Endnotes...</aside>
<video src="video.mp4" autoplay muted></video>
<video src="video.mp4" background></video>
<video src="video.mp4" autoplay></video>
<video src="video.mp4" autoplay="force"></video>
<script type="module" src="module.js"></script>
// external module
<script type="async" src="module.js"></script>
// async
<script type="defer" src="module.js"></script>
// defer
<script type="module" src="module.js">
// inline module
</script>
<html:a href="/our-circle/"><circle cx="10" cy="10" r="5"/></html:a>
<a svg:href="/our-circle/"><circle cx="10" cy="10" r="5"/></a>
<a href="/our-circle/"><circle cx="10" cy="10" r="5"/></a>
<a href="/our-circle/" xlink:href="/our-circle/"><circle cx="10" cy="10" r="5"/></a>
<form action="/choices" disabled>
<fieldset disabled>
<legend>Choices</legends>
<label>Choice 1 <input type="radio" name="choice" value="choice1" /></label>
<label>Choice 2 <input type="radio" name="choice" value="choice2" /></label>
<label>Choice 3 <input type="radio" name="choice" value="choice3" /></label>
<label>Choice 4 <input type="radio" name="choice" value="choice4" /></label>
<button>Choose!</button>
</fieldset>
</form>
<table>
<legend>A two body table!</legend>
<col />
<col />
<tbody>
<tr>
<td>Cell 1</td>
<td>Cell 1</td>
</tr>
</tbody>
<tbody>
<tr>
<td>Cell 1</td>
<td>Cell 1</td>
</tr>
</tbody>
</table>
id
attribute?<p id="warning">Be careful when installing this product.</p>
warning
is a unique identifier in the document, used for styling CSS, scripting, and linking within a webpage.warning
is a unique identifier in the document, used for styling CSS and with JavaScript code.warning
may be used for styling CSS several times per page.warning
is a unique identifier in the website, used for styling CSS, scripting, and linking within a webpage.<em>
element represent?Hypertext Machine language.
Hypertext and links markup language.
Hypertext Markup Language.
Hightext machine language.
<ui>
<i>
<em>
<ul>