HTML Flashcards

1
Q

Where do you put non-visible content about the HTML document?

A

head element

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

body element

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

Where do the and tags go in a valid HTML document?

A

html element

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

What is the purpose of a DOC TYPE declaration?

A

tell browser what html version to address

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

Give five examples of HTML element tags.

A

h1, p1, ul, ol, dl, li, etc…

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

provide more information about the content contained within that element.

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

Give an example of an HTML entity (escape character).

A

& would be used for &

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

What is the difference between an ordered list and an unordered list in HTML?

A

Ordered lists create numbered items while unordered lists dot each item.

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

What three HTML elements do you use to build a description list?

A

dl, dt, dd

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

How do you indicate the parent folder in a path?

A

../

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

How do you indicate the child folder in a path?

A

filename

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

How do you indicate the grand parent folder in a path?

A

../../filename

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

How do you indicate the current folder in a path?

A

./

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

What are the six primary HTML elements for creating tables?

A

table, td, tr, th, tbody, thead, tfoot

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

What purpose do the thead and tbody elements serve?

A

Differentiate the first row from the rest of the table stylistically

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

Give two examples of data that would lend itself well to being displayed in a table.

A

Stock listings and airplane terminals and times

17
Q

What is an absolute URL?

A

Link built all the way from protocol (http)

18
Q

What is a relative URL?

A

Linking webpages within a site

19
Q

What other ways can we use an anchor tag?

A

Link to other parts of page with ID attribute

20
Q

Why are forms useful?

A

Feedback from user

21
Q

What attribute do you have to match between a label and an input?

A

match the for attribute to the id attribute

22
Q

What type of input allows you to select multiple items in a dropdown?

A
23
Q

What is the action of a form?

A

Specifies where the data is sent

24
Q

What is the purpose of an HTML form element?

A

Contain interactive controls/displays for user interaction

25
Q

Give five examples of form control elements.

A

button, option, select, input, textarea

26
Q

Give three examples of type attributes for HTML elements.

A

email, radio, text, checkbox, password, etc.