[an error occurred while processing this directive]
Go to Bottom Nav - September 18, 2021 - No exercises at this time - ERRORblah Happy Holidays and Semester Break!

Here are some bits of code you need to keep the W3.org validator and your instructor happy.

  1. Copy and paste this line of code before the opening <html> tag.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    This line of code lets the validator know which type of HTML you are using.
  2. Include the XML namespace attribute (xmlns="http://www.w3.org/1999/xhtml") in the <html> tag. It looks like this:
    <html xmlns="http://www.w3.org/1999/xhtml">
  3. Copy and paste this line of code between the <head></head> tags for pages that will be hosted on the webhawks.org server.

    <meta http-equiv="content-type" content="text/html; charset=utf-8" />

    This line of code lets the validator know which particular set of text you are using to write your code.
  4. Copy and paste this section of code just before your closing body tag (</body>).

    <!-- validator code using text links -->
    <a href="http://validator.w3.org/check?uri=referer">Validate XHTML</a>
    <a href="http://jigsaw.w3.org/css-validator/check/referer">
    Validate CSS</a>
    <!-- end validator code using text links -->

    This code places a link to the W3C.org HTML validator (similar to the link at the bottom of this page) making it easy to check your page. Of course, these links only work when the page is uploaded to the server.

HTML5/CSS3 Validator Links

These links will request the w3.org validators to check out your code and report. The html validator link is the same as the one for xHTML pages, the CSS3 validator link differs slightly from the default (CSS 2.1) validator link. They need to be placed on your page.

<!-- Validator code starts here -->
<a href="http://validator.w3.org/check?uri=referer">HTML5</a> |
<a href="http://jigsaw.w3.org/css-validator/check/referer">CSS3</a> </p>
<!-- Validator code ends here -->

Heading One
Ut pharetra, ante eget imperdiet ullamcorper, tortor nunc sollicitudin orci, non cursus neque nisl eget ligula. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis vestibulum, nibh in suscipit interdum, velit magna volutpat turpis, at ornare sem magna et tellus. Sed pulvinar facilisis ligula, id vehicula eros sollicitudin a. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
Heading Two
Vivamus vestibulum, augue id iaculis sodales, odio odio feugiat arcu, scelerisque congue nisi ipsum vitae orci. Nunc sed ligula quam. Cras sed iaculis neque. Proin ultricies consectetur tortor, eu pulvinar sapien commodo ac. Cras diam arcu, lacinia id mattis ut, convallis sed massa. Nullam ut arcu lacus. Suspendisse ultricies elementum arcu ut dictum.
Heading Three
Sed aliquet augue ut ligula porta gravida pellentesque sapien semper. Duis mauris massa, semper pulvinar eleifend id, tincidunt fermentum nulla. Proin ipsum neque, imperdiet in vestibulum non, hendrerit ac nisi. Maecenas eleifend libero quis urna lacinia elementum. Etiam mi massa, sollicitudin nec accumsan in, aliquet in dui. Pellentesque consequat diam quis felis luctus a vehicula lectus mollis.
Pull Down Menu Close Menu