AND DETAILED CORRECT ANSWERS |
A+ GRADE VERIFIED ANSWERS
One of the ways to create a horizontal navigation menu
from an unordered list is to
set the display property of each li element to inline
set the clear property of each li element to both
set the display property of the <a> element within each li
element to inline
set the float property of the <a> elelment within each li
element to left Correct Answer set the display property of
each li element to inline
To create a drop-down menu from an item in a horizontal
navigation bar, you nest
a ul element within the ul element for the navigation bar
a ul element within an li element of the ul element for the
navigation bar
an li element within an li element of the ul element for the
navigation bar
,one ul element within each li element of the ul element for
the navigation bar Correct Answer a ul element within an li
element of the ul element for the navigation bar
To position a drop-down menu directly below an item in a
navigation bar, you apply
absolute positioning to the ul element for the drop-down
list
relative positioning to the ul element for the drop-down list
absolute positioning to the navigation bar
fixed positioning to the ul element for the drop-down list
Correct Answer absolute positioning to the ul element for
the drop-down list
To drop down the menu for an item in a navigation bar
when the mouse pointer hovers over it, you need to use
CSS like this
#nav_menu ul li:hover { display: block; }
#nav_menu ul li:hover ul { display: block; }
#nav_menu ul li:hover > ul { display: block; }
#nav_menu ul li:hover ~ ul { display: block; } Correct
Answer #nav_menu ul li:hover > ul { display: block; }
,When you use a link to start an email, you code the href
attribute as
emailto: followed by the email address of the sender
emailto: followed by the email address of the recipient
mailto: followed by the email address of the sender
mailto: followed by the email address of the recipient
Correct Answer mailto: followed by the email address of
the recipient
To create a menu that drops down from an item in a
navigation bar when the mouse pointer hovers over it, you
use CSS to change the display property for the menu
from off to on
from none to inline
from off to block
from none to block Correct Answer from none to block
To lay out a web page so it adjusts to the width of the
screen, you use
fluid layout
liquid layout
media queries
scalable images Correct Answer fluid layout
Scalable images adjust to
, height of the containing element.
width of the containing element.
width of the device screen.
height of the device screen Correct Answer width of the
containing element.
In a fluid layout, you should use percents to set the widths
for all but one of the following. Which one is it?
structural elements
left and right padding
left and right margins
borders Correct Answer structural elements
To adjust the appearance of a web page to different
screen sizes, you use
liquid layout
media queries
fluid layout
scalable images Correct Answer media queries
An easy way to test a responsive design is to
Use a text editor like Brackets
Deploy the website to a server and test it in Chrome
Deploy the website to a server and test it on a variety of
devices