Validate and correct the errors in the web page file

Assignment Help Computer Engineering
Reference no: EM131321216

Assignment

Instructions: While it may sound simple to validate your HTML code, it is often times difficult to understand the error messages validation services return. Using the W3C Markup Validation Service, validate and correct the errors in the web page file. After saving the file to your computer, review it and correct as many errors as you can BEFORE validating. Then, upload the file to the validation service. You will need to locate and correct all errors in the file. Once you have finished:upload the corrected file to Canvas via the Upload File tab.NOTE: Just because the page may display correctly, does not mean that it is coded correctly. About Validation The validator is similar to a spell-checker - it will find coding syntax errors but NOT all of your errors. For example, the validator does not check for browser combatibility (more on this later in the quarter), nor does it spell-check your text. It also will not check if your work follows the instructions for the assignment!

For future assignments, you will be REQUIRED to validate your code, and the files must pass validation in order to receive credit and feedback. It will also be important for you to become very familiar with the validation process and deciphering error messages before you get into more complex code.

Pre-Validation Tips

Every document sent to the validator should have: doctype statement meta tag with character encoding title tag other elements necessary in the head section Additionally, make sure that:all CODE is lowercase (excludes the text that will be displayed) all attributes have a value, coded in quotation marks elements include closing tags (except void elements)When you send your code to the validator, begin by following these steps:look at the FIRST error that it lists and try to fix it - you may have only one true error, but elements following that error will be considered incorrect until you fix the previous error if the validator reports an area of code that appears to be correct, look at the code ABOVE the one with the supposed error - many times, an invalid code will make every code AFTER it seem invalid to the validator fix one error at a timeValidation in FirefoxIf you download the Web Developer Add-on for Mozilla Firefox, you can choose to validate your code without going directly to W3C Validator.

To Validate a Published Web Page: Open your web page in Firefox right-click on the page choose Web Developer from the list, then Tools Select Validate HTML To Validate a Local HTML File: Open your web page in Firefox on the keyboard, press and hold ALT - SHIFT - L Both options will give you a validation report using the W3C Validator. You can view the error messages by scrolling down the page.Sample Error Messages FATAL ERROR No DOCTYPE specified!" I could not parse this document, because it does not include a DOCTYPE Declaration. A DOCTYPE Declaration is mandatory for most current markup languages and without such a declaration it is impossible to validate this document."  

This will occur if you have a typo somewhere in your DOCTYPE statement. You should always copy and paste the DOCTYPE statement from a reliable source!

 

Error statement:

"Line 16, column 6: end tag for "head" which is not finished (explain...).

< ⁄ head >"

 

You look at your < head > tags and see that they are done correctly....and wonder why is it giving you this message about the head tag. This will occur if you forget to put in a <title> tag in your head section of your page. Even though the omitted <title> tag is the problem, the validator comments on it by saying that the head element isn't finished. That means that it is missing a required element, like the title tag. So, in this case, you would have to look at codes ABOVE the < ⁄ head > tag to find the error.

 

Error statement:

"Line 15, character "<" is the firs

Reference no: EM131321216

Questions Cloud

Discuss the pros and cons of leasing : Discuss the pros and cons of leasing vs purchasing a fleet of business vehicles for a client's business, (assume the loan rate on purchasing the vehicles is 6% and the implicit interest rate in the lease is also 6%).
What would be the total of stockholders equity : If the balance of the Buildings account was $45,000 and the equipment was sold for $21,000, what would be the total of stockholders' equity?
Explain the very large generation rate obtained : Explain the very large generation rate obtained in the first part of problem 1. How many electron-hole pairs are created by an electron passing through a layer of 1μm thick at the scattering limited velocity?
What are main effects simple effects and interactions : What are main effects, simple effects, and interactions? How should significant main effects be interpreted when one or more of the interactions are significant?
Validate and correct the errors in the web page file : While it may sound simple to validate your HTML code, it is often times difficult to understand the error messages validation services return. Using the W3C Markup Validation Service, validate and correct the errors in the web page file.
Conservation of momentum for an elastic collision : A fly weighing .3 grams and traveling at 2m/s is swatted by a fly swatter. It is swatted straight back at 5.4m/s and is in contact with the fly swatter for 0.2 seconds. use conservation of momentum for an elastic collision to find the acceleration..
Gravitational potential energy of the system : Calculate the nonconservative work, Wnc, done by water resistance on the rock, the gravitational potential energy of the system, U, the kinetic energy of the rock, K, and the total mechanical energy of the system, E, when the depth of the rock bel..
Differentiate between random sampling and random assignment : Differentiate between random sampling and random assignment. Which is the most important in survey research, and why? Which is the most important in experimental research, and why?
Describe the activities in a supply chain : Write FIVE 1-2 page essays (approx 7.5 pages typed in total) on the following topics. Describe the activities in a supply chain. Describe the importance of planning and control. What ethical issues might arise in project management

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write a program that displays the average grade

Suppose the file Final.txt contains student grades on a final exam. Write a program that displays the average grade on the exam and the percentage of grades that are above average.

  The address assigned to one device is 7ca416

The address bus of a computer has 16 address lines, A15_0 If the address assigned to one device is 7CA416 and the address decoder for that device ignores lines A8 and A9, what are all the addresses to that the device will respond.

  Relationship between programming languages and applications

The consultants suggested using object-oriented technology. still the internal information systems team was hesitant to use object-oriented technology. They instead suggested using structured programming.

  New core of modern business

Evaluate the concept that IT is becoming the new core of modern business. How might you justify or negate this assertion? Offer your informed opinion on how a company's use of IT might be used as an indicator of its overall success.

  Write a program which reads a file and creates a file

Create your own file to test your program. Your job is to set up the input and output files to have the program read from a file and write to a file.

  Perform a level 0 backup once per month

In the worst case scenario, how many restore commands would you have to give to recover a file that was dumped using this schedule?

  Which strings is not generated by the grammar

What is the decimal value of the sum of the binary number 11001 and hexadecimal number 84 - Which of these are not desired characteristics of a hash function in used to construct a hash table?

  Present managers of the economy are determined to ensure

by far the biggest development in the economy in recent years is the mining boom and its likely to roll on for at least

  Questiona assume a computer has a maximum memory size of

questiona assume a computer has a maximum memory size of 4mb. what is essential address field width?b assume a computer

  Design and implement a program that will be run each day

The task requires the development of a single processor program that can subsequently be converted into a multi processor program after the testing of the single processor program is complete.

  What is the maximum number of characters

What is the maximum number of characters or symbols that can be represented by Unicode and a color image uses 16 bits to represent a pixel. What is the maximum number of different colors that can be represented?

  Write a program that can be used to convert meters

Write a program that can be used to convert meters to feet and inches. Allow the user to enter a metric meter value in a method.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd