SHARE
SPREAD
HELP

The Tradition of Sharing

Help your friends and juniors by posting answers to the questions that you know. Also post questions that are not available.


To start with, Sr2Jr’s first step is to reduce the expenses related to education. To achieve this goal Sr2Jr organized the textbook’s question and answers. Sr2Jr is community based and need your support to fill the question and answers. The question and answers posted will be available free of cost to all.

 

#
Authors:
Shelly Cashman Series, Jessica Minnick
Chapter:
Introduction To The Internet And Web Design
Exercise:
Analyze, Correct, Improve
Question:1 | ISBN:9781305578166 | Edition: 8

Question

Correcting HTML Errors
Note: To complete this assignment, you will be required to use the Data Files for Students. Visit www.cengage.com/ct/studentdownload for detailed instructions

or contact your instructor for information about accessing the required files. 


Instructions: Open your HTML editor and then open the analyze01.html file provided in the Data Files for Students. This document lists 10 HTML5 best practices

in its body section. You will follow these 10 guidelines to correct the webpage as instructed. Save the page as practices01.html in the same location and view it in

a browser. Figure 1–52a shows the completed HTML document in Notepad++ and Figure 1–52b shows the completed webpage in a browser.

 

1. Correct
  a. Replace the existing HTML4 DOCTYPE statement with the correct DOCTYPE statement for an HTML5 webpage.
  b. Go through the page and change all uppercase element and attribute names in the tags to lowercase.
  c. Go through the page and make sure all paired elements end with a closing slash ( / ) such as </title> or </head>.
  d. Go through the page and make sure all attribute values are surrounded by “quotation marks”.
  e. Go through the page and add indents and extra lines for readability.
  f. Check the comments to make sure they start with <!-- and end with -->. Change the generic text in the comment to  include your name and the current date.
  g. Select the content within the <body> . . . </body> tags and then check the spelling. Your HTML editor may have a  spelling checker, or you may need to copy

     and paste the content into another program with a spelling checker such as Word. Fix any spelling errors you find.
  h. By completing Steps a–g, you have followed HTML5 best practices 1–7. You will learn about styles and validation in future chapters. Skip ahead to best practice.

10 to save and view your webpage in a browser.


2. Improve
  a. In future chapters you will learn how to create an ordered list that automatically numbers each item in the list. For now, add a <br> tag

      after “HTML5 best practices” and after each item in the list to place the title and each item on the list on its own line.
  b. Save and preview the webpage.
  c. Submit your assignment in the format specified by your instructor.
3. Which error identified in Steps 1a–1g was the most difficult to find and correct? Use specific HTML terminology in your answer.

TextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbook

Sorry the answer is not available at the moment…

If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.

Spread the 'tradition of sharing'.