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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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