CHAPTER 1 PART 2 Flashcards

1
Q

The ______ attribute of <input></input> specifies that the user can enter multiple values.

A

A: multiple

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

Q: The ______ attribute of <input></input> is used to uniquely identify an HTML element via the DOM.

A

A: id

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

Q: The ______ attribute of <input></input> applies CSS styles to individual elements.

A

A: class

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

Q: The ______ tag is used by search engines to index webpage information.

A

A: <meta></meta>

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

Q: ______ will not be displayed on the webpage but is used by search engines.

A

A: Metadata

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

Q: The autocomplete attribute specifies whether auto-focus is enabled. T OR F

A

A: False

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

Q: The float: right property keeps the element on the right side of the container.
T OR F

A

A: True

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

Q: The display: none property removes an element completely.
T OR F

A

A: True

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

Q: The position: absolute is affected by the page flow.

A

A: False

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

Q: Which property controls horizontal text alignment?
(a) text-align
(b) text-decoration
(c) font-family
(d) letter-spacing

A

A: (a) text-align

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

Which CSS selector uses the . symbol?
(a) ID
(b) Class
(c) Universal
(d) Group

A

A: (b) Class

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

Which value of text-decoration adds an underline?
(a) overline
(b) line-through
(c) underline
(d) none

A

(c) underline

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

Select two attributes of the <video> tag:
(a) autoplay
(b) href
(c) loop
(d) alt
SELECT ATLEAST TWO</video>

A

A: (a) autoplay, (c) loop

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

Q: Select two valid values for position in CSS:
(a) static
(b) dynamic
(c) fixed
(d) nested

A

A: (a) static, (c) fixed

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

Q: Select three CSS types:
(a) Internal
(b) External
(c) Inline
(d) Control
(e) Loop

A

A: (a) Internal, (b) External, (c) Inline

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

Front: Match the following CSS properties:

color

background-image

font-weight

padding

Options:
(a) Adds a border
(b) Sets text color
(c) Makes text bold
(d) Adds space around content

A

1-b, 2-a, 3-c, 4-d

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

The ______ attribute of <meta></meta> specifies the name of the metadata.

A

A: name

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

The ______ attribute of <meta></meta> can have any textual matter related to the name.

A

A: content

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

The ______ attribute of <meta></meta> specifies the character encoding used by the document.

A

A: charset

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

Q: <meta></meta> refreshes the page every 5 seconds.

A

A: refresh

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

Q: CSS stands for ______.

A

A: Cascading Style Sheets

22
Q

Q: The <meta></meta> tag is a paired tag. t or f

23
Q

Metadata will not be displayed on the web page. t or f

24
Q

Inline CSS uses the <style> tag. t or f</style>

25
External CSS files are saved with a .css extension. t or F
A: True
26
The font-family property controls the size of the font.
A: False
27
Q: Which attribute of specifies the character encoding? (a) name (b) http-equiv (c) content (d) charset
A: (d) charset
28
Q: Which value of http-equiv sets cookies? (a) refresh (b) set-cookie (c) content-type (d) expires
A: (b) set-cookie
29
Q: Which CSS type affects multiple pages? (a) Inline (b) Internal (c) External (d) Universal
A: (c) External
30
Q: Select two attributes of : (a) name (b) href (c) http-equiv (d) src (Two Correct Answers)
A: (a) name, (c) http-equiv
31
Q: Select two CSS text-decoration values: (a) underline (b) overline (c) italic (d) bold
A: (a) underline, (b) overline
32
Match the Columns Front: Match CSS properties: 1)font-weight 2)text-align 3) background-color 4) padding Options: (a) Sets background color (b) Makes text bold (c) Aligns text horizontally (d) Adds space around content
1-b, 2-c, 3-a, 4-d
33
Q: The ______ attribute of
    specifies the starting number of the first item.
A: start
34
Q: The ______ attribute of
    sets the list item marker to disc, circle, or square.
A: type
35
Q: The ______ tag is used to define a term in a definition list.
A:
36
Q: The ______ tag is used to embed video files on a webpage.
A:
37
Q: ______ is the default value for the float property.
A: none
38
Q: The
tag defines an unordered list. (True or False?)
A: False
39
Q: The float: left property keeps the element on the left side of the container. (True or False?)
A: True
40
Q: The position: fixed element moves when the page is scrolled. (True or False?)
A: False
41
Q: The display: inline property sets the width and height. (True or False?)
A: False
42
Q: The tag specifies multiple media resources for audio/video elements. (True or False?)
A: True
43
Q: Which attribute of
A: (a) muted
44
: Which CSS property controls letter spacing? (a) word-spacing (b) line-height (c) letter-spacing (d) text-spacing
A: (c) letter-spacing
45
Q: Which value of list-style-type creates bulleted lists? (a) circle (b) square (c) disc (d) All of the above
A: (d) All of the above
46
Q: Select two attributes of the
A: (a) poster, (c) preload
47
Q: Select two valid values for position in CSS: (a) relative (b) dynamic (c) sticky (d) floating
A: (a) relative, (c) sticky
48
Q: Select three attributes of the tag: (a) pattern (b) required (c) href (d) autocomplete (e) loop
A: (a) pattern, (b) required, (d) autocomplete
49
Q: Select three types of web hosting: (a) Shared hosting (b) Free hosting (c) Dynamic hosting (d) Dedicated hosting
A: (a) Shared hosting, (b) Free hosting, (d) Dedicated hosting
50
Match the Columns Match the HTML tags to their purposes: 1] 2]