Chapter 1 part 1 Flashcards

1
Q

The ______ element is a starting element in HTML, indicating the document type definition.

A

<!DOCTYPE html>

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

The ______ tag describes aspects of a webpage’s content.

A

<meta></meta>

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

The <ol> tag defines an ______.

A

Ordered List

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

Front: An unordered list is created using the ______ tag.

A

<ul>
</ul>

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

The ______ element creates an inline frame.

A

<iframe>
</iframe>

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

If a web developer wants to add a description to an image, they must use the ______ attribute of <img></img>.

A

alt

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

The ______ property is used to set the position of an element.

A

position

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

HTML is an Object-Oriented Programming Language. True or false

A

False

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

: The charset attribute is used for character encoding declaration. t or f

A

TRUE

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

An unordered list can be numerical or alphabetical. t or f

A

FALSE

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

The srcdoc attribute specifies the HTML content to show in an <iframe>. t or f

A

TRUE

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

The controls attribute is used to add play, pause, and volume controls to audio/video. t or f

A

A: True

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

Q: Which tag embeds audio files on a webpage?
(a) <sound>
(b) <audio>
(c) <video>
(d) <embedded></embedded></video></audio></sound>

A

A: (b) <audio></audio>

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

Which form control is used to define a range for age between 18 to 50?
(a) number
(b) compare
(c) range
(d) textboxes

A

(c) range

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

Which character is used to create an ID in CSS?
(a) %
(b) $
(c) @
(d) #

A

A: (d) #

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

Q: A nested list can be created using:
(a) Multilevel list
(b) Ordered list
(c) Unordered list
(d) General list choice two

A

A: (b) Ordered list, (c) Unordered list

17
Q

Client-side image maps can be created using:
(a) <area></area>
(b) <image>
(c) <usemap>
(d) <map> choice two</usemap></image>

A

a) <area></area>, (d) <map>

18
Q

Column A Column B
1. <ul> (a) Client-side image map
2. usemap (b) Bulleted list
3. <meta></meta> (c) Metadata tag

A

1-b, 2-a, 3-c

19
Q

cs is the extension of a CSS file. t or f

20
Q

Attributes of the <area></area> tag include:
(a) href
(b) src
(c) coords
(d) data
(e) alt . chose mutiple atleast 3

A

(a) href, (c) coords, (e) alt

21
Q

The ______ attribute of <input></input> specifies that an input field is read-only.

22
Q

The ______ attribute of <input></input> acts as a temporary label.

A

placeholder

23
Q

The ______ attribute of <input></input> specifies that a field is required.

24
Q

: The ______ attribute of <input></input> enables auto-focus on page load.

25
The ______ tag is used to specify multiple media resources for media elements.
A:
26
Q: The controls attribute adds play, pause, and volume buttons.
A: True
27
.css is the extension for CSS files.
A: True
28
The float: none property shows the element as it is.
A: True
29
The position: static property is affected by top/bottom/left/right values.
A: False
30
Which attribute specifies the URL of the audio file? (a) src (b) href (c) link (d) data
A: (a) src
31
Q: Which CSS selector uses the # symbol? (a) Class (b) ID (c) Universal (d) Group
A: (b) ID
32
Q: Which property controls font size? (a) font-family (b) font-style (c) font-size (d) font-weight
A: (c) font-size
33
Q: Select two attributes of the
A: (a) autoplay, (c) controls
34
Q: Select two CSS display properties: (a) inline (b) fixed (c) block (d) absolute
A: (a) inline, (c) block