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
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 3, Problem 7HOE

(a)

Explanation of Solution

Filename: format1.css

Program:

<!--HTML Tag-->

<html>

<!--Head Tag-->

<head>

<!--Style Tag-->

<style>

<!--Alignment for body tag-->

body

{

background-color: #FFFFFF;

color: #000099;

font-family: Arial, Helvetica, sans-serif;

}

<!--Alignment for hyperlink tag-->

a

{

background-color: #CCCCCC;

}

<!--Alignment for header tag-->

h1

{

font-family: "Times New Roman", serif;

color: #FF0000;

}

<!--Close Tag-->

</style>

<!--Close Tag-->

</head>

<!--Body Tag-->

<body>

<!--Heading Tag-->

<h1...

(b)

Explanation of Solution

Filename: format2.css

Program:

<!--HTML Tag-->

<html>

<!--Head Tag-->

<head>

<!--Style Tag-->

<style>

<!--Alignment for body tag-->

body

{

background-color: #FFFF66;

color: #00FF00;

}

<!--Alignment for hyperlink tag-->

a

{

background-color:#FFFFFF;

}

<!--Alignment for header tag-->

h1

{

font-family: "Times New Roman",serif;

background-color: #FFFFFF;

color: #00FF00;

}

<!--Close tag-->

</style>

<!--Close tag-->

</head>

<!--Body tag-->

<body>

<!--Heading tag-->

<h1>Pr...

(c)

Explanation of Solution

Filename: moviecss1.html

Program:

<!--HTML Tag-->

<html lang="en">

<!--Head Tag-->

<head>

<!--Title Tag-->

<title>External Style Sheet</title>

<link rel="stylesheet" href="format1.css">

<!--Close Tag-->

</head>

<!--Body Tag-->

<body>

<!--Header Tag-->

<header><h1>Harry Potter</h1></header>

<!--Main Tag-->

<main>

<p>Harry Potter is a series of fantasy novels written by British author J. K. Rowling. The novels chronicle the life of a young wizard, Harry Potter, and his friends Hermione Granger and Ron Weasley, all of whom are students at Hogwarts School of Witchcraft and Wizardry. The main story arc concerns Harry's struggle against Lord Voldemort, a dark wizard who intends to become immortal, overthrow the wizard governing body known as the Ministry of Magic, and subjugate all wizards and muggles (non-magical people)...

(d)

Program Plan Intro

In order to modify the moviecss1.html page to link to the format2.css instead of format1.css, the below given code is one solution.

Change

<link rel="stylesheet" href="format1.css">

To

<link rel="stylesheet" href="format2.css">

Blurred answer
Students have asked these similar questions
Of the five primary components of an information system (hardware, software, data, people, process), which do you think is the most important to the success of a business organization? Part A - Define each primary component of the information system. Part B - Include your perspective on why your selection is most important. Part C - Provide an example from your personal experience to support your answer.
Management Information Systems
Q2/find the transfer function C/R for the system shown in the figure Re ད
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
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