Deck 2: HTML Tag and Attribute
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/16
Play
Full screen (f)
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>
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
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
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
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
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
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
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
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
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
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
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
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
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>
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>
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
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