HTML test4 Flashcards
The ______ attribute specifies where to open the linked document.
target
Default. Opens the document in the same window/tab as it was clicked
_self
Opens the document in a new window or tab
_blank
Opens the document in the parent frame
_parent
Opens the document in the full body of the window
_top
To use an image as a link, just put the ____ tag inside the ___tag:
< img>
< a>
< a href=”default.asp”>
< img src=”smiley.gif” alt=”HTML tutorial” style=”width:42px;height:42px;”>
< /a>
To use an HTML button as a link, you have to add some____________
JavaScript code.
underlined and blue
underlined and purple
underlined and red
unvisited link
visited link
active link
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.
< img>
The <img></img> tag has two required attributes:
____- Specifies the path to the image
____- Specifies an alternate text for the image
src
alt
To add a background image on an HTML element, use the HTML style attribute and the CSS __________________property:
background-image
< p style=”background-image: url(‘img_girl.jpg’);”>
Defines an image
< img>
Defines an image map
< map>
Defines a clickable area inside an image map
< area>
Defines a container for multiple image resources
< picture>
The ______ element adds a title to your page:
<title>
<title>HTML Tutorial</title>
</title>
Each table cell is defined by a ___ and a _____tag.
Defines a cell in a table
< td>
< /td>
td stands for table data
Sometimes you want your cells to be table header cells. In those cases use the ____ tag.
<th>
</th>
Each table row starts with a ____ and ends with a ____ tag.
<tr>
</tr>
tr stands for table row.
Defines a table caption
<caption>
</caption>
Specifies a group of one or more columns in a table for formatting
<colgroup>
</colgroup>
Specifies column properties for each column within a <colgroup> element
<col></col>
Groups the header content in a table
<thead>
</thead>
Groups the body content in a table
<tbody>
</tbody>
Groups the footer content in a table
<tfoot>
</tfoot>