0% found this document useful (0 votes)
6 views

HTML5 Tags

Uploaded by

abilash
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

HTML5 Tags

Uploaded by

abilash
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Tags!

TOTAL POINTS 30

1.Question 1
Semantics is

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

1 point

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

value

1 point

3.Question 3
Using the header and footer tags can improve the search engine optimization for your
page.

True

1 point

4.Question 4
Every well-formed HTML document should include:

doctype, head, body

1 point

5.Question 5
What is wrong with the following code?

1
<a href = "picture.jpg">My dog</a> chews socks.

This code is semantically and syntactically correct.


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

1 point

6.Question 6
Block-level elements begin on a new line

True

1 point

7.Question 7
Inline-level elements begin on a new line

False

1 point

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

False

1 point

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

True

1 point

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

<br>

1 point

11.Question 11
Which of the following is the correct way to comment on HTML5?
<!-- HTML -->

1 point

12.Question 12
Which set of element tags is used to create the highest level heading?

<h1>...</h1>

1 point

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

<body>

1 point

14.Question 14
Which tag is used to create a link?

<a>

1 point

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

<a href= “[email protected]?subject=Hi&body=How%20are%20you”>Email</a>

1 point

16.Question 16
Which HTML element will number items for you?

<ol>

1 point

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

False
1 point

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

False

1 point

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

value

1 point

20.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.
1

<ol>

<li>Vegetables</li>

<li>Fruit

<ul>

<li>Blueberries</li>

<li>Bananas</li>

</ul>

</li>

</ol>

1 point

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

True
1 point

22.Question 22
The tags to create definitions are:

<dl>, <dt>, <dd>

1 point

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

Opens the link in a new tab or window

1 point

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

1 point

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

False

1 point

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

When the image is decorative

1 point

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


1 point

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

<caption>, <thead>, <tbody>, <tfoot>

1 point

29.Question 29
What does <thead> stand for?

Table header

Using tags that have semantic meaning

increases accessibility and improve search engine optimization

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

<li>

What is wrong with the following code?

1
<a href = "http://www.umich.edu"></a>

This link doesn't provide any way to click on the link.

You might also like