Test 1 Flashcards

1
Q

True or false
HTML5 is a version of the mark-up language that was created to replace the previous version, HTML 4.01.

A

false

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

True or false
The best feature about HTML5 is that it supports ALL of the previous features and syntax from HTML 4.01

A

false

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

The new doctype declaration for HTML5 is:

A

”<!DOCTYPE html> “

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

True or false
The new doctype declaration can be written in EITHER uppercase or lowercase

A

True

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

The character encoding (charset) declaration for HTML5 is:

A

(<meta></meta>)

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

True or False
ALL of the HTML5 elements and their functionality are supported in ALL current browsers

A

False

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

All browsers, old and new, automatically handle unrecognized elements as ________ elements

A

inline

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

Which of these tags are not supported in HTML5:

bgsound , big , blink , center , em , s, u , h1,br, font-size

A

bgsound , big , blink , center , em , s, u

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

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.

A

polyfill

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

A _____________ element (tag) clearly describes its meaning to anyone wishing to use it.

A

Semantic

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

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

A

article

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

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.

A

aside

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

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.

A

details

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

The _______ attribute specifies that the <details> content should be visible to the user by default when used.</details>

A

Open

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

Images and captions can now be grouped together by using which two tags?

A

Figure and figcaption

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

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.

A

footer

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

True or False
No more than one footer element may be added to the same web page.

A

false

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

The _______ element should be used to display “introductory” content on your web page and therefore display at the top.

A

header

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

True or false
More than one header element may be added to the same web page.

A

false

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

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.

A

main

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

True or false
There may not be more than one <main> element in a web page.

A

True

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

True or false
The <main> element may not be a descendant of either the <article>, <aside>, <footer>, <header>, or <nav> elements.

A

True

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

The _____ tag defines noticeable text and should be used if you want to highlight parts of your web page’s text.

A

Mark

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

Most browsers will display the <mark> element with which default values:</mark>

A

Background color as yellow and front color as black

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
The ________ element defines a set of navigation links.
nav
26
True or False Not all links in a web page must be included inside a
True
27
The ____________ element defines a subdivision in a web page; basically it denotes a thematic grouping of content, typically with a heading.
Section
28
The __________ tag defines a visible heading for the
element; therefore, it should be the first child element of the
element.
Summary
29
The ______ tag defines a date and time.
time
30
True or false 30. The
True
31
31. What are the 9 block-level semantic elements?
ARTICLE ASIDE FOOTER MAIN
32
The tag _____________ is used to add color to an input field.
"input type = "color"
33
The tag ____________ is used to enter a date into an input field.
input type=”date”
34
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
35
The tag ____________ is used to enter a date and a time into an input field ( no time zone designation ).
" input type = "datetime""
36
The tag _________ is used to enter an e-mail address into an input field.
""input type= “email""
37
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
38
The tag _________ is used to enter BOTH a month AND a year.
"input type=”month" "
39
The tag ___________ is used to input data that contains ONLY a numeric value.
"" input type =”number ”""
40
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
41
The tag _____________ is used to set a value range for input fields.
"" input type=” range""
42
Ideally, when used (and supported by the browser), the ________ input control will appear as a slider.
range
43
43. When working with the range input field, what are the attributes that can be used to set restrictions?
Min , max , step and value
44
The tag ________ is used to generate data entry for a search field.
"" input type = " search " ""
45
The tag _________ is used to enter a telephone number into an input field.
"" input type = " tel " ""
46
The tag __________ allows the user to enter a time ( without a time zone ).
( input type= "time" )
47
The tag ________ is used to enter a web site address ( URL ) into an input field.
(input type = "url " )
48
True or false Using the form type that supports web site addresses, data entry will validate a URL to assure that it is a real, legitimate, currently-active web address.
False
49
The tag ________ allows the user to enter BOTH a week AND a year.
( input type = "week")
50
The ________________ feature in HTML5 returns the location of a visitor to the web page (or as close as possible).
Geolocation
51
Your ____________ can reveal which country you are in.
IP address
52
By __________ a form using the _________ attribute, you can reference the form in other form elements from anywhere in your web page code.
naming ; id
53
True or False In order to use an < input > tag in your form, it must always appear inside of the < form > < /form > tags.
false
54
The _______________ attribute lets you add more than one Submit button to a form and allows each one to be coded to a different destination.
formaction
55
The _________ attribute lets you specify a _____________( such as [\w\-] {4, 8} ) which should be used to evaluate an input field’s content.
pattern , regular expression
56
The _______________ attribute lets you add a helpful hint to a blank input field to explain what content needs to be added there.
placeholder
57
To disable an input field you use the attribute _________
disable
58
The attribute ________ designates the number of intervals ( frequency ) for an input field.
step
59
The attribute _______ designates a default value for an input field.
value
60
A __________ describes the functionality provided by software that encodes and decodes audio and video media files.
codec
61
True or false Although each one must be installed in a browser before audio and video files can be used, fortunately there is currently only one codec software plug-in for audio files and one for video files.
False
62
True or false When you call up a media file, by default the browser automatically starts downloading the file to determine its type and then allows playback only if it is a supported format.
True
63
The __________ tag in HTML5 will detail information about a media file so that the browser will not even attempt to download it if it knows it cannot be played.
source
64
True or false 64. When listing multiple < source > tags to support different file type encodings, the browser will actually play the last file that it finds listed that it can actually play.
False
65
The _________ tag was deprecated and initially replaced with the < object > tag, but due to continued use, it was eventually reinstalled and is now fully supported in HTML5.
embed
66
When defining styles for the if attribute , you must use the _____ symbol
#
67
True or False Although it is not a good idea, it is permitted to assign the same id attribute property value to more than one HTML element in a web page as long as the value is assigned to different HTML tags.
True
68
True or False All current browsers allow the user’s styles assigned with the !important designation to take precedence over those of the author’s styles which are also designated as !important.
True
69
The wildcard selector designated by the ______ symbol matches ANY HTML element when defining a style.
*
70
True or False Styles can be assigned by designating whether or not a tag contains a specific attribute or even a specific attribute AND a specific attribute value
True
71
True or False The < div > tag is an inline element and the < span > tag is a block-level element
False
72
True or False One of the best measurement units to use in styling a web page is em because one em is equal to the current font size and it is used to describe relative dimensions.
True
73
True or False Inches, millimeters, centimeters, picas and points are not recommended to be used to style web pages as they are units of measurement designated for use in print and not for the web.
True
74
True or False Pixels, ems, exs and percentages are all units of measurement that are designed to work well when applied to web page elements.
True
75
What are the 3 ways by which colors can be specified?
Color-name hexadecimal , rgb
76
What is this color code equivalent to when converting it to a full six- character hex value: #d48 ?
#d04080 / #dd4488(might use this one on the test )
77
What are the four choices for using CSS to position elements on your web page?
Top, right, bottom and left satic ,absolute
78
First-line, first-child, and first-letter are all examples of _____________
Pseudo classes
79
Link styles can be changed by using CSS _________
Pseudo
80
True or False The problem with using shorthand rules to write CSS code is that all of the styles MUST be assigned in a specific order.
True
81
Using the Box Model, what is the correct order for applying border styles around an object – working outward from the content ( there are three basic layers )?
Padding, boarding, margin
82
The four individual sides of the Box Model are applied in which order?
Margin, border , padding and element contents clock wise
83
To assign a style by matching a part of an attribute’s string value, you can do so by including the _______ symbol which will match if the value is at the beginning of the string.
“”^””
84
To assign a style by matching a part of an attribute’s string value, you can do so by including the ______ symbol which will match if the value is at the end of the string.
$
85
89. To assign a style by matching a part of an attribute’s string value, you can do so by including the ___ symbol which will match if the value is any part or substring of the value string.
*
86
The _________________ property designates whether or not a background should be ignored if it appears within either the border or padding areas of an element.
Background - clip
87
With the ______________ property you can specify where you would like a background image to be located by specifying where the _______ corner of the image should start
Background-origin , Top left
88
The ____________ property will change the size of a background image.
Background - size
89
You can scale only one dimension of a background image and have the other one scale automatically to retain the same proportions by using the value _________ for the second dimension.
auto
90
True or False You may add multiple background images to a web page up to a total of four – one to represent each of the four quadrants of the screen.
False
91
True or False When adding multiple background images to a web page, the new images will appear on top of the already-placed images
False
92
To create rounded borders with CSS, you would apply the ________ property.
border-radius
93
True or False When creating rounded borders with CSS, you have the option of applying a separate radius to all four corners at once.
True
94
The syntax for the box-shadow property is as follows: box-shadow: value1 value2 value3 value4 wherein the first value designates the ______________ ; The second value designates the _______________ ; the third value designates the ________________ ; and the fourth value designates ________________.
Horizontal , vertical , blur and shadow.
95
The potential values for the CSS overflow property are:
Hidden, visible , auto, and scroll
96
The hsl ( ) function let’s you define colors based on which 3 properties?
hue, saturation, and lightness
97
________________ is the value of a color on the color wheel and is written as a value between _____ and _____ degrees
Hue , 0, 359
98
_________ indicates how rich or how faded a color will appear and is written as a value between ______ and ________
Saturation , 0 and 100
99
___________ indicates how bright the color will appear and is indicated by a luminance value between ______ and _____ percent
Lightness , 0, 100
100
A value of __________ for lightness ( luminance ) gives the fullest, brightest color.
50%
101
When using the function hsla ( ), the “ a “ indicates the ___________ level which specifies the ________ of the object and is indicated by a value between _____ and _____
Alpha , opacity , 0,1
102
What are three CSS properties that can be used to create columns in a web page?
Column-count, column- gap and column-rule
103
The ______ _____________ property works similar to the box-shadow property by taking the same set of arguments but it is used specifically on text.
text-shadow
104
The ________________ property specifies how additional text content that is not able to be displayed should be handled; the value of _____________will place an ellipsis just before the cutoff to indicate that the text has been truncated
text-overflow , hidden
105
If you want exceptionally long text to display without being truncated, you can use the CSS property _____________ with the value ___________
word-warp , break-word
106
True or False The box-sizing property is used to tell the browser what the sizing properties (width and height) should include – should it include just the content or does it need to include the borders too.
True
107
The values for the box-sizing property are:
border-box, content -box
108
The ________ property specifies whether or not an element is resizable by the user to more manageable dimensions.
resize
109
114. Web fonts are available by using the __________ rule. 115. When applying web fonts, you must link to them by using the ______________
@font-face , URL