HTML TAGS Flashcards

1
Q

Which HTML tag is the root directory

A

< html >

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

The root directory has two children, who are they

A

< body >and < head >

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

what information is contained in the < head > ‘s tag

A

the documents title
meta data
links to css stylesheet

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

what is the <div> tag used for</div>

A

to group a unit of element within the same container

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

the HTML tag attributes; id, class and name is used for what purpose

A

to give a html element a unique name

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

which HTML tag is used to link a CSS stylesheet

A

< link >

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

what attribute is used to link a specified URL to a HTML document

A

href=””

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

the href attribute is used with which html tags

A

< link > and < a >

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

which attribute is used to tell a browser to open a link

A

target

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

what is the <div> tag used for</div>

A

to group a unit of element within the same container

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

the rel=”” attribute serves what purpose

A

it specifies the relationship between the current document and the linked document.

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

what attribute are used to compose a < link > html tag

A

rel=”stylesheet” and

href=”style.css”

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

target=”top” opens a link where

A

in the full body of the window

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

target=”parent” opens a link where

A

in the parent’s frame

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

target=”self” opens a link where

A

default setting in the same window

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

target=”blank” opens a link where

A

in a new window

17
Q

which html tag is used to link a image to a document

A

< img >

18
Q

which attributes are used with < img > tags

A

src=” path to file”
atl=” alternative for if the img file does not loaded”
width’=””
height=””

19
Q

which html tag is used to create lists

A

<ol> or </ol>

<ul></ul>

20
Q

<ol> and </ol>

<ul> html tags, use this tag to list items</ul>

A

<li>
</li>

21
Q

this html tag is used to create a table

A

< table >

22
Q

what attribute is used to set a tables width

A

style=” width:100% “

23
Q

this property is used to define each row

A

< tr >

24
Q

this property is used to define the data in a tables row

A

< td >