New Perspectives on HTML and CSS
New Perspectives on HTML and CSS
6th Edition
ISBN: 9781111526443
Author: Carey, Patrick
Publisher: Course Technology Ptr
Question
Book Icon
Chapter 5, Problem 1RA
Program Plan Intro

To enter the name and date in the comment section of each file (tf_tips_txt.html, tf_styles4_txt.css and tf_print2_txt.css) and save them as (tf_tips.html,tf_styles4.css and tf_print2.css).

Expert Solution & Answer
Check Mark

Explanation of Solution

Given information:

tf_tips_txt.html, tf_styles4_txt.css and tf_print2_txt.css files areprovided under the folder html05(Review within the reference material.

Explanation:

1) For tf_tips_txt.html:s

i) Open the tf_tips_txt.html file in the HTML editor.

ii) Now, go to the source code section of the tf_tips_txt.html file and write name and date in the comment section under author and date as shown below:

Adding name and date in the head tag in the comment section:

<head>
<!--
       New Perspectives on HTML5 and CSS3, 7th Edition
       Tutorial 5
       Review Assignment
       Trusted Friends Parenting Tips
       Author: XYZ
       Date:  MM-DD-YYYY 
       Filename: tf_tips.html
      -->
<title>Trusted Friends: Education Tips</title>
<meta charset="utf-8" />
</head>

iii) Now, go to file →Save As, enter the file name tf_tips.html (given in the question) and save the file.

2) For tf_styles4_txt.css:

i) Open the tf_styles4_txt.css file in the HTML editor.

ii) Now go to the source code section of the tf_styles4_txt.css file and writing name and date in the comment section under author and date as shown below:

Adding name and date in the comment section of given CSS code:

@charset "utf-8";
/*
   New Perspectives on HTML5 and CSS3, 7th Edition
   Tutorial 5
   Review Assignment   
   Author: XYZ
   Date: DD-MM-YYYY
   Filename: tf_styles4.css
   This file contains the screen styles used with the Trusted
   Friends blog tips
*/

iii) Now, go to file →Save As, enter the file name tf_styles4.css (given in the question) and save the file.

3) For tf_print2_txt.css:

i) Open the tf_print2_txt.css file in the HTML editor.

ii) Now, go to the source code section of the tf_print2_txt.css file and writing name and date in the comment section under author and date as shown below:

Adding name and date in the comment section of given CSS code:

@charset "utf-8";
/*
   New Perspectives on HTML5 and CSS3, 7th Edition
   Tutorial 5
   Review Assignment
   Author: XYZ
   Date: DD-MM-YYYY
   Filename: tf_print2.css
   This file contains the printer styles used with the Trusted
   Friends Parents Tips page
*/

iii) Now, go to file →Save As, enter the file name tf_print2.css (given in the question) and save the file.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
Design a dynamic programming algorithm for the Longest Alternating Subsequence problem described below: Input: A sequence of n integers Output: The length of the longest subsequence where the numbers alternate between being larger and smaller than their predecessor The algorithm must take O(n²) time. You must also write and explain the recurrence. Example 1: Input: [3, 5, 4, 1, 3, 6, 5, 7, 3, 4] Output: 8 ([3, 5, 4, 6, 5, 7, 3, 4]) Example 2: Input: [4,7,2,5,8, 3, 8, 0, 4, 7, 8] Output: 8 ([4, 7, 2, 5, 3, 8, 0,4]) (Take your time with this for the subproblem for this one)
Design a dynamic programming algorithm for the Coin-change problem described below: Input: An amount of money C and a set of n possible coin values with an unlimited supply of each kind of coin. Output: The smallest number of coins that add up to C exactly, or output that no such set exists. The algorithm must take O(n C) time. You must also write and explain the recurrence. Example 1: Input: C24, Coin values = = [1, 5, 10, 25, 50] Output: 6 (since 24 = 10+ 10+1+1 +1 + 1) Example 2: Input: C = 86, Coin values = [1, 5, 6, 23, 35, 46, 50] Output: 2 (since 86 = 46+35+5)
Design a dynamic programming algorithm for the Longest Common Subsequence problem de- scribed below Input: Two strings x = x1x2 xm and y = Y1Y2... Yn Output: The length of the longest subsequence that is common to both x and y. . The algorithm must take O(m n) time. You must also write and explain the recurrence. (I want the largest k such that there are 1 ≤ i₁ < ... < ik ≤ m and 1 ≤ j₁ < ... < jk ≤ n such that Xi₁ Xi2 Xik = Yj1Yj2 ··· Yjk) Example 1: Input: x = 'abcdefghijklmnopqrst' and y = 'ygrhnodsh ftw' Output: 6 ('ghnost' is the longest common subsequence to both strings) Example 2: Input: x = 'ahshku' and y = ‘asu' Output: 3 ('asu' is the longest common subsequence to both strings)

Chapter 5 Solutions

New Perspectives on HTML and CSS

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