ch1 prt 4 Flashcards
Q: Dedicated hosting is cheaper than shared hosting. (True or False?)
A: False
Q: Free hosting provides a custom domain name. (True or False?)
A: False
Q: The poster attribute in <video> shows an image while the video loads. (True or False?)</video>
A: True
The loop attribute restarts audio/video after it finishes. (True or False?)
A: True
Q: The preload attribute specifies if a video should load automatically. (True or False?)
A: True
Q: The autoplay attribute works even if muted. (True or False?)
A: True
Q: Which tag creates a numbered list?
(a) <ul>
(b) <ol>
(c) <li>
(d) <dl>
A: (b) <ol>
Q: Which attribute sets the starting number of an ordered list?
(a) start
(b) value
(c) begin
(d) type
A: (a) start
Q: Which CSS property controls text capitalization?
(a) text-transform
(b) font-style
(c) text-decoration
(d) letter-spacing
A: (a) text-transform
Q: Select two valid values for list-style-type:
(a) disc
(b) circle
(c) triangle
(d) diamond
A: (a) disc, (b) circle
Q: Select two attributes of <meta></meta>:
(a) keywords
(b) description
(c) link
(d) src
A: (a) keywords, (b) description
Q: Select three valid input types in HTML5:
(a) color
(b) date
(c) time
(d) currency
(e) week
A: (a) color, (b) date, (e) week
Match the Columns
Front: Match the CSS properties to their functions:
text-align
text-decoration
font-family
margin-left
Options:
(a) Sets left margin
(b) Changes font type
(c) Aligns text horizontally
(d) Adds underline/strikethrough
1-c, 2-d, 3-b, 4-a
Q: The ______ attribute of <input></input> specifies the minimum value for an input field.
A: min
Q: The ______ attribute of <meta></meta> specifies the name of metadata.
A: name
Q: The ______ attribute of <meta></meta> specifies the character encoding used by the document.
A: charset
Q: The ______ attribute of <input></input> specifies that an input field is read-only.
A: readonly
Q: The ______ attribute of <input></input> acts as a temporary label.
A: placeholder
Q: The ______ attribute of <input></input> specifies that a field is required.
A: required
Q: The ______ attribute of <input></input> enables auto-focus on page load.
A: autofocus
Q: The ______ tag is used to specify multiple media resources for media elements.
A: <source></source>
Q: The ______ attribute of <audio> specifies muted audio output.</audio>
A: muted
Q: The ______ attribute of <video> shows an image while the video loads.</video>
A: poster
Q: The ______ attribute of <video> specifies if a video should load automatically.</video>
A: preload
- tag defines an unordered list. (True/False)