Linkiden Flashcards

1
Q

What is the purpose of the &lttrack&gt tag, and when should it be used?

A

The &lttrack&gt tag is used for specifying subtitles. It is typically applied as a child of the &ltaudio&gt and &ltvideo&gt tags.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A

&ltframe&gt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the best examples of void elements

A

&ltwbr&gt&ltbase&gt&ltsource&gt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The “value” attribute is associated with which set of tags?

A

&ltli&gt&ltinput&gt&ltoption&gt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the best way to apply bold styling to text

A

&ltstrong&gt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When is the &ltlink&gt tag used?

A

When linking style sheets and favicons

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

With which tags is the source element associated?

A

picture audio and video tags

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

&ltaddress ______ _____&gt
&ltspan itemprop=”streetAddress”&gt6410 Via Real&lt/span&gt&ltbr /&gt
&ltspan itemprop=”addressLocality”&gtCarpinteria&lt/span&gt,
&ltspan itemprop=”addressRegion”&gtCA&lt/span&gt
&ltspan itemprop=”addressCode”&gt93013&lt/span&gt
&lt/address&gt

A

itemsope itemtype=”http://schema.org/PostalAddress”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When should you use the &ltaside&gt element?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

With which tags is the &ltsource&gt element associated?

A

&ltpicture&gt, &ltaudio&gt, and &ltvideo&gt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When should you use &ltol&gt and &ltul&gt elements?

A

Use &ltul&gt when you want a bulleted list and &ltol&gt when you want a numbered list.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

how to properly code an open by default dropdown

A

Parmesan Deviled Eggs

<p>
These delectable little bites are made with organic eggs, fresh Parmesan, and chopped pine nuts.
</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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

A

It identifies sample output from a computer program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

When should you use <ol> and </ol><ul> elements</ul>

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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

A

<img></img>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the difference between teh <div> and the <span> tags</span></div>

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What should fill the blank in the HTML code below

A

enctype

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What should fill the blank in this HTML code?

<a>Visita Yahoo</a>

A

es-es

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

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

<p>Be careful when installing this product.</p>

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is the best semantic markup for the sentence shown?

A

<p>
On July 21, 1969, Neil Armstrong said,
One small step for man, one giant leap for mankind.
</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What should fill the blank in this HTML code?

<a>Visita Yahoo</a>

A

es-es

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is the best way to code nav links

A

unordered list in a nav element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

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

A

Make a choice:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What is the <hr>tag typically used for?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

What does the code shown below accomplish?

<img></img>

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

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

A

<a></a>

<a>back to top</a>

27
Q

What is the <hr>tag typically used for?

A

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

28
Q

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

A

<code>, <pre></pre></code>

29
Q

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

A

<a></a>

<a>back to top</a>

30
Q

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

A
31
Q

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.

A

<p>we are fond of our <abbr>TLAs</abbr> in web design.</p>

32
Q

What does the tag do?

A

It programmatically associates a text with an interface element

33
Q

What should fill the blank below?

A

media

34
Q

how would you code an unordered list inside of an unordered list

A
<ul>
  <li>Office Supplies
    <ul>
      <li>Stapler</li>
      <li>Paper clips</li>
    </ul>
  </li>
  <li>Groceries
    <ul>
      <li>Milk</li>
    </ul>
  </li>
</ul>
35
Q

Which choice uses the correct terminology in describing this markup: <p>info</p>?

A

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

36
Q

How to mark up a blockquote layout

A

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

37
Q

Which choice uses the correct terminology in describing this markup: <p>info</p>?

A

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

38
Q

What does this code do?

A

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

39
Q

What is the best semantic way to indicate that text refers to keyboard entry?

A

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

40
Q

What does this code do?

A

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

41
Q

What attribute applies a keyboard shortcut hint to the current element?

A

accesskey

42
Q

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

<a>Click me</a>

43
Q

Which tag is the root element of an HTML document?

A
44
Q

Which form is coded correctly?

A

Title
Your name:

Submit
45
Q

Which choice is NOT a legal value for the name attribute within a tag?

A

charset

46
Q

Which form is coded correctly?

A

Title
Your name:

Submit
47
Q

What does the poster attribute do in the tag?

A

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

48
Q

What does this code do?

When does this text display?

A

The text displays when the browser cannot play the sound.

49
Q

What is the primary purpose of the tag?

A

It allows drawing on a bitmap via JavaScript.

50
Q

Which choice contains three valid block-level elements?

A

<dt> <pre></pre></dt>

51
Q

In the code below, what is the purpose of the lang attribute?

<p>Welcome to our wonderful website.</p>

A

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

52
Q

Which image formats can be displayed by all web browsers?

A

PNG, GIF, JPG

53
Q

Review the code below. What is the absolute URL for a page called page.html?

A

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

54
Q

What is the correct way to include a stylesheet named style.css in the of your document?

A

link rel=”stylesheet” href=”style.css”

55
Q

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>
A
<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>
56
Q

.What does the tag do?

A

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

57
Q

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>
A
<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>
58
Q

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.

A

Block elements can be nested inside inline elements.

59
Q

What is the best semantic to use Quotes in HTML?

Steve Kruz Said: “He will Win”

A

quote

60
Q

What is the root element of an HTML document?

A

html

61
Q

What is the semantic meaning of the <hr> tag?

A

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

62
Q

How will a video look displayed on a fully loaded webpage if the tag is used and the autoplay attribute is not set?

A

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

63
Q

What is the correct way to describe an empty element?

A

It has no child content and no closing tag.