//adsense code

Tags Introduction to HTML5 coursera answers

Introduction to HTML5 

By University Of Michigan.


WEEK 2

Tags Introduction to HTML5 coursera quiz answers

Tags!

Question 1
Semantics is

  • the practice of giving content on the page meaning and structure by using proper element
  • the set of rules that defines the combinations of symbols that are considered to be a correctly structured document or fragment in that language
  • circular

Answer:  the practice of giving content on the page meaning and structure by using proper element

Question 2
Semantic code describes the ___ of content on a page, regardless of the style or appearance of that content.

  • number
  • value
  • language

Answer: value

Question 3
Using tags that have semantic meaning

  • increases accessibility and improve search engine optimization
  • increases search engine optimization
  • breaks the separation between content and layout
Answer: increases accessibility and improve search engine optimization

Question 4
Every well-formed HTML document should include:

  • doctype, head, body
  • doctype, header, body
  • header, nav, footer
  • alt text

Answer: doctype, head, body

Question 5
What is wrong with the following code?

  • The alt text attributes is missing from the tag.
  • You can not have text after the closing </a> tag.
  • This code is semantically and syntactically correct.
  • The link in the href must have a full URL

Answer: You can not have text after the closing </a> tag.

Question 6
Block-level elements begin on a new line

  • True
  • False

Answer: True.

Question 7
Inline-level elements begin on a new line

  • True
  • False

Answer: False.

Question 8
A <div> block is an inline-level element

  • True
  • False

Answer: False.

Question 9
A <span> block is an inline-level element

  • True
  • False

Answer: True.

Question 10
Which tag represents a line break (new line)?

  • <br>
  • <break>
  • <line>
  • <lb>

Answer: <br>.

Question 11
Which of the following is the correct way to comment on HTML5?

  • <?-- HTML -->
  • <#-- HTML -->
  • <!-- HTML -->
  • <$-- HTML -->

Answer: <!--HTML-->.

Question 12
Which of the following are valid tags for HTML5 headings?

  • <h5>..</h5>
  • <heading>..</heading>
  • <h9>..</h9>
  • <h7>..</h7>

Answer: <h5>..</h5>

Question 13
All of the content you wish to appear on the screen should be in which tag?

  • <html>
  • <body>
  • <main>
  • <content>

Answer: <body>

Question 14
Which tag is used to create a link?

  • <a>
  • <link>
  • <anchor>
  • <hyper>

Answer: <a>

Question 15
Which of the following code is the correct way to link to an email address?

  • <a href= “mailto:shayhowe@awesome.com?subject=Hi&body=How are you”>Email</a>
  • <a href= “mailto:shayhowe@awesome.com?subject=Hi&body=How%20are%20you”>Email</a>
  • <a href= “mailto:shayhowe@awesome.com?subject=Hi&body=How%are%you”>Email</a>
  • <a href= “mailto:shayhowe@awesome.com?subject=Hi&body=How%20are%20you”>Email<a>

Answer: <a href= “mailto:shayhowe@awesome.com?subject=Hi&body=How%20are%20you”>Email</a>

Question 16
Which HTML element is used to define list items?

  • <ul>
  • <li>
  • <item>
  • <dl>

Answer: <li>

Question 17
The start attribute defines the number from which an unordered list should start.

  • True
  • False

Answer: False

Question 18
The reverse attribute allows a list to appear in a reverse order in an unordered list.

  • True
  • False

Answer: 

Question 19
Which attribute can be used to change its number within an ordered list?

  • num
  • skip
  • change
  • value

Answer: value

Question 20
Which code properly creates the nested list structure shown here?

1. Vegetables

2. Fruit

  ·Blueberries

  ·Bananas

Notice that the blueberries and bananas are part of the fruit component.

Answer: 

<ol>

    <li>Vegetables</li>

    <li>Fruit

       <ul>

          <li>Blueberries</li>

  <li>Bananas</li>

       </ul>

    </li>

</ol>

Question 21
The <ul> and <ol> elements may contain only <li> elements.

  • True
  • False

Answer: True

Question 22
The tags to create definitions are:

  • <def>, <dt>, <li>
  • <dl>, <term>, <def>
  • <dl>, <dt>, <dd>
  • <def>, <dt>, <dd>

Answer: <dl>, <dt>, <dd>

Question 23
What should target = "_blank" do when included in a link tag?

  • Opens the link in a new tab or window
  • Opens the link in a in a tab called "_blank"
  • This is not a valid expression.

Answer: Opens the link in a new tab or window

Question 24
In order for the <img> element to work, a src attribute and value must be included to specify the source of the image.

  • True
  • False

Answer: True

Question 25
The alt text of an image should describe the appearance of an image

  • True
  • False

Answer: False

Question 26
When should an image have null (empty) alt text (alt - “”)

  • When the image is black and white
  • When the image is complex
  • When the image is decorative
  • When the image already displays descriptive text

Answer: When the image is decorative

Question 27
Which of the following is the best way to use a Font Awesome icon to link to Twitter?

  • <a href="https://twitter.com/" aria-label="Twitter"> <i class="fa fa-twitter"></i></a>
  • <a> <i class="fa fa-twitter"></i></a>
  • <a href="https://twitter.com/" > <i class="fa fa-twitter" aria-label="Twitter"></i></a>
  • <a href="https://twitter.com/"> <i class="fa fa-twitter"></i></a>

Answer: <a href="https://twitter.com/" aria-label="Twitter"> <i class="fa fa-twitter"></i></a>

Question 28
What are the elements to help organize the data and structure of a table?

  • <caption>, <head>, <body>, <foot>
  • <caption>, <thead>, <tbody>, <foot>
  • <caption>, <thead>, <tbody>, <tfoot>
  • <caption>, <thead>, <body>, <foot>

Answer: <caption>, <thead>, <tbody>, <tfoot>

Question 29
What does <thead> stand for?

  • The head
  • Table head
  • Table header
  • None of the above

Answer: table head

Question 30
Which code will properly insert headings along each row?

Answer: 

<table>

  <tr><th>Name</th><td>Colleen</td></tr>

  <tr><th>Age</th><td>26</td></tr>

  <tr><th>Team</th><td>Browns</td></tr>

</table>

Related Posts

Subscribe Our Newsletter

1 Comments to "Tags Introduction to HTML5 coursera answers"

  1. Very fascinating and spellbinding blog. A single attentive reading is enough to understand the points, and the information mentioned HTML . If you are looking for fastest and cheapest Netherlands VPS Server you can ask us for more details and services.

    ReplyDelete

Share your view here!!