html Flashcards

1
Q

Where do you put non-visible content?

A

The head of the document

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

Where do you put visible content about the html document?

A

The body of the document

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

where do the head and body tags go in a valid HTML Doc?

A

They go inside the tag. The head is about the body tag.

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

Purpose of !DOCTYPE ?

A

It tells the browser what language to expect

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

5 examples of HTML tags:

A

head, body, span, img, html

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

What is the purpose of HTML attributes?

A

They apply special values to html elements

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

give of example of an HTML entity:

A

The & sign

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

How do block-level elements affect document flow?

A

Block elements take up the full width and the height can be adjusted. They do not share lines.

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

How do inline elements affect flow?

A

Inline elements only take the space they need and they share lines.

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

What is the default height and width of a block-level element?

A

Block level elements are the full width of the parent container and they take on the height of the content

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

What is the difference between OL and UL?

A

Organized lists are numbered and in order while UL lists are usually preceded by bullets.

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

Is an HTML list a block or inline element?

A

Block

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

What HTML tag is used to link to another website?

A

You use the anchor tag with an absolute URL

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

What is an absolute URL?

A

It is a URL that can be accessed from other servers. It holds more info.

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

What is a relative URL?

A

It loads links within the same server only, although faster.

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

How do you link to the parent directory?

A

../index.html

17
Q

how do you link to a child directory?

A

childfolder/index.html

18
Q

How do you link to a grand parent directory?

A

../../index.html

19
Q

How do you link to the same directory?

A

samedirectory.html, you don’t need more than the documents name.

20
Q

What is the purpose of an html form?

A

An html form collects user input

21
Q

5 examples of control elements:

A

img upload, drop down box, button, text area, radio button. Elements you interact with.

22
Q

three examples of “type” attributes for input elements:

A

Email input, password input, search input.

23
Q

Is the input element inline or block?

A

It is inline