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
Global Variable Go to the jpf_hitori.js file in your editor. Directly below the comment section, declare the global allCells variable, which you will use to store an array of the puzzle cells in the Hitori table. Do not define a value for the variable yet. JavaScript Functions Insert a command to run the startUp() function when the page is loaded by the browser. Add the startUp() function, which displays the contents of Puzzle 1 after the page is loaded and sets up the initial event handlers. Within the function, add the following commands: Change the inner HTML of the element with the ID, “puzzleTitle” to the text “Puzzle 1”. Call the drawHitori() function using the hitori1Numbers, hitori1Blocks, and hitori1Rating variables as parameter values and store the HTML code returned by the function in the inner HTML of the page element with the ID “puzzle”. Declare a variable named puzzleButtons referencing the page elements with the class name “puzzles”. Loop through the puzzleButtons…
Setup Use your editor to open the ws_lincoln.html and ws_cloud.js. Enter your name and the date in the comment section of each file. Linking JS File Go to the ws_lincoln.html file in your editor. Link the page to the ws_cloud.css style sheet and the ws_stopwords.js and ws_cloud.js JavaScript files (in that order). Load the JavaScript files asynchronously. Study the contents of the file. Lincoln's speech is stored in a div element with the id "speech". The word cloud text will be placed in the aside element with the id "cloud". html---------------------------------------------------------------------- <!DOCTYPE html> <html lang="en"> <head>    <!--       New Perspectives on HTML5, CSS3, and JavaScript 6th Edition       Tutorial 13       Case Problem 4       Word Cloud of Lincoln's 1st Inaugural       Author:        Date:          Filename:   ws_lincoln.html    -->        <meta charset="utf-8" />    <meta name="viewport" content="width=device-width,…
Something is missing from my code, looking for helping spotting the issue.Open the lht_table.js file and below the comment section, declare a variable named thisDay containing the date October 1, 2021. You will use this date to test your script. Create a variable named tableHTML that will contain the HTML code of the events table. Add the text of the following HTML code to the initial value of the variable: <table id='eventTable'>    <caption>Upcoming Events</caption>        <tr><th>Date</th><th>Event</th><th>Price</th></tr> Declare a variable named endDate that contains a Date object that is 14 days after the date stored in the thisDay variable. Use the new Date() object constructor and insert a time value that is equal to thisDay.getTime() + 14*24*60*60*1000. Create a for loop that loops through the length of the eventDates array. Use i as the counter variable. Within the for loop insert the following commands in a…

Chapter 5 Solutions

New Perspectives on HTML and CSS