New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN: 9781305503922
Author: Patrick M. Carey
Publisher: Cengage Learning
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
this module is java 731 , follow all instructions and make sure the outputs are like what they expect and make sure the code is 100% correct . include all comments , layout and structure to be perfect too, thanks.    Question 1:  E-Hailing Bicycle Management System Case Study:An e-hailing company that rents out bicycles needs a system to manage its bicycles, users, and borrowing process. Each user can borrow up to 2 bicycles at a time, specifically for families with children 18 years or below. The system must track the bicycles (name, make, type, and availability) and users (name, ID, and borrowed bicycles). The company also wants to ensure that the system uses a multidimensional array to store information about the bicycles. Requirements: Add and View Bicycles: Borrow Bicycles: Return Bicycles Display Borrowed Bicycles and Search for a bicycle Create a menu-driven program to implement the above. Sample Output: Add Bicycle View All Bicycles Borrow Bicycle Return…
Add a method called transfer () to the BankAccount class, that takes in an amount and destinationAccount as input and transfer the funds from current account to destination account. This method should return the balance of the current account after the transfer, also should check for the sufficient balance in current account before proceeding the transfer and if there is insufficient balance return an error message "Insufficient balance". Modify the BankAccount Test class, so that it calls the transfer () method and prints the balance after transfer. Make sure that the transfer() method updates the balance of both the current account and the destination account.
• Create a public method called deposit() that takes in an amount of type double as input and adds the amount to the current balance. This method should also return the updated balance. • Create another public method called withdraw() that takes in an amount of type double as input, checks if the withdrawal amount is less than the current balance, and if so, subtracts the amount from the balance. If the withdrawal amount is greater than the current balance, the method should return an error message "Insufficient balance". • Create a public method getAccountInfo() that returns the account information in the format "Account Number: xxxxx, Account Holder: John Doe, Account Type: SAVINGS/CHECKING, Balance: $xxxX.XX". • Finally, create a constructor method that takes in the account number, account holder name, initial balance and account type as input and initializes the corresponding instance variables. In the BankAccount class, make sure to use the private access modifier for the instance…

Chapter 5 Solutions

New Perspectives on HTML5, CSS3, and JavaScript

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