Chapter 1 part 1 Flashcards
The ______ element is a starting element in HTML, indicating the document type definition.
<!DOCTYPE html>
The ______ tag describes aspects of a webpage’s content.
<meta></meta>
The <ol> tag defines an ______.
Ordered List
Front: An unordered list is created using the ______ tag.
<ul>
</ul>
The ______ element creates an inline frame.
<iframe>
</iframe>
If a web developer wants to add a description to an image, they must use the ______ attribute of <img></img>.
alt
The ______ property is used to set the position of an element.
position
HTML is an Object-Oriented Programming Language. True or false
False
: The charset attribute is used for character encoding declaration. t or f
TRUE
An unordered list can be numerical or alphabetical. t or f
FALSE
The srcdoc attribute specifies the HTML content to show in an <iframe>. t or f
TRUE
The controls attribute is used to add play, pause, and volume controls to audio/video. t or f
A: True
Q: Which tag embeds audio files on a webpage?
(a) <sound>
(b) <audio>
(c) <video>
(d) <embedded></embedded></video></audio></sound>
A: (b) <audio></audio>
Which form control is used to define a range for age between 18 to 50?
(a) number
(b) compare
(c) range
(d) textboxes
(c) range
Which character is used to create an ID in CSS?
(a) %
(b) $
(c) @
(d) #
A: (d) #
Q: A nested list can be created using:
(a) Multilevel list
(b) Ordered list
(c) Unordered list
(d) General list choice two
A: (b) Ordered list, (c) Unordered list
Client-side image maps can be created using:
(a) <area></area>
(b) <image>
(c) <usemap>
(d) <map> choice two</usemap></image>
a) <area></area>, (d) <map>
Column A Column B
1. <ul> (a) Client-side image map
2. usemap (b) Bulleted list
3. <meta></meta> (c) Metadata tag
1-b, 2-a, 3-c
cs is the extension of a CSS file. t or f
False
Attributes of the <area></area> tag include:
(a) href
(b) src
(c) coords
(d) data
(e) alt . chose mutiple atleast 3
(a) href, (c) coords, (e) alt
The ______ attribute of <input></input> specifies that an input field is read-only.
read only
The ______ attribute of <input></input> acts as a temporary label.
placeholder
The ______ attribute of <input></input> specifies that a field is required.
required
: The ______ attribute of <input></input> enables auto-focus on page load.
autofocus