BACK

Question 1

Which of the following, from outermost to innermost, are components of the box model? a. margin, border, padding, content

Question 2

Which of the following causes an element to display as a block of content with white space above and below? c. display: block;

Question 2

Which of the following pseudo-classes is the default state for a hyperlink that has been clicked? d. :visited

Question 4

Which HTML5 element has the purpose of providing tangential content? b. aside

Question 5

Executable code
                
<!DOCTYPE html>
<html lang="en">
<head>
<title>Trillium Media Design</title>
<meta charset="utf-8">
<style>
nav { float: right;     #nav placed on the right
width: 150px;           #fixed width
background-color: #cccccc;
border: 1px, solid black; }    #border line for nav
header { background-color: #cccccc;
color: #663333;
font-size: x-large;
border-bottom: 1px solid #333333; }
main { margin-right: 150px; }    #added margin to the right to avoid overlap
footer { font-size: x-small;
text-align: center;
clear: both; }              #to ensure footer is under the nav
nav a { color: #000066;     #style for nav
text-decoration: none; }
ul {list-style-type: "_"; }
</style>
</head>
<body>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="products.html">Products</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="about.html">About</a></li>
</ul>
</nav>
<main>
<header>
<h1>Trillium Media Design</h1>
</header>
<p>Our professional staff takes pride in its working relationship with our clients by offering
personalized services that listen to their needs, develop their target areas, and incorporate these
items into a website that works.</p>
</main>
<footer>
Copyright © 2016 Trillium Media Design<br>Last Updated on 06/03/16
</footer>
</body>
</html>