HTML Flashcards

Tags, attributes, elements

1
Q

Describe HTML tags and elements.

Give an example of them.

A

Tags=”Bookends” that label information between opening and closing tags

Elements=”Books” and the “bookends”, or the tag and the content in between

<p>Paragraph</p>

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

What’s an attribute?

A

Attributes provide information about the content of an element.

<p>Paragraph in Paraguayan Spanish</p>

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

What is

A

Defines the document type.

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

Defines an HTML document.

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

Defines information about the document

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

Defines a title for the document

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

Defines the document’s body

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

<h1> to <h6>

| </h6></h1>

A

Defines HTML headings

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

<p>

| </p>

A

Defines a paragraph

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

<br></br>

A

Inserts a single line break

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

<hr></hr>

A

Defines a thematic change in the content

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

Defines a comment

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

Describe white space collapsing and how web developers play a role in it.

A

When a browser encounters two or more spaces together, it will only display one of them.

AND

When a browser comes across a line break, it will also treat that as one space.

Web developers often add extra spaces in their work to make to code easier to read.

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

<img></img>

A

Defines an image

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

Defines a client-side image-map

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

Defines an area inside an image-map

17
Q
A

Used to draw graphics, on the fly, via scripting (usually JavaScript)

18
Q
A

Defines a caption for a element

19
Q
A

Specifies self-contained content

20
Q
A

Defines a container for multiple image resources

21
Q
A

Defines a container for SVG graphics

22
Q
A

Defines an HTML form for user input

23
Q
A

Defines an input control

24
Q
A

Defines a multiline input control (text area)

25
Q
A

Defines a clickable button

26
Q
A

Defines a drop-down list

27
Q
A

Defines a group of related options in a drop-down list

28
Q
A

Defines an option in a drop-down list

29
Q
A

Defines a labelfor an element

30
Q
A

Groups related elements in a form

31
Q
A

Defines a caption for a element

32
Q
A

Specifies a list of pre-defined options for input controls

33
Q
A

Defines the result of a calculation