<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>
tag.<link><meta><title>
<wbr><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>
<button><input><form>
<input><label><meter>
<input><option><textarea>
<li><input><option>
<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 which 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?
This is a confusing question and there can be an arguments for both the second and the third options being correct.
From 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>
tag 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.
-Office --Staple --Paper -Groceries --Milk
<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 <ul> <li>staple</li> <li>paper</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>
col1 (yellow) | col2 (yellow) | col3 |
---|---|---|
first (yellow) | second (yellow) | third |
<table> <group cols=2 style='background-color:yellow'> <tr scope=row> <th>col1</th> <th>col2</th> <th>col3</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>col1</th> <th>col2</th> <th>col3</th> </tr> <tr> <td>first</td> <td>second</td> <td>third</td> </tr> </table>
<table> <colgroup span=2 style=background-color:yellow> <tr> <th>col1</th> <th>col2</th> <th>col3</th> </tr> <tr> <td>first</td> <td>second</td> <td>third</td> </tr> </table>
<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 a 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>
<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>