HTML test4 Flashcards

1
Q

The ______ attribute specifies where to open the linked document.

A

target

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

Default. Opens the document in the same window/tab as it was clicked

A

_self

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

Opens the document in a new window or tab

A

_blank

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

Opens the document in the parent frame

A

_parent

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

Opens the document in the full body of the window

A

_top

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

To use an image as a link, just put the ____ tag inside the ___tag:

A

< img>
< a>

< a href=”default.asp”>
< img src=”smiley.gif” alt=”HTML tutorial” style=”width:42px;height:42px;”>
< /a>

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

To use an HTML button as a link, you have to add some____________

A

JavaScript code.

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

underlined and blue

underlined and purple

underlined and red

A

unvisited link

visited link

active link

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

The HTML _______ tag is used to embed an image in a web page.

The ___ tag is empty, it contains attributes only, and does not have a closing tag.

A

< img>

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

The <img></img> tag has two required attributes:

____- Specifies the path to the image
____- Specifies an alternate text for the image

A

src
alt

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

To add a background image on an HTML element, use the HTML style attribute and the CSS __________________property:

A

background-image

< p style=”background-image: url(‘img_girl.jpg’);”>

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

Defines an image

A

< img>

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

Defines an image map

A

< map>

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

Defines a clickable area inside an image map

A

< area>

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

Defines a container for multiple image resources

A

< picture>

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

The ______ element adds a title to your page:

A

<title>

<title>HTML Tutorial</title>
</title>

17
Q

Each table cell is defined by a ___ and a _____tag.

Defines a cell in a table

A

< td>
< /td>

td stands for table data

18
Q

Sometimes you want your cells to be table header cells. In those cases use the ____ tag.

19
Q

Each table row starts with a ____ and ends with a ____ tag.

A

<tr>
</tr>

tr stands for table row.

20
Q

Defines a table caption

A

<caption>
</caption>

21
Q

Specifies a group of one or more columns in a table for formatting

A

<colgroup>
</colgroup>

22
Q

Specifies column properties for each column within a <colgroup> element

A

<col></col>

23
Q

Groups the header content in a table

A

<thead>
</thead>

24
Q

Groups the body content in a table

A

<tbody>
</tbody>

25
Q

Groups the footer content in a table

A

<tfoot>
</tfoot>