HTML Flashcards

1
Q

What is part of a basic HTML skeleton?

A

!DOCTYPE, HTML, HEAD, TITLE, BODY, HEADER, PARAGRAPH

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

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

A

It tells the browser how to read the HTML

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

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

A

Non-visible content like the title or meta is put into the head element

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

Where do you put visible content about the HTML document?

A

Visible content is put into the body element

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

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

A

The head element typically go before the body element

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

Give five examples of HTML element tags.

A

Head, title, body, header, and anchor

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

What is the purpose of HTML attributes?

A

An attribute either modifies the default functionality of an element type or provides functionality to certain element types unable to function correctly without them.

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

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

A

Ampersand

&

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

How do block-level elements affect the document flow?

A

Block-level elements takes up the entirety of the lines width

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

How do inline elements affect the document flow?

A

In-line elements only takes up as much space as necessary

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

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

A

Default width is the width of the entire line or the entire line of the parent element that the block is in. Default height is the default size of the content that the block has

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

What are the default width and height of an inline element?

A

Default height and width is the minimum size that is needed to display the element

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

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

A

Ordered is numbered while unordered are bullet points

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

Is an HTML list a block element or an inline element?

A

List elements are blocks

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

What HTML tag is used to link to another website?

A

An anchor is used

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

What is an absolute URL?

A

Absolute URL are complete URL’s take takes the user to where they need to go

17
Q

What is a relative URL?

A

Relative URL are like shorthand directions to where the User wants to go

18
Q

How do you indicate the relative link to a parent directory?

A

To go into the parent directory you use ../

19
Q

How do you indicate the relative link to a child directory?

A

to get into the child directory you /child directory

20
Q

How do you indicate the relative link to a grand parent directory?

A

To get into the grandparent directory you use ../../

21
Q

How do you indicate the relative link to the same directory?

A

If its in the same directory you just use the file name

22
Q

What is the purpose of an HTML form element?

A

Use to get user input and store it as usable data

23
Q

Is an HTML element a block element or an inline element?

A

Inline element

24
Q

What are the six primary HTML elements for creating tables?

A

table, thead, tbody, tr, th, td

25
Q

What purpose do the thead and tbody elements serve?

A

Separates the header of the columns and the body of the table