Html

What is the purpose of the `<track>` tag, and when should it be used?

1.

The `<track>` tag is used for specifying subtitles. It is typically applied as a child of the `<audio>` and `<video>` tags.

2.

The `<track>` tag is used for specifying subtitles. It is typically applied as a child of the `<video>` tag.

3.

The `<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.

4.

The `<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.

Q 1 / 109

Html

What are the best examples of void elements?

1.

`<link><meta><title>`

2.

`<br><base><source>`

3.

`<input><br><p>`

4.

`<area><embed><strong>`

Q 2 / 109

Html

In HTML5, which tag or tags embed a webpage inside of a webpage?

1.

`<iframe>, <frame>, and <frameset>`

2.

`<frame>`

3.

`<iframe>`

4.

`<frame> and <frameset>`

Q 3 / 109

Html

Where do `<header>` and `<footer>` tags typically occur?

1.

as children of `<body>, <article>, <aside>, and <section>` tags

2.

as children of `<body>, <article>, and <section>` tags

3.

as children of `<body>, <article>, <aside>, <nav>, and <section>` tags

4.

as children of `<body>, <article>, <table>, and <section>` tags

Q 4 / 109

Html

What is the best way to apply bold styling to text?

1.

`<strong>`

2.

Use CSS.

3.

`<bold>`

4.

`<b>`

Q 5 / 109

Html

When is the `<link>` tag used?

1.

when linking style sheets, JavaScript, and icons for mobile apps

2.

when linking style sheets, favicons, and preloading assets

3.

when linking one webpage to another

4.

when linking style sheets, external URLs, and favicons

Q 6 / 109

Html

The "value" attribute is associated with which set of tags?

1.

`<button><input><form>`

2.

`<input><label><meter>`

3.

`<input><option><textarea>`

4.

`<li><input><option>`

Q 7 / 109

Html

What should fill the two blanks in the HTML code below?

html <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>

1.

`itemscope` `itemtype="http://schema.org/PostalAddress"`

2.

`itemsref="http://schema.org/PostalAddress"` `itemid="address"`

3.

`itemscope` `itemref="http://schema.org/PostalAddress"`

4.

`itemid="address"` `itemtype="http://schema.org/PostalAddress"`

Q 8 / 109

Html

When should you use the `<aside>` element?

1.

when the content can be removed without detracting from the page's message

2.

for anything you want to move to the side, like a pull quote box, a sidebar, or an image with text wrapping around it

3.

for anything in parentheses

4.

for anything in a sidebar

Q 9 / 109

Html

With which tags is the `<source>` element associated?

1.

`<svg>, <picture>, <audio>, and <video>`

2.

`<picture>, <audio>, and <video>`

3.

It is interchangeable with the `src` attribute, so any element which uses `src` may use `<source>`

4.

`<audio> and <video>`

Q 10 / 109

Html

What is NOT a valid attribute for the `<textarea>` element?

1.

readonly

2.

max

3.

form

4.

spellcheck

Q 11 / 109

Html

What is the best way to code the sample shown?

![Sample text](images/ss-2.png?raw=true) html <details> <summary>Parmesan Deviled Eggs</summary> <p> These delectable little bites are made with organic eggs, fresh Parmesan, and chopped pine nuts. </p> </details> html <h4>▸ Parmesan Deviled Eggs</h4> <p> These delectable little bites are made with organic eggs, fresh Parmesan, and chopped pine nuts. </p> html <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> html <details> <h4>▸ Parmesan Deviled Eggs</h4> <p> These delectable little bites are made with organic eggs, fresh Parmesan, and chopped pine nuts. </p> </details>

1.

A

2.

B

3.

C

4.

D

Q 12 / 109

Html

What is the purpose of the `<samp>` element?

1.

It connects the web browser to a SA-MP server.

2.

It identifies enclosed text as a sampler or an example.

3.

It identifies sample output from a computer program.

4.

It uses a simple application messaging protocol to connect the browser to a texting device.

Q 13 / 109

Html

When should you use `<ol>` and `<ul>` elements?

1.

Use `<ul>` when you want a bulleted list and `<ol>` when you want a numbered list.

2.

Use `<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.

3.

Use `<ol>` when you want a bulleted list and `<ul>` when you want a numbered list.

4.

Use `<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.

Q 14 / 109

Html

What is the difference between the post and get methods in a form?

1.

post is used for sending information to the server. get is used for retrieving form information from the server.

2.

get is used for sending information to the server. post is used for retrieving form information from the server.

3.

With get, data is included in the form body when send to the server. With post, the data goes through the URL.

4.

With post, data is included in the form body when send to the server. With get, the data goes through the URL.

Q 15 / 109

Html

What is the difference between the `<div>` and `<span>` tags?

1.

`<div>` is used where a generic block-level tag is needed, while `<span>` is used where a generic inline tag is needed.

2.

`<div>` is used for major divisions on a page, while `<span>` is used to span across columns.

3.

`<div>` is the industry-standard default tag, but you could use `<span>` if you prefer.

4.

`<div>` is used where a generic inline tag is needed, while `<span>` is used where a generic block-level tag is needed.

Q 16 / 109

Html

What should fill the blank in the HTML code bellow?

html <form method="post" action="mailto:info@linkedin.com" ____="text/plain"></form>

1.

enctype

2.

media

3.

type

4.

rel

Q 17 / 109

Html

What is the correct markup for `alt` attribute of an image?

html <img src="cubism.jpg" alt="Version of ""Whistler's Mother"" in cubist style"> html <img src="cubism.jpg" alt="Version of "Whistler's Mother" in cubist style"> html <img src="cubism.jpg" alt='Version of "Whistler's Mother" in cubist style'> html <img src="cubism.jpg" alt="Version of "Whistler's Mother" in cubist style">

1.

A

2.

B

3.

C

4.

D

Q 18 / 109

Html

In the code below, what is the purpose of the **id** attribute?

html <p id="warning">Be careful when installing this product.</p>

1.

It establishes that id is a unique identifier in the document, used for styling CSS, scripting, and linking within a webpage.

2.

It establishes that id is a unique identifier in the document, used for styling CSS and with Javascript code.

3.

It establishes that id may be used for styling CSS several times per page.

4.

It establishes that id is a unique identifier in the website, used for styling CSS, scripting, and linking within a webpage.

Q 19 / 109

Html

What is the best semantic markup for the sentence shown?

markdown On July 21, 1969, Neil Armstrong said, "One small step for man, one giant leap for mankind." markdown <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> markdown <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> markdown <p> On July 21, 1969, Neil Armstrong said, <q>One small step for man, one giant leap for mankind.</q> </p> markdown <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>

1.

A

2.

B

3.

C

4.

D

Q 20 / 109

Html

What should fill the blank in this HTML code?

html <a href="https://es.yahoo.com/" hreflang="____" target="_blank">Visita Yahoo</a>

1.

es

2.

es-spanish

3.

es-es

4.

spanish

Q 21 / 109

Html

Review the text in the red box in the image shown. What is the best way to code this in HTML?

![Image of footer](images/ss-3.png?raw=true)

1.

ordered list

2.

unordered list inside a nav element

3.

ordered list inside a nav element

4.

unordered list

Q 22 / 109

Html

What is the best way to code three choices within a form so that the user can select only one item?

markdown <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> markdown <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> markdown <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> markdown <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>

1.

A

2.

B

3.

C

4.

D

Q 23 / 109

Html

How do you confirm that a document is written in HTML5?

1.

The server wraps the webpage in an HTML5 wrapper.

2.

Use the `<!DOCTYPE html>` declaration that starts the document.

3.

The browser receives encoding from the server to display the document with HTML5.

4.

It is enclosed in a `<html>` tag.

Q 24 / 109

Html

What does the code shown below accomplish?

html <picture> <source srcset="image1.jpg" media="(min-width: 1000px)" /> <source srcset="image2.jpg" media="(min-width: 750px)" /> <img src="image3.jpg" /> </picture>

1.

It displays image1.jpg at 1000px and higher, image2.jpg at 750-999px, and image3.jpg at 749px and lower.

2.

It displays image1.jps at 1000px and higher and image2.jpg at 750-999px, image3.jpg is a default in case `<picture>` is not supported.

3.

It displays image1.jpg at 1000px and higher and image2.jpg at 750px and higher, image3.jpg is a default in case `<picture>` is not supported.

4.

It displays image1.jpg, image2.jpg and image3.jpg at 1000px and higher.

Q 25 / 109

Html

What code will produce this table?

![Table with yellow background](images/ss-4.png?raw=true) markdown <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> markdown <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> markdown <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> markdown <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>

1.

A

2.

B

3.

C

4.

D

Q 26 / 109

Html

What is the `<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.

1.

This tag is depreciated and should not be used.

2.

It designates a topic shift within a section at the paragraph level.

3.

It draws a horizontal line.

4.

It designates a shift of topic at the section level.

Q 27 / 109

Html

What should fill the two blanks in the HTML code below?

markdown <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>

1.

`itemprop="aggregateRating" itemref="http://schema.org/AggregateRating"`

2.

`itemprop="aggregateRating" itemtype="http://schema.org/AggregateRating"`

3.

`itemid="aggregateRating" itemtype="http://schema.org/AggregateRating"`

4.

`itemid="aggregateRating" itemref="http://schema.org/AggregateRating"`

Q 28 / 109

Html

Which HTML snippet links back to the very top of a webpage?

markdown <a id="top"></a> <!-- placed at the top of the page --> <a href="#top">back to top</a> markdown <a name="top"></a> <!-- placed at the top of the page --> <a href="#top">back to top</a> markdown <a href="#">back to top</a> <a href="#top">back to top</a> markdown <button href="#">back to top</button> <button href="#top">back to top</button>

1.

A

2.

B

3.

C

4.

D

Q 29 / 109

Html

Which three tags where deprecated in HTML4 but returned to HTML5?

1.

`<rb> <rp> <rt>`

2.

`<acronym> <code> <wbr>`

3.

`<hgroup> <q> <wbr>`

4.

`<b> <i> <u>`

Q 30 / 109

Html

The **_** tag is used for marking up a short code snippet, while the **_** tag is used for marking up a longer block of code

1.

`<kdb>`, `<pre>`

2.

`<pre>`, `<code>`

3.

`<kdb>`, `<mark>`

4.

`<code>`, `<pre>`

Q 31 / 109

Html

What does the `<label>` tag do?

1.

It labels webpages with important information.

2.

It visually associates a text label with an interface element.

3.

It visually labels from fields.

4.

It programmatically associates a text label with an interface element.

Q 32 / 109

Html

To get a link to open in a new window or tab, use the **_** attribute

1.

`_blank`

2.

`_self`

3.

`_new`

4.

`_parent`

Q 33 / 109

Html

What is the most semantically accurate way to mark up the sentence shown below? Note: "TLAs" stands for "three-letter acronyms."

**We are fond of our TLAs in web design.** html <p>We are fond of our <span title="three-letter acronyms">TLAs</span> in web design.</p> html <p>We are fond of our TLAs in web design.</p> html <p>we are fond of our <abbr title="three-letter acronyms">TLAs</abbr> in web design.</p> html <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.

1.

A

2.

B

3.

C

4.

D

Q 34 / 109

Html

What is the correctly nested markup for this list?

![Sample list](images/ss-6.png?raw=true) markdown <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> markdown <ul> <li>Office Supplies <ul> <li>Stapler</li> <li>Paper clips</li> </ul> </li> <li>Groceries <ul> <li>Milk</li> </ul> </li> </ul> markdown <ul> <li>office</li> <li>staple</li> <li>paper</li> <li>groceries</li> <li>milk</li> </ul>

1.

A

2.

B

3.

C

Q 35 / 109

Html

undefined

html <link href="phone.css" rel="stylesheet" _____="print" />

1.

title

2.

type

3.

device

4.

media

Q 36 / 109

Html

undefined

![quote](images/ss-5.png?raw=true) markdown <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> markdown <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> markdown <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> markdown <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>

1.

A

2.

B

3.

C

4.

D

Q 37 / 109

Html

undefined

1.

The element opener is `<p>`, the element closer is `</p>`, and the element information is info.

2.

The start tag is `<p>`, the end tag is `</p>`, and the enclosed HTML is info.

3.

The start tag is `<p>`, the end tag is `</p>`, and the element content is info.

4.

The start element is `<p>`, the end element is `</p>`, and the tag content is info.

Q 38 / 109

Html

undefined

1.

There is no difference. Both will render a button that submits a form.

2.

Both will submit a form. However, the `<button>` can have content other than text, like an image or nested HTML elements, while the `<input>` cannot.

3.

`<input type="button">` has been deprecated in HTML5. You should use the `<button>` tag instead.

4.

Both will submit a form. However, the `<input>` can have content other than text, like an image or nested HTML elements, while the `<button>` cannot.

Q 39 / 109

Html

undefined

1.

`<p>Press the <tt>Enter</tt> key to proceed.</p>`

2.

`<p>Press the <kbd>Enter</kbd> key to proceed.</p>`

3.

`<p>Press the <samp>Enter</samp> key to proceed.</p>`

4.

`<p>Press the Enter key to proceed.</p>`

Q 40 / 109

Html

undefined

markdown <audio controls> <source src="sound.mp3" type="audio/mpeg" /> <source src="sound.ogg" type="audio/ogg" /> <source src="sound.wav" type="audio/wav" /> </audio>

1.

The browser chooses the first supported format to play with the browser's default controls.

2.

The browser chooses the best audio format to play with JavaScript-provided controls.

3.

The browser plays each sound file in order automatically. The user has controls to stop playback.

4.

The browser chooses the first supported sound file and will loop the sound until the user stops it.

Q 41 / 109

Html

undefined

1.

`accesskey`

2.

`shortcut`

3.

`keyboard`

4.

`access`

Q 42 / 109

Html

undefined

1.

`<a href="mailto:email@example.com&subject=Hello">Click me</a>`

2.

`<a href="mailto:email@example.com">Hello</a>`

3.

`<a href="mailto:email@example.com?subject=Hello">Click me</a>`

4.

`<a href="mailto:email@example.com?&subject=Hello">Click me</a>`

Q 43 / 109

Html

undefined

1.

`<DOCTYPE html>`

2.

`<html>`

3.

`<body>`

4.

`<root>`

Q 44 / 109

Html

undefined

![Table](images/ss-1.png?raw=true 'table') markdown <tr> <td>Table cell 1</td> <td>Table cell 2</td> </tr> <tr> <td rowspan="2">Table cell 3</td> </tr> markdown <tr> <td>Table cell 1</td> <td>Table cell 2</td> <td>Table cell 3</td> </tr> markdown <tr> <td>Table cell 1</td> <td>Table cell 2</td> </tr> <tr> <td colspan="2">Table cell 3</td> </tr> markdown <tr> <td>Table cell 1</td> <td>Table cell 2</td> </tr> <tr> <td>Table cell 3</td> </tr>

1.

A

2.

B

3.

C

4.

D

Q 45 / 109

Html

undefined

1.

charset

2.

viewport

3.

generator

4.

author

Q 46 / 109

Html

undefined

markdown <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> markdown <form> <fieldset> <legend>Title</legend> <p>Your name:</p> <input type="text" name="name" id="name" /> <input type="submit" value="Submit" /> </fieldset> </form> markdown <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> markdown <form> <legend>Title</legend> <label for="name">Your name:</label> <input type="text" name="name" id="name" /> <input type="submit" value="Submit" /> </form>

1.

A

2.

B

3.

C

4.

D

Q 47 / 109

Html

undefined

1.

It specifies an image that should display while the video downloads and until the video is played.

2.

It specifies an image that only displays if there is a problem with the video.

3.

It specifies an image that should display until the video is played.

4.

It specifies an image that should display while the video downloads.

Q 48 / 109

Html

undefined

html <audio controls src="sound.mp3" type="audio/mpeg">When does this text display?</audio>

1.

The text displays over the audio controls, unless CSS is used to position it elsewhere.

2.

The text displays under the audio controls.

3.

The text displays when the browser cannot play the sound.

4.

The text never displays.

Q 49 / 109

Html

undefined

1.

It allows raster images to be rendered on the webpage.

2.

It displays annotated images.

3.

It allows drawing on a bitmap via JavaScript.

4.

It allows vector images to be rendered on the webpage.

Q 50 / 109

Html

undefined

1.

`<details> <abbr> <figcaption>`

2.

`<canvas> <select> <noscript>`

3.

`<dt> <table> <pre>`

4.

`<kbd> <p> <main>`

Q 51 / 109

Html

undefined

html <p lang="en-GB">Welcome to our wonderful website.</p>

1.

It establishes the language for the website—in this case, English.

2.

It establishes the language and dialect for the website—in this case, British English.

3.

It establishes the language and dialect for the paragraph—in this case, British English.

4.

It establishes the language for the paragraph—in this case, English.

Q 52 / 109

Html

undefined

1.

JPG, GIF, TIF

2.

JPG, TIF, BMP

3.

TIF, BMP, GIF

4.

PNG, GIF, JPG

Q 53 / 109

Html

undefined

html <base href="http://www.linkedin.com/dir/" />

1.

`http://www.linkedin.com/dir/page.html`

2.

`page.html`

3.

`http://www.linkedin.com/page.html`

4.

`dir/page.html`

Q 54 / 109

Html

undefined

1.

`<style link="style.css">`

2.

`<link rel="stylesheet" href="style.css">`

3.

`<style src="style.css"></style>`

4.

`<link style="style.css">`

Q 55 / 109

Html

undefined

1.

Wrap the text in a box that is the right width so everything wraps correctly. Set the box width with CSS.

2.

Separate lines with a `<p>`, then use CSS to make single spacing.

3.

Use the `<pre>` tag to make the line spacing look exactly like you want.

4.

Separate the lines with the `<br>` tag.

Q 56 / 109

Html

undefined

1.

It requires the browser to wrap the current line at that point.

2.

It breaks a word into two pieces, using a hyphen to connect the words.

3.

It formats a sentence to be easily breakable.

4.

It presents an opportunity for a break in a very long word, if needed for proper page display.

Q 57 / 109

Html

undefined

markdown <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> markdown <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> markdown <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> markdown <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> markdown <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>

1.

A

2.

B

3.

C

4.

D

Q 58 / 109

Html

undefined

1.

`//this is a comment`

2.

`/* this is a comment */`

3.

`<! this is a comment ->`

4.

`<!-- this is a comment -->`

Q 59 / 109

Html

undefined

1.

Inline elements can be nested inside inline elements.

2.

Block elements can be nested inside block elements.

3.

Inline elements can be nested inside block elements.

4.

Block elements can be nested inside inline elements.

Q 60 / 109

Html

undefined

`Steve Kruz Said: "He will Win"`

1.

`<q>`

2.

`<quote>`

3.

`<blockquote>`

4.

`<notation>`

Q 61 / 109

Html

undefined

1.

It draws a horizontal line.

2.

This tag is deprecated and should not be used.

3.

It designates a separation of sections within an `<article>`.

4.

It designates a topic shift within a section at the paragraph level.

Q 62 / 109

Html

undefined

1.

It will display a random frame from a video, unless the **poster** attribute is set.

2.

It will display the first frame of the video, unless the **poster** attribute is set.

3.

It will display nothing unless the **poster** attribute is set.

4.

It will display a black window unless the **poster** attribute is set.

Q 63 / 109

Html

undefined

1.

It has opening and closing tags but no child content.

2.

It display nothing on a website.

3.

It has no child content and no closing tag.

4.

It has child content but no closing tag.

Q 64 / 109

Html

undefined

`<script async src="myscript.js"></script>`

1.

It downloads the script from the server when resources allow.

2.

It runs the script after HTML parsing is complete.

3.

It runs the script when the script is ready.

4.

It pauses the parsing of HTML code while the script runs.

Q 65 / 109

Html

undefined

`<audio autoplay loop src="sound.mp3" type="audio/mpeg"></audio>`

1.

When the **play** button is pressed, the browser plays the sounds over and over again until the user stops it.

2.

The browser plays the sound once automatically in the background. The user has no control over the sound.

3.

The browser plays the sound automatically and continuously in the background. The user may stop the sound at any tune.

4.

The browser plays the sound automatically and continuously in the background. The user has no control over the sound.

Q 66 / 109

Html

undefined

1.

There is only one `<head>` tag per page, while there may be many `<header>` tags.

2.

The `<head>` tag may contain CSS and Javascript links, while the `<header>` tag may contain headings and navigational links.

3.

all of these answers

4.

The `<head>` tag contains meta information, while the `<header>` tag contains navigation, logos, and other page identifying content.

Q 67 / 109

Html

undefined

`<script defer src="myscript.js"></script>`

1.

It downloads the script from the server when resources allow.

2.

It runs the script after HTML parsing is complete.

3.

It runs the script when the script is ready.

4.

It pauses the parsing of HTML code while the script runs.

Q 68 / 109

Html

undefined

html <table> <tr> Cell 1 </tr> <td>Cell 2</td> <caption> A table </caption> </table> HTML <caption>A table</caption> <table> <td> <tr>Cell 1</tr> <tr>Cell 2</tr> </td> </table> HTML <caption>A table</caption> <table> <tr> <td>Cell 1</td> <td>Cell 2</td> </tr> </table> HTML <table> <caption>A table</caption> <tr> <td>Cell 1</td> <td>Cell 2</td> </tr> </table> HTML <table> <tr> <td>Cell 1</td> <td>Cell 2</td> </tr> <caption>A table</caption> </table>

1.

A

2.

B

3.

C

4.

D

Q 69 / 109

Html

undefined

![Image of footer](images/ss-7.png?raw=true)

1.

`<a href="../work/info.html">See Information </a>`

2.

`<a href="../info.html">See Information </a>`

3.

`<a href="../../info.html">See Information </a>`

4.

`<a href="info.html">See Information </a>`

Q 70 / 109

Html

undefined

1.

For blog posts and other social media items

2.

For the main content area of your website

3.

When the content stands alone as a unit, is suitable for syndication, or is reusable

4.

To associate comments with a blog post

Q 71 / 109

Html

undefined

HTML <area> <embed> <strong> HTML <input> <br> <p> HTML <link> <meta> <title> HTML <wbr> <base> <source>

1.

A

2.

B

3.

C

4.

D

Q 72 / 109

Html

undefined

1.

`<a href="tel: 802-555-1212">Call me</a>`

2.

`<a href="phone">802-555-1212</a>`

3.

`<a href="tel">802-555-1212</a>`

4.

`<a href="phone: 802-555-1212">Call me</a>`

Q 73 / 109

Html

undefined

separated by spaces. as you wish, separated by spaces.

1.

Classes allow CSS to select specific elements on the page. You may list as many class names within the class attribute as you wish,

2.

Classes allow CSS and JavaScript to select specific elements on the page. You may list only one class name per class attribute.

3.

Classes allow CSS to select specific elements on the page. You may list only one class name per class attribute.

4.

Classes allow CSS and JavaScript to select specific elements on the page. You may list as many class names within the class attribute

Q 74 / 109

Html

undefined

1.

`<input type="color">`

2.

`<input type="tel">`

3.

`<input type="week">`

4.

`<input type="num">`

Q 75 / 109

Html

undefined

As Steve Krug once said, happy talk must die. **`<q>` tag** `Most browsers will display q tags as inline elements with quotes`

1.

`<p>`As Steve Krug once said, `<b>`happy talk must die.`</b>` `</p>`

2.

`<p>`As Steve Krug once said, `<i>`happy talk must die.`</i>` `</p>`

3.

`<p>`As Steve Krug once said, `<blockquote>`happy talk must die.`</blockquote>` `</p>`

4.

`<p>`As Steve Krug once said, `<q>`happy talk must die.`</q>` `</p>`

Q 76 / 109

Html

undefined

markdown <p> <a href="index.html">Home</a> <a href="about.html">About</a> <a href="contact.html">Contact</a> </p> markdown <nav> <a href="index.html">Home</a> <a href="about.html">About</a> <a href="contact.html">Contact</a> </nav> markdown <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> markdown <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>

1.

A

2.

B

3.

C

Q 77 / 109

Html

undefined

![Image of footer](images/ss-8.png?raw=true) markdown <h4>Mailing Address</h4> <address> 6410 Via Real <br> Carpinteria, CA 93013<br> <a href="mailto:info@linkedin.com">info@linkedin.com</a> </address> markdown <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> markdown <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> markdown <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 italic, and browsers will always add a line break before and after the <address> element.`

1.

A

2.

B

3.

C

4.

D

Q 78 / 109

Html

undefined

1.

HTML structures the webpage, identifying its elements such as paragraphs, headings, and lists.

2.

HTML structures and provides a rudimentary look to webpages.

3.

HTML is responsible for the structure, styling, and interactivity of webpages.

4.

HTML is responsible for the structure and styling of webpages.

Q 79 / 109

Html

undefined

1.

It displays nothing on a website.

2.

It has opening and closing tags but no child content.

3.

It has child content but no closing tag.

4.

It has no child content and no closing tag.

Q 80 / 109

Html

undefined

markdown <noscript>Sample Text</noscript>

1.

when there is no JavaScript used on this webpage

2.

when JavaScript is not supported by the browser or if JavaScript is disabled in the browser

3.

when JavaScript is disabled in the web browser

4.

when JavaScript is not supported by the web browser

Q 81 / 109

Html

undefined

markdown <details> <h4>Mixed Berry Tart.</h4> <p4>Raspberries, blueberries, and strawberries on top of a creamy filling served in a crispy tart.</p4> </details> ![A](images/Q84-1.jpg) ![B](images/Q84-2.jpg) ![C](images/Q84-3.jpg) ![D](images/Q84-4.jpg)

1.

A

2.

B

3.

C

4.

D

Q 82 / 109

Html

undefined

1.

an attribute

2.

a tag

3.

content

4.

an element

Q 83 / 109

Html

undefined

1.

`<svg>` produces vector graphics, while `<canvas>` produces raster graphics.

2.

`<svg>` integrates with JavaScript, while `<canvas>` does not.

3.

`<svg>` produces raster graphics, while `<canvas>` produces vector graphics.

4.

`<svg>` cannot be used as a background image, while `<canvas>` can be used as a background

Q 84 / 109

Html

undefined

1.

_readonly_ allows clicking in the `<textarea>` element. _disabled_ prevents all interaction with the control.

2.

_readonly_ is invalid attribute for `<textarea>`, while _disabled_ is a valid attribute.

3.

_disabled_ allows clicking in the `<textarea>` element. _readonly_ prevents all interaction with the control.

4.

_disabled_ is invalid attribute for `<textarea>`, while _readonly_ is a valid attribute.

Q 85 / 109

Html

undefined

`<a target="_blank">...</a>`

1.

an attribute

2.

a tag

3.

content

4.

an element

Q 86 / 109

Html

undefined

HTML <button submit="http://example.com/process"> Process data </button> HTML <button action="http://example.com/process"> Process data </button> HTML <button formaction="http://example.com/process"> Process data </button> HTML <button method="http://example.com/process"> Process data </button>

1.

A

2.

B

3.

C

4.

D

Q 87 / 109

Html

undefined

`x<y&z>w` `It's too strange question because all of that methods doesn't work. The good method is &amp, &lt, &gt using.`

1.

`<p>x<y&z>w</p>`

2.

`<p>x<y&z>w</p>`

3.

`<p>x<<y&&z>>w`

4.

`<p>x<y&z>w</p>`

Q 88 / 109

Html

undefined

HTML <label>Address:</label> <input type="text" name="address" id="address-input" />

1.

The `<label>` and `<input>` should be nested inside of a `<fieldset>` element.

2.

**"address"** is not a valid value for the attribute **name** on an `<input>` element.

3.

The `<label>` element is missing an **id** set to "address-input".

4.

The `<label>` element is missing a **for** attribute set to "address-input".

Q 89 / 109

Html

undefined

1.

GET

2.

POST

3.

PUT

4.

SUBMIT

Q 90 / 109

Html

undefined

1.

`<p>` Get 10% discount `<small>`not valid in France`</small></p>`

2.

`<p>` Get 10% discount `<!--not valid in France--> </p>`

3.

`<p>` Get 10% discount `<comment>`not valid in France`</comment></p>`

4.

`<p>` Get 10% discount `<aside>`not valid in France`</aside></p>`

Q 91 / 109

Html

undefined

1.

`<p lang="es">canción</p>`

2.

`<p lang="es">canci&oacuten</p>`

3.

`<p lang="es">cancio'n</p>`

4.

`<p lang="es">canci'on</p>`

Q 92 / 109

Html

undefined

1.

`<caption>` provides captions for `<audio>`,`<video>`,`<img>`, and `<table>`.

2.

`<caption>` provides captions to `<table>`.

3.

`<caption>` provides captions for `<audio>`, `<video>`, and `<table>`.

4.

`<caption>` provides captions for `<img>`, `<audio>`, and `<video>`.

Q 93 / 109

Html

undefined

HTML <li> <input> <option> HTML <input> <option> <textarea> HTML <button> <input> <form> HTML <input> <label> <meter>

1.

A

2.

B

3.

C

4.

D

Q 94 / 109

Html

undefined

`<img src="https://source.unsplash.com/random">`

1.

`<img>` should be paired with a `<caption>` tag.

2.

The `<img>` element is missing an alt attribute.

3.

`<img>` is not a valid HTML element. Instead, use `<image src="..."/>`.

4.

`<img>` should be nested within a `<figure>` tag.

Q 95 / 109

Html

undefined

`**Definition element => The <dfn> HTML element is used to indicate the term being defined within the context of a definition phrase or sentence. `<br>`**Description Term element => The <dt> HTML element specifies a term in a description or definition list, and as such must be used inside a <dl> element.`<br>` **Description Details element =>The <dd> HTML element provides the description, definition, or value for the preceding term (<dt>) in a description list (<dl>).`

1.

`<p>`The `<dl>`focal length`</dl>` of a lens gives the distance from the lens to the image sensor.`</p>`

2.

`<p>`The `<dfn>`focal length`<dfn>` of a lens gives the distance from the lens to the image sensor.`</p>`

3.

`<p>`The `<dt>`focal length`</dt>` of a lens gives the distance from the lens to the image sensor.`</p>`

4.

`<p>`The `<dd>`focal length`</dd>` of a lens gives the distance from the lens to the image sensor.`</p>`

Q 96 / 109

Html

undefined

<input type="radio" name="example"> Choice 2 <br/> <input type="radio" name="example"> Choice 3 <input type="checkbox" name="example"> Choice 2 <br/> <input type="checkbox" name="example"> Choice 3 <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 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, like 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.`

1.

<input type="radio" name="example"> Choice 1 <br/>

2.

<input type="checkbox" name="example"> Choice 1 <br/>

3.

<label><input type="checkbox" name="example"> Choice 1</label><br/>

4.

<label><input type="radio" name="example"> Choice 1</label><br/>

Q 97 / 109

Html

undefined

1.

`<pre role="emoticon" aria-label="ASCII emoticon of a shrug">¯_(ツ)_/¯</pre>`

2.

`<pre role="img" aria-label="ASCII emoticon of a shrug">¯_(ツ)_/¯</pre>`

3.

`<dfn title="ASCII emoticon of a shrug">¯_(ツ)_/¯</dfn>`

4.

`<label for="art">ASCII emoticon of a shrug</label><pre role="img" id="art">¯_(ツ)_/¯</pre>`

Q 98 / 109

Html

undefined

1.

`<metadata name="author" content="Author Name">`

2.

`<meta name="author">Author Name</meta>`

3.

`<meta name="creator" content="Author Name">`

4.

`<meta name="author" content="Author Name">`

Q 99 / 109

Html

undefined

`<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.`

1.

`<input type="range" min="0" max="100" by="5" />`

2.

`<input type="range" min="0" max="100" step="5" />`

3.

`<input type="number" min="0" max="100" step="5" />`

4.

`<input type="number" min="0" max="100" by="5" />`

Q 100 / 109

Html

undefined

`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.`

1.

`<head class="Page Section Information" id="head"><title>Page Title</title></head>`

2.

`<head><title>Page Title</title> <img src="favicon.icon" alt=""></head>`

3.

`<head><title>Page Title</title> <data value="email">email@example.com</data></head>`

4.

`<head><title>Page Title</title><address>email@example.com</address></head>`

Q 101 / 109

Html

undefined

HTML <aside> <h3>Comments</h3> <article> First comment.</article> <article> Second comment.</article> </aside> HTML <div aria="dpub-comments"> <h3>Comments</h3> <div aria="dpub-comment"> First comment.</div> <div aria="dpub-comment"> Second comment.</div> </div> HTML <aside> <h3>Comments</h3> <aside> First comment.</aside> <aside> Second comment.</aside> </aside> HTML <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.`

1.

A

2.

B

3.

C

4.

D

Q 102 / 109

Html

undefined

`The 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.`

1.

`access`; allow

2.

`designMode`; true

3.

`contenteditable`; true

4.

`contenteditable`; yes

Q 103 / 109

Html

undefined

`<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](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/hidden)

1.

`<input type="invisible" name="important" value="information">`

2.

`<input type="text" style="display: none;" name="important" value="information">`

3.

`<input type="hidden" name="important" value="information">`

4.

`<input type="text" hidden name="important" value="information">`

Q 104 / 109

Html

undefined

`The <caption> HTML element specifies the caption (or title) of a table.` [Source](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption)

1.

`<table><label>Heading</label>...</table>`

2.

`<table><title>Heading</title>...</table>`

3.

`<table><legend>Heading</legend>...</table>`

4.

`<table><caption>Heading</caption>...</table>`

Q 105 / 109

Html

undefined

html <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](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images)

1.

small.jpg

2.

medium.jpg

3.

none of them

4.

large.jpg

Q 106 / 109

Html

undefined

HTML <button formaction="http://example.com/process"> Process daata </button> HTML <button method="http://example.com/process"> Process daata </button> HTML <button action="http://example.com/process"> Process daata </button> HTML <button submit="http://example.com/process"> Process daata </button> `formaction — 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](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formaction)

1.

A

2.

B

3.

C

4.

D

Q 107 / 109

Html

undefined

HTML <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> HTML <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> HTML <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> HTML <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>

1.

A

2.

B

3.

C

4.

D

Q 108 / 109

Html

undefined

HTML <ul> <h2>Espresso Drinks</h2> <li>Espresso</li> <li>Latte</li> <li>Cappuccino</li> <li>Mocha</li> </ul>

1.

Nothing is wrong.

2.

`<ul>` cannot contain a heading element as a direct child.

3.

An `<h1>` should be used here instead of an `<h2>` tag.

4.

Only `<ol>` allows direct descendants to contain elements other than an `<li>`, so use an `<ol>` here instead.

Q 109 / 109