Test 1 Flashcards
True or false
HTML5 is a version of the mark-up language that was created to replace the previous version, HTML 4.01.
false
True or false
The best feature about HTML5 is that it supports ALL of the previous features and syntax from HTML 4.01
false
The new doctype declaration for HTML5 is:
”<!DOCTYPE html> “
True or false
The new doctype declaration can be written in EITHER uppercase or lowercase
True
The character encoding (charset) declaration for HTML5 is:
(<meta></meta>)
True or False
ALL of the HTML5 elements and their functionality are supported in ALL current browsers
False
All browsers, old and new, automatically handle unrecognized elements as ________ elements
inline
Which of these tags are not supported in HTML5:
bgsound , big , blink , center , em , s, u , h1,br, font-size
bgsound , big , blink , center , em , s, u
A _________ is a shim that mimics a future API, providing “fallback” functionality for older browsers; it fills in the gaps in older browsers that don’t support the HTML5 functionality and allow you to work with HTML5 code as if it is fully supported.
polyfill
A _____________ element (tag) clearly describes its meaning to anyone wishing to use it.
Semantic
The __________ element specifies independent, self-contained content and should consist of its own self-explanatory content; it should “stand alone” from any other content on the web page/site
article
The ________ element explains some additional content separately from the content in which it is located ( like a sidebar or an insert ); its content should be related to the adjacent content.
aside
The __________ element displays additional information that the web page visitor can view or hide on demand, and it may contain any type of content; it can be used to create an interface that the visitor can open and close.
details
The _______ attribute specifies that the <details> content should be visible to the user by default when used.</details>
Open
Images and captions can now be grouped together by using which two tags?
Figure and figcaption
The _________ element may contain information such as details regarding the web page’s creator and the creation date, copyright information, links to content usage, and contact information.
footer
True or False
No more than one footer element may be added to the same web page.
false
The _______ element should be used to display “introductory” content on your web page and therefore display at the top.
header
True or false
More than one header element may be added to the same web page.
false
The content inside the ____ tag should reflect the primary theme or subject matter of the web page, and it should not contain any content that is repeated in other parts of the web page such as sidebars, links, copyright information, site logos, and search forms.
main
True or false
There may not be more than one <main> element in a web page.
True
True or false
The <main> element may not be a descendant of either the <article>, <aside>, <footer>, <header>, or <nav> elements.
True
The _____ tag defines noticeable text and should be used if you want to highlight parts of your web page’s text.
Mark
Most browsers will display the <mark> element with which default values:</mark>
Background color as yellow and front color as black
The ________ element defines a set of navigation links.
nav
True or False
Not all links in a web page must be included inside a <nav> element; this tag is primarily used for the purpose of grouping.
True
The ____________ element defines a subdivision in a web page; basically it denotes a thematic grouping of content, typically with a heading.
Section
The __________ tag defines a visible heading for the <details> element; therefore, it should be the first child element of the <details> element.</details></details>
Summary
The ______ tag defines a date and time.
time
True or false
30. The <time> element can also be used to encode dates and times in a machine-readable way so that user agents can offer to add special event date reminders or scheduled events to the user's calendar and search engines can produce smarter search results.</time>
True
- What are the 9 block-level semantic elements?
ARTICLE ASIDE FOOTER MAIN
The tag _____________ is used to add color to an input field.
“input type = “color”
The tag ____________ is used to enter a date into an input field.
input type=”date”
True or false
You can add parameters ( attribute restrictions ) to the input field to set either a minimum or a maximum date that is allowed to be entered.
True
The tag ____________ is used to enter a date and a time into an input field ( no time zone designation ).
” input type = “datetime””
The tag _________ is used to enter an e-mail address
into an input field.
"”input type= “email””
True or false
Using the form type that supports e-mail, data entry will validate an e-mail address to assure that it is a real, legitimate, currently-active address.
False
The tag _________ is used to enter BOTH a month AND a year.
“input type=”month” “
The tag ___________ is used to input data that contains ONLY a numeric value.
”” input type =”number ”””
True or False
Restrictions can be set on allowable data entry into a numeric designated Input field so that only said data type will be validated.
True
The tag _____________ is used to set a value range for input fields.
”” input type=” range””
Ideally, when used (and supported by the browser), the ________ input control will appear as a slider.
range
- When working with the range input field, what are the attributes that can be used to set restrictions?
Min , max , step and value