HTML Flashcards

(33 cards)

1
Q

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

A

In the 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

In the 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

Within the 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 declaration?

A

Do declare what HTML element it is

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 , paragraph, body, head, html are all elements

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

Giving it context

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

Ampersand and blank ;

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

order is number and unordered is not

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 - Definition Lists
DT - Definition Term
DD - Definition Description

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

What is an absolute URL?

A

The whole path/

https://www.example.com

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

What is a relative URL?

A

The local page

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

What other ways can

we use an anchor tag?

A

Attach to a word or phase.

Organization

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

How do you indicate the parent folder in a path?

A

Use . . / to indicate the folder

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

How do you indicate the child folder in a path?

A

Name of child folder then forward slash

file name

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

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

A

Use child folder forward slash then grand child folder followed by another forward slash then the file name

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

How do you indicate the current folder in a path?

A

Use the file name

17
Q

What are the six primary HTML elements for creating tables?

A

TB , TR , TH , TBody , Table , THead elements

18
Q

What purpose do the thead and tbody elements serve?

A

Are used to group table rows into logical sections based on their content

19
Q

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

A

Anything on an excel sheet, schedule

20
Q

Why are forms useful?

A

To receive data

21
Q

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

A

input for text and label is the name

22
Q

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

23
Q

What is the action of a form?

A

defines the location (URL) where the forms data should be sent

24
Q

What is the purpose of an HTML form element?

A

Input information from the user

25
Give five examples of form | control elements.
text , radio , checkboxes, | drop-down , area text
26
Give three examples of type attributes for HTML elements.
text , password , radio
27
Why would we choose specific element types when we have elements such as `div` and `span` which can be used for anything?
div identify blocklevel sections span is used to ID inline
28
What factors contribute to a well-designed HTML document?
HTML Doc
29
How do block-level elements affect the document flow?
it gives it structure
30
How do inline elements affect the document flow?
appears in the same line as neighboring element
31
What are the default width and height of a block-level element?
its the height of the context
32
What are the default width and height of an inline element?
They dont have a default
33
What accessibility considerations must be considered when choosing HTML elements?
Screen readers