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

  What new features are enabled by the memories

What new features are enabled by these memories? More broadly,describe what the two technologies (of the three above ) that you've picked are, and how they fitinto the existing memory landscape of FLASH, SRAM, DRAM, etc.

  What mindset does an analyst need to work on such approach

What mindset does an analyst need to work on such an approach? Your description should end with the analyst team and by discussing the support plan for the system and what this will entail.

  Expalin how to make a bookexception class

generate an error message that is passed to the Exception class constructor for the Message property when a book does not meet the price-to-pages ratio.

  Explain the role of us-cert in protecting the nations

write a three to four page paper in which youexplain the role of us-cert in protecting the nations industrial systems

  Design an application that accepts 10 numbers

Embed the algorithm in the Dev C++ source code file as comments. Please ensure, when you Compile & Run program there is zero errors.

  What is the running time of your procedure

Write the procedure printLots(L,P). You may use only the public Collections API container operations and what is the running time of your procedure? (In JAVA)

  The importance of the common protocol (tcp/ip)

how the other future communication needs may or may not continue this dependence.

  Make c program that accepts as input from the keyboard

make C program that accepts as input from the keyboard. Each of these inputs should be preceded by a prompt and stored using individual variable names.

  Write down a program using the vector class

create a program using vector class that allows the user to input the number of days worked in a 7 day workweek and, using a fixed hourly rate, calculates the weeks wages and the average number of hours worked per day.

  Give process that occurs between a client and web server

define the process that occurs between a client and Web server by describing the functionality of the OSI reference model. Diagram the interaction between the client and the server and illustrate the data flow.

  What changes have to be made to accept $ and cents

What changes have to be made to accept $ and cents

  Write mips assembly language program to recursively compute

Write a MIPS assembly language program to recursively compute the nth term of Perrin's sequence. n will be input from the keyboard.

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