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
Write the SQL code that permits to implement the tables: Student and Transcript. NB: Add the constraints on the attributes – keys and other.
Draw an ERD that will involve the entity types: Professor, Student, Department and Course. Be sure to add relationship types, key attributes, attributes and multiplicity on the ERD.
Draw an ERD that represents a book in a library system. Be sure to add relationship types, key attributes, attributes and multiplicity on the ERD.
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