html tags Flashcards
1
Q
starting a html webpage
A
<!DOCTYPE html>
2
Q
main tags for webpage
A
<html>
<head>
<title>
</title>
</head>
<body>
</body>
</html>
3
Q
table row
A
<tr>
</tr>
4
Q
table data
A
<td>
</td>
5
Q
table heading
A
<th>
</th>
6
Q
table border with double border
A
border-collapse: separate (default)
7
Q
single border table
A
border-collapse: collapse
8
Q
hyperlink tag
A
<a> </a>
9
Q
opens a hyperlink in a new window or tab
A
target= “_blank”
10
Q
opens a hyperlink in the same frame
A
target= “_self”
11
Q
opens a hyperlink in the parent frame
A
target= “_parent”
12
Q
opens a hyperlink in the full body of the window
A
target= “_top”
13
Q
image tag
A
<img></img>
14
Q
text background colour- tomato colour
A
“<h1 style= "background-color:Tomato;"> </h1>”
15
Q
colour of text
A
“<h1 style="color:Tomato;"> </h1>”