Deck 2: HTML Tag and Attribute

Full screen (f)
exit full mode
Question
To create a blank line in your web page

A)press enter two times
B)press shift + enter
C)insert <br> tag
D)insert <bline>
Use Space or
up arrow
down arrow
to flip the card.
Question
Which of the following is not a style tag?

A)<b>
B)<tt>
C)<i>
D)all of above are style tags
Question
The way the browser displays the object can be modified by _____

A)attributes
B)parameters
C)modifiers
D)none of above
Question
Which of the following HTML code is valid?

A)<font colour="red">
B)<font color="red">
C)<red><font>
D)all of above are style tags
Question
Which of the following is an attribute related to font tag?

A)size
B)face
C)color
D)all of above are style tags
Question
HTML supports

A)ordered lists
B)unordered lists
C)both type of lists
D)does not support those types
Question
What tag is used to list individual items of an ordered list?

A)li
B)ol
C)ul
D)none of above
Question
When should we use path along with file name of picture in IMG tag?

A)path is optional and not necessary
B)when the location of image file and html file are different
C)when image file and html file both are on same location
D)path is always necessary when inserting image
Question
Which of the following is not a valid alignment attribute?

A)left
B)right
C)top
D)all of above
Question
Which attribute is used with img tag to display the text if image could not load in browser?

A)description
B)name
C)alt
D)id
Question
Which attribute can be used with BODY tag to set background color green?

A)background="green"
B)bgcolor="green"
C)vlink="green"
D)none of above
Question
Which attribute we'll use with TD tag to merge two cells horizontally?

A)merge=colspan2
B)rowspan=2
C)colspan=2
D)merge=row2
Question
A webpage displays a picture. What tag was used to display that picture?

A)picture
B)mage
C)img
D)src
Question
Which tag inserts a line horizontally on your web page?

A)<hr>
B)<line>
C)<line direction="horizontal">
D)<tr>
Question
Which tag allows you to add a row in a table?

A)<td> and </td>
B)<cr> and </cr>
C)<th> and </th>
D)<tr> and </tr>
Question
What is the correct HTML for making a hyperlink?

A)<a href="http://google.com">google</a>
B)<a name="http:// google.com">google</a>
C)<http:// google.com </a>
D)url="http:// google.com">google
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/16
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 2: HTML Tag and Attribute
1
To create a blank line in your web page

A)press enter two times
B)press shift + enter
C)insert <br> tag
D)insert <bline>
insert <br> tag
2
Which of the following is not a style tag?

A)<b>
B)<tt>
C)<i>
D)all of above are style tags
all of above are style tags
3
The way the browser displays the object can be modified by _____

A)attributes
B)parameters
C)modifiers
D)none of above
attributes
4
Which of the following HTML code is valid?

A)<font colour="red">
B)<font color="red">
C)<red><font>
D)all of above are style tags
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following is an attribute related to font tag?

A)size
B)face
C)color
D)all of above are style tags
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
6
HTML supports

A)ordered lists
B)unordered lists
C)both type of lists
D)does not support those types
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
7
What tag is used to list individual items of an ordered list?

A)li
B)ol
C)ul
D)none of above
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
8
When should we use path along with file name of picture in IMG tag?

A)path is optional and not necessary
B)when the location of image file and html file are different
C)when image file and html file both are on same location
D)path is always necessary when inserting image
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following is not a valid alignment attribute?

A)left
B)right
C)top
D)all of above
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
10
Which attribute is used with img tag to display the text if image could not load in browser?

A)description
B)name
C)alt
D)id
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
11
Which attribute can be used with BODY tag to set background color green?

A)background="green"
B)bgcolor="green"
C)vlink="green"
D)none of above
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
12
Which attribute we'll use with TD tag to merge two cells horizontally?

A)merge=colspan2
B)rowspan=2
C)colspan=2
D)merge=row2
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
13
A webpage displays a picture. What tag was used to display that picture?

A)picture
B)mage
C)img
D)src
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
14
Which tag inserts a line horizontally on your web page?

A)<hr>
B)<line>
C)<line direction="horizontal">
D)<tr>
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
15
Which tag allows you to add a row in a table?

A)<td> and </td>
B)<cr> and </cr>
C)<th> and </th>
D)<tr> and </tr>
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
16
What is the correct HTML for making a hyperlink?

A)<a href="http://google.com">google</a>
B)<a name="http:// google.com">google</a>
C)<http:// google.com </a>
D)url="http:// google.com">google
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 16 flashcards in this deck.