Question: Create a new document in your text editor and type the declaration, element, document head, and element. Use the strict DTD and Coast City Computers

Create a new document in your text editor and type the declaration, element, document head, and

element. Use the strict DTD and Coast City Computers as the content of the element. <p><img style="width:838px;" src="https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/12/675073508caa4_64867507350867c5.jpg" alt="Create a new document in your text editor and"></p> <p><img style="height:1030px;width:864px;" src="https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/12/67507350d3cdc_64867507350cda60.jpg" alt="Create a new document in your text editor and"></p> 2. Add the following text and elements to the document body: <h2>Memorial Day Sale</h2> <ul> <li>Compaq Presario m2007us Notebook: <strong>$799.99</strong></li> <li>Epson Stylus CX6600 Color All-In-One Printer, Print/Copy/Scan: <strong>$699.99</strong></li> <li>Proview Technology Inc. KDS K715s 17-inch LCD Monitor, Silver/Black: <strong>$199.99</strong></li> <li>Hawking Technology Hi-Speed Wireless-G Cardbus Card: <strong>$9.99</strong></li> </ul> 3. Add the following PHP code section and include state- ment to the beginning of the document body. This statement includes an external file named inc_header.php at the start of the Web page. <?php include("inc_header.php"); ?> 4. Add the following PHP code section and include statement to the end of the document body. This statement includes an external file named inc_footer.php at the end of the Web page. <?php include("inc_footer.php"); ?> 5. Save the document as CoastCityComputers.php in the Projects directory for Chapter 2. 6. Create a new document in your text editor and add the fol- lowing text and elements: <table width="100%" style="border: 0"> <tr><td><h1>Coast City Computers</h1></td> <td style="text-align: right"><strong>Buy Online or Call 1-800-555-1212</strong></td></tr></table><hr> 7. Save the document as inc_header.php in the Projects direc- tory for Chapter 2. 8. Create a new document in your text editor and add the fol- lowing text and elements: <hr> <table width="100%" style="border: 0"> <tr><td><strong>Updated</strong> 06 January, 2010</td> <td style="text-align: right">© 2003 by Coast City Computers.</td> </tr> <tr><td> </td> <td style="text-align: right; vertical-align: top">All Rights Reserved.</td></tr> </table> 9. Save the document as inc_footer.php in the Projects direc- tory for Chapter 2. 10. Upload the CoastCityComputers.php, inc_header.php, and inc_footer.php files to the server. 11. Open the CoastCityComputers.php file in your web browser by entering the following URL: http://<yourserver>/PHP_ Projects/Chapter.02/Projects/CoastCityComputers.php. The contents of the header and footer documents should appear on the Web page. 12. Close your web browser window and text editor</yourserver>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!