tags Flashcards

1
Q

give example of tag

A

<body></body>

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

what is a tag

A

element name surrounded by angle brackets. usually come in pairs (start & end tag)

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

do some tags close themselves

A

yes

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

give example of self closing tag

A

<br></br>

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

how many header tags are there? which are more commonly used?

A

6 h tags, mainly use h1 and h2. rarely use anything else

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

tag to insert link

A

anchor tag, a href

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

example of tag to open link in same tab

A

<a>Discord</a>

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

example of tag to open link in new tab

A

<a>discord</a>

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

you want to stay on same website but go to different path

A

create file, connect file with ./

if in different folder use ../

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

tag for navigation bar

A

nav

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