Web Development and Design Foundations with HTML5 (8th Edition)
Web Development and Design Foundations with HTML5 (8th Edition)
8th Edition
ISBN: 9780134322759
Author: Terry Felke-Morris
Publisher: PEARSON
Expert Solution & Answer
Book Icon
Chapter 6, Problem 2AYK

Explanation of Solution

Missing code:

  • In style properties, set floating property as right, width=150px and border = 1px solid #000000 in nav style.
  • Similarly, set the margin property as 160px in main style.
  • Add the “nav” keyword precede the “a” style properties.
  • Set the “list-style-type” as none in unordered list “ul” style.

Modified code:

<!DOCTYPE html>

<!--HTML Tag-->

<html lang="en">

<!--Head Tag-->

<head>

<!--Title Tag-->

<title>Trillium Media Design</title>

<meta charset="utf-8">

<!--Style Tag-->

<style>

nav { float:right;

            width: 150px;

            background-color: #cccccc;

            border: 1px solid #000000; }

header { background-color: #cccccc;

        color: #663333;

        font-size: x-large;

        border-bottom: 1px solid #333333; }

main { margin-right: 160px; }

footer { font-size: x-small;

            text-align: center;

                clear: both; }

nav a { color: #000066;

            text-decoration: none; }

Blurred answer
Students have asked these similar questions
Whats wrong with my pseudocode? Where did I make an error?Code:           Module main()                 Declare Real mileage                 Call getMileage()                 Display “You’ve drive a total of “, mileage, “ miles            End Module                       Module getMilage()                Display “Enter your mileage: “                 Input mileage            End Module
I need help!! Writing a long pseudocode for a modular program that will display the monthly payment on a mortgage.  P=Principal amount borrowed (loan)R=Rate of interest computed for each monthN=Number of months to pay back the loan or mortgageThe help I need is creating a module that you can input the principle, rate of percentage, and years to repay the loan, and another module "displaypayment" that accepts the 3 values and calculates the monthly payment needed for the rates. Lastly 2 local variables needed!Equation:Monthly Payment=[(R*(1+R)^N)/((1+R)^N-1)]*P
Two pseudocode questions I need help with: How do I design a module called findSum that will display the sum of two integer passed by parameter, and a module called findArea that will display the area of a rectangle when passed 2 real values for the length and width of the rectangle?
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning