Web Development and Design Foundations with HTML5 (9th Edition) (What's New in Computer Science)
Web Development and Design Foundations with HTML5 (9th Edition) (What's New in Computer Science)
9th Edition
ISBN: 9780134801346
Author: 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
I would like to know about the features of Advanced Threat Protection (ATP), AMD-V, and domain name space (DNS).
Please show the code for the Tikz figure
What is Windows Server and what is the Differences between Windows Server 2019 and the Windows Operating System that people have installed on their personal computer.
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