HTML Flashcards

1
Q

what is this used for <!DOCTYPE html>

A

to signal the browser this html is modern

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

what is this used for <HTML>

A

everything that appears on the page

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

what is this used for <head>

A

everything you do not see on the page

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

what is this used for <body>

A

everything on the page

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

what is this used for <h1-h6></h1-h6>

A

the headlines, h1 being the most important and h6 being the least

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

what is this used for <p>

A

paragraphs

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

what is this used for <em>, <strong></strong></em>

A

words in italic and in bold

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

what is this used for <ul>, <ol>, <li>

A

unordered lists, ordered lists, the subjects in the list

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

how do you insert images

A

<img></img>

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

how to insert links

A

<a> write what you want instead of the links</a>

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

what is the tables structure

A

table, thead, tr, th, header info, /th, /tr,/thead, tbody, tr, td, info, /td,/tr/tbody, /table

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

how to insert comments

A

<!--hello!-->

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

what is id and class

A

id is for specific paragraph, but class is for every paragraph,
id: inside a tag, then in style use a # and write the same thing you wrote on the tag.
class: inside a tag, then in style use a . and write the same thing you wrote on the tag.

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