CHAPTER 1 PART 2 Flashcards
The ______ attribute of <input></input> specifies that the user can enter multiple values.
A: multiple
Q: The ______ attribute of <input></input> is used to uniquely identify an HTML element via the DOM.
A: id
Q: The ______ attribute of <input></input> applies CSS styles to individual elements.
A: class
Q: The ______ tag is used by search engines to index webpage information.
A: <meta></meta>
Q: ______ will not be displayed on the webpage but is used by search engines.
A: Metadata
Q: The autocomplete attribute specifies whether auto-focus is enabled. T OR F
A: False
Q: The float: right property keeps the element on the right side of the container.
T OR F
A: True
Q: The display: none property removes an element completely.
T OR F
A: True
Q: The position: absolute is affected by the page flow.
A: False
Q: Which property controls horizontal text alignment?
(a) text-align
(b) text-decoration
(c) font-family
(d) letter-spacing
A: (a) text-align
Which CSS selector uses the . symbol?
(a) ID
(b) Class
(c) Universal
(d) Group
A: (b) Class
Which value of text-decoration adds an underline?
(a) overline
(b) line-through
(c) underline
(d) none
(c) underline
Select two attributes of the <video> tag:
(a) autoplay
(b) href
(c) loop
(d) alt
SELECT ATLEAST TWO</video>
A: (a) autoplay, (c) loop
Q: Select two valid values for position in CSS:
(a) static
(b) dynamic
(c) fixed
(d) nested
A: (a) static, (c) fixed
Q: Select three CSS types:
(a) Internal
(b) External
(c) Inline
(d) Control
(e) Loop
A: (a) Internal, (b) External, (c) Inline
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
1-b, 2-a, 3-c, 4-d
The ______ attribute of <meta></meta> specifies the name of the metadata.
A: name
The ______ attribute of <meta></meta> can have any textual matter related to the name.
A: content
The ______ attribute of <meta></meta> specifies the character encoding used by the document.
A: charset
Q: <meta></meta> refreshes the page every 5 seconds.
A: refresh
Q: CSS stands for ______.
A: Cascading Style Sheets
Q: The <meta></meta> tag is a paired tag. t or f
A: False
Metadata will not be displayed on the web page. t or f
A: True
Inline CSS uses the <style> tag. t or f</style>
A: False
- specifies the starting number of the first item.
- sets the list item marker to disc, circle, or square.
- tag defines an unordered list. (True or False?)