Linkiden Flashcards
What is the purpose of the <track> tag, and when should it be used?
The <track> tag is used for specifying subtitles. It is typically applied as a child of the <audio> and <video> tags.
In HTML5, which tag or tags embed a webpage inside of a webpage
<frame>
What are the best examples of void elements
<wbr><base><source>
The “value” attribute is associated with which set of tags?
<li><input><option>
What is the best way to apply bold styling to text
<strong>
When is the <link> tag used?
When linking style sheets and favicons
With which tags is the source element associated?
picture audio and video tags
What should fill the two blanks in the HTML code below?
<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>
itemsope itemtype=”http://schema.org/PostalAddress”
When should you use the <aside> element?
when the content can be removed without detracting from the page’s message
With which tags is the <source> element associated?
<picture>, <audio>, and <video>
When should you use <ol> and <ul> elements?
Use <ul> when you want a bulleted list and <ol> when you want a numbered list.
how to properly code an open by default dropdown
Parmesan Deviled Eggs
<p>
These delectable little bites are made with organic eggs, fresh Parmesan, and chopped pine nuts.
</p>
What is the purpose of the <samp> element?</samp>
It identifies sample output from a computer program
When should you use <ol> and </ol><ul> elements</ul>
Use <ul> when you want a bulleted list and </ul><ol> when you want a numbered list </ol>
What is the correct markup for alt attribute of an image?
<img></img>
What is the difference between teh <div> and the <span> tags</span></div>
<div> is used where a generic block-level tag is needed, while <span> is used where a generic inline tag is needed</span></div>
What should fill the blank in the HTML code below
enctype
What should fill the blank in this HTML code?
<a>Visita Yahoo</a>
es-es
In the code below, what is the purpose of the id attribute?
<p>Be careful when installing this product.</p>
It establishes that id is a unique identifier in the document, used for styling CSS, scripting, and linking within a webpage.
What is the best semantic markup for the sentence shown?
<p>
On July 21, 1969, Neil Armstrong said,
One small step for man, one giant leap for mankind.
</p>
What should fill the blank in this HTML code?
<a>Visita Yahoo</a>
es-es
What is the best way to code nav links
unordered list in a nav element
What is the best way to code three choices within a form so that the user can select only one item?
Make a choice:
What is the <hr>tag typically used for?
It designates a topic shift within a section at the paragraph level.
What does the code shown below accomplish?
<img></img>
It displays image1.jpg at 1000px and higher and image2.jpg at 750px and higher, image3.jpg is a default in case is not supported.
Which HTML snippet links back to the very top of a webpage?
<a></a>
<a>back to top</a>
What is the <hr>tag typically used for?
It designates a topic shift within a section at the paragraph level.
The __ tag is used for marking up a short code snippet, while the __ tag is used for marking up a longer block of code.
<code>, <pre></pre></code>
Which HTML snippet links back to the very top of a webpage?
<a></a>
<a>back to top</a>
Which three tags where deprecated in HTML4 but returned to HTML5?
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.
<p>we are fond of our <abbr>TLAs</abbr> in web design.</p>
What does the tag do?
It programmatically associates a text with an interface element
What should fill the blank below?
media
how would you code an unordered list inside of an unordered list
<ul> <li>Office Supplies <ul> <li>Stapler</li> <li>Paper clips</li> </ul> </li> <li>Groceries <ul> <li>Milk</li> </ul> </li> </ul>
Which choice uses the correct terminology in describing this markup: <p>info</p>?
The start tag is <p>, the end tag is </p>, and the element content is info.
How to mark up a blockquote layout
<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>
Which choice uses the correct terminology in describing this markup: <p>info</p>?
The start tag is <p>, the end tag is </p>, and the element content is info.
What does this code do?
The browser chooses the first supported format to play with the browser’s default controls.
What is the best semantic way to indicate that text refers to keyboard entry?
<p>Press the <kbd>Enter</kbd> key to proceed.</p>
What does this code do?
The browser chooses the first supported format to play with the browser’s default controls.
What attribute applies a keyboard shortcut hint to the current element?
accesskey
What is the correct way to code a link that, when clicked, will send an email to email@example.com with a subject of “Hello”?
<a>Click me</a>
Which tag is the root element of an HTML document?
Which form is coded correctly?
Title
Your name:
Submit
Which choice is NOT a legal value for the name attribute within a tag?
charset
Which form is coded correctly?
Title
Your name:
Submit
What does the poster attribute do in the tag?
It specifies an image that should display while the video downloads and until the video is played.
What does this code do?
When does this text display?
The text displays when the browser cannot play the sound.
What is the primary purpose of the tag?
It allows drawing on a bitmap via JavaScript.
Which choice contains three valid block-level elements?
<dt> <pre></pre></dt>
In the code below, what is the purpose of the lang attribute?
<p>Welcome to our wonderful website.</p>
It establishes the language and dialect for the paragraph—in this case, British English.
Which image formats can be displayed by all web browsers?
PNG, GIF, JPG
Review the code below. What is the absolute URL for a page called page.html?
http://www.linkedin.com/dir/page.html
What is the correct way to include a stylesheet named style.css in the of your document?
link rel=”stylesheet” href=”style.css”
Review the code below. How do you include subnavigation for Link 2 that includes a link?
<ul> <li>Link 1</li> <li>Link 2 <ul> <li>Link 2a</li> </ul> </li> <li>Link 3</li> </ul>
<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>
<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>
.What does the tag do?
It presents an opportunity for a break in a very long word, if needed for proper page display.
Review the code below. How do you include subnavigation for Link 2 that includes a link?
<ul> <li>Link 1</li> <li>Link 2 <ul> <li>Link 2a</li> </ul> </li> <li>Link 3</li> </ul>
<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>
<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>
Which statement is false?
Inline elements can be nested inside inline elements.
Block elements can be nested inside block elements.
Inline elements can be nested inside block elements.
Block elements can be nested inside inline elements.
Block elements can be nested inside inline elements.
What is the best semantic to use Quotes in HTML?
Steve Kruz Said: “He will Win”
quote
What is the root element of an HTML document?
html
What is the semantic meaning of the <hr> tag?
It designates a topic shift within a section at the paragraph level.
How will a video look displayed on a fully loaded webpage if the tag is used and the autoplay attribute is not set?
It will display the first frame of the video, unless the poster attribute is set.
What is the correct way to describe an empty element?
It has no child content and no closing tag.