Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1)You can use an unordered list to create a horizontal navigation menu by settin

ID: 3726655 • Letter: 1

Question

1)You can use an unordered list to create a horizontal navigation menu by

setting the display property of the <a> element within each li elemenet to inline.

setting the float property of each li elelment to left.

setting the display property of each li element to block.

d.setting the float property of the <a> elelment within each li element to left.

2)A series of navigation links should usually be coded within an HTML5 ____________________ element.

3)When you use ems or percentages to size fonts

the font size is always relative to the browser’s default font size

the font size is always relative to the font size specified for the body

the font size changes as the size of the page changes

d.the font size changes as the size of the font used by its parent element changes

4)When will the styles for the media query that follows be applied?
@media only screen and (min-width: 768px) and (max-width: 959px)

When the width of the screen is greater than 768 pixels and less than 959 pixels

When the width of the screen is 768 pixels or more

When the width of the screen is greater than 768 pixels or less than 959 pixels

When the width of the screen is 959 pixels or less

5)A web page that uses a fluid layout

maintains the same width only on desktop browsers

adapts only on desktop browsers

adapts gracefully to all screen sizes

maintains the same width for all screen sizes

a.

setting the display property of the <a> element within each li elemenet to inline.

b.

setting the float property of each li elelment to left.

c.

setting the display property of each li element to block.

d.

d.setting the float property of the <a> elelment within each li element to left.

2)A series of navigation links should usually be coded within an HTML5 ____________________ element.

3)When you use ems or percentages to size fonts

a.

the font size is always relative to the browser’s default font size

b.

the font size is always relative to the font size specified for the body

c.

the font size changes as the size of the page changes

d.

d.the font size changes as the size of the font used by its parent element changes

4)When will the styles for the media query that follows be applied?
@media only screen and (min-width: 768px) and (max-width: 959px)

a.

When the width of the screen is greater than 768 pixels and less than 959 pixels

b.

When the width of the screen is 768 pixels or more

c.

When the width of the screen is greater than 768 pixels or less than 959 pixels

d.

When the width of the screen is 959 pixels or less

5)A web page that uses a fluid layout

a.

maintains the same width only on desktop browsers

b.

adapts only on desktop browsers

c.

adapts gracefully to all screen sizes

d.

maintains the same width for all screen sizes

Explanation / Answer

Ans:

1) (A)

2)

<nav></nav>

3) (A)

when “1em” is our body font-size, and when the client alters the “Text Size” setting of their browser font-size is small.

4) (A)

When the width of the screen is greater than 768 pixels and less than 959 pixels

5) (C)

Fluid websites are built using percentages for widths. As a result, columns are relative to one another and the browser, allowing it to scale up and down fluidly.