stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Period 4 - Web Design 2 Flashcards | StudBud
Explore
/
Period 4 - Web Design 2
Period 4 - Web Design 2
31 terms
·
StudBud Administration
·
43 plays
Imported from external platform
Flashcards
31 cards
F
Practice quiz
P
Host live
L
Questions
31
Answers
1
Given the CSS rule body { background-color: #f3f3f3; }, what is background-color?
Declaration
Comment
Selector
Property
Value
2
Given the CSS rule body, what is { background-color: #f3f3f3; } called?
Comment
Property
Value
Selector
Declaration
3
Which of the following CSS snippets shows how to make a table appear full width?
table {100%: width;}
table width: 100%;
table {width: 100%;}
table-{width: full;}
4
Which of the following parts is not a valid part of the CSS box model?
Border
Absolute
Content
Padding
5
What is the benefit of applying ‘.section1’ after the initial ‘div’ section in the CSS.
Another div section could have a separate rule applied to it
div sections can be duplicated
The CSS rule can also be applied to header tags of the same class
It ensures the rule is applied to all div sections
6
When integrating the Google Maps JavaScript API, which of the following is required as a parameter in the script URL?
id
key
passcode
token
session
7
Which of the following describes the <ul> element?
An unfiltered and underlined list of elements
An unordered list of elements
An underlined list of elements
An ordered list of elements
8
Which ARIA attribute is used to specify that an element controls the appearance or disappearance of another element?
aria-hidden
aria-controls
aria-live
aria-label
9
To include a standard navbar in your website using Bootstrap, which class should you primarily use?
.navigation
.navbar
.menu
.navlink
10
What is the semantic difference between using the <b> and <strong> tags?
<b> is used purely for visual styling, while <strong> indicates importance.
There's no difference; both are for bolding text.
<b> is for bolding, while <strong> is for italicizing.
<strong> is used purely for visual styling, while <b> indicates importance.
11
Which CSS property does NOT get inherited by default?
line-height
text-align
color
background-color
font-family
12
What is the primary purpose of the <blockquote> tag in HTML?
To create a bullet point list.
To insert a block of code.
To indicate a section of quoted text from another source.
To highlight headers and titles.
13
Which of the following best explains the importance of including a proper DOCTYPE declaration in an HTML document?
It's required to make the website searchable on search engines.
It ensures compatibility with all web hosting servers.
It guarantees that embedded videos and audios will play correctly.
It provides a standard to which the document will be validated.
14
Which part of HTML contains metadata?
Choose the correct syntax for writing metadata in to your HTML file.
<metadata name=" ">
<meta name=" ">
<meta>...
<meta />
15
Which of the following is NOT a feature introduced in HTML 5 that enhances its relationship with web browsers?
Built-in video and audio playback functionalities
Canvas element for drawing graphics
A new set of semantic elements
Local storage for saving data on users' devices
A tool for automatic website translation
16
From the options below, select the snippet which will apply the same rule to both lists equally.
ul-names-ages { font-family: arial;}
ul-all { font-family: arial;}
ul { font-family: arial;}
ul_ { font-family: arial;}
17
What is the purpose of the ‘type’ element when creating a user entry form.
To determine the CSS class to be used
To control the type of input required by the user
To control the maximum input length
To control the positioning of the form
18
You want to add a shadow effect to the text on your webpage. Which CSS property would you use?
font-shadow: effect;;
text-effect: shadow;
font-shadow
font-effect: shadow;
text-shadow
shadow-text
19
When changes are made to an external stylesheet, how many HTML documents that reference it will be affected?
All documents that link to it
Only the last document that linked to it
Only the document currently open in the browser
Only the first document that links to it
20
Which of the following best describes HTML?
describes the structure of the webpage
responsible for the transformation of packets from a server to the computer
controls the connection the browser and a database
solely controls the graphics and videos on the webpage
21
What is the main advantage of using a CSS framework like Bootstrap?
It ensures backward compatibility with older versions of HTML
It allows for building Android apps
It allows for server-side scripting
It provides pre-styled components and a grid system for rapid development
22
Given the CSS rule body { background-color: #f3f3f3; }, what is #f3f3f3;?
Property
Comment
Declaration
Selector
Value
23
When creating a margin for an element, how are the dimensions of the margin measured?
centimeters
groups of 10 pixels
screen size/inches
pixels
24
Which property can help in identifying elements that exceed their containing element's width?
background-color: red;
overflow: hidden;
max-width: 100%;
border-radius: 50%;
outline: 1px solid red;
25
Which of the following tags is most appropriate for marking up the primary navigation menu of a webpage?
<directory>
<header>
<nav>
<links>
<menu>
26
Select the correct syntax for an ordered list of two items.
<ol> <li>text<li> <li>text<li> </ol>
<ol> <ll>text</ll> <ll>text</ll> </ol>
<ul> <ll>text</ll> <ll>text</ll> </ul>
<ol> <li>text</li> <li>text</li> </ol>
27
What is the standard order in the shorthand property for margin and padding values (e.g., margin: 10px 5px 15px 5px;)?
Right, Left, Top, Bottom
Bottom, Right, Top, Left
Right, Top, Left, Bottom
Top, Left, Bottom, Right
Top, Right, Bottom, Left
28
In the CSS box model, which property defines the space between the border and the actual content?
border
padding
gap
margin
spacing
29
If you want to display controls like play, pause, and volume on an audio or video tag, which attribute should you use?
tools
features
controls
options
settings
30
Which of the following tag is used for drop down list?
<select>
<text>
<textarea>
<dropdown>
31
Which of the following best describes the primary function of HTML tags?
To provide meta information about external resources.
To add interactivity and logic to web pages.
To define the appearance and layout of web pages.
To modify the behavior of web browsers.
To denote the structure and elements of web content.