HTML Flashcards

1
Q

What is the internet?

A

Its a wire that connects the client and the server

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

Why should we keep our html css and js separate?

A

For organisation
The golden rule of separation of concerns:
● html = content/structure
●css = style
●js = behavior/interaction

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

What is the anatomy of an html element?

A

An opening tag and a closing tag woth content in between

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

What is <p>?

A

A paragraph

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

What is <span> ?</span>

A

A short text

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

What is <pre> ?

A

An abomination

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

what is <ol> ?

A

ordered list

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

what is <ul> ?

A

unordered list

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

what is <section> used for

A

used to group similar elements

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

what is <article> used for ?

A

used for thing that can be shared (articles,blogposts…)

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

what is <aside> used for ?

A

used for extra elements (ads etc..)

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

what is <header> used for?

A

used for content at the beginning of your document.

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

what is <footer> used for?

A

used for content at the end of your document.

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

what is special about the <img></img> tag

A

its self closing

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