If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Senior Member leprechaun13's Avatar
    Join Date
    May 2005
    Member #
    Please can somebody tell me why this wont HTML validate. All the erors that it gives I have fixed and uploaded but its still throwing them is it fault at W3C HTML Validator

    The site is

    here is the source code
    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <html xmlns="">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>CCS -Custom Computer Services Northampton - Custom Built Computers, Networking and Repairs</title>
    <meta name="description" content="CCS,Custom Built Computers, Network Installation, Repairs, Upgrades, Software Installation and Home Visits "/>
     <meta name="keywords" content="CCS,Custom Computer services,checks,design,health,home,home visits,installation,networking,northampton,office,pc,repairs,spyware,systems,upgrades,virus removal,web"/>
    <META NAME="revisit-after" CONTENT="1 days"/>
    <script type="text/javascript" src="js/sharemyname.js"/></script>
    <script type="text/javascript" src="js/prototype.js"></script>
    <script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
    <script type="text/javascript" src="js/lightbox.js"></script>
    <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
    <link href="css/CCS.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    function sharemyname(){
    <script src="" type="text/javascript">
    <script type="text/javascript">
    _uacct = "UA-1191351-1";
    <div class="container">
      <div class="header"></div>
       <br />
        <div class="content">
          <table width="900" height="100%" border="0" cellpadding="0">
              <td width="175"><div class="boxtop">Menu</div>
              <div class="lftbox">
                <p><a href="?page=home">Home</a><br />
                  <a href="?page=faq">F.A.Q</a><br />
                  <a href="?page=help">Request Help</a> <br />
                  <a href="?page=links">Links</a><br />
                  <a href="?page=webdesign">Web Design</a> <br />
                  <a href="/forums" target="_blank">Forums</a><br />
                  <a href="">Contact Us</a><br />
                  <a href="">Broadband Speed Test</a><br />
                <a href="msnim:add?">Talk To Us On MSN</a><br />
              <div class="boxtop">Contact Jay</div>
                <div class="lftbox">Tel: (01604) 712594<br />
              Mobile: 07753 121472<br />
              </div>            </td>
              <td height="100%"><div class="midbox">
                <div class="banner">
       echo $pla_class->adcode( );
                <br />
    $page = array_key_exists('page', $_GET) ?
    $_GET['page'] : "home" ;
                <? include 'includes/' . $page . '.php' ; ?>
              <td width="175"><div class="boxtop">New Pc's</div>
                <div class="rightbox">
                <p align="center"><img src="images/pc.png" width="134" height="87" /><br />
                  New Pcs From<br />&pound;325</p>
                <br />
                <div class="boxtop">Networking</div>
                <div class="rightbox">
                  <p align="center"><img src="images/router.png" alt="Linksys" width="134" height="123" /><br />
                    Networks From<br />
    <br />
    <br />
    <div class="copyright">Design By Philip Baucutt<br />
    Copyright &copy; 2007 Custom Computer Services </div>
    Regards Phil,


  3. #2
    Senior Member Steax's Avatar
    Join Date
    Dec 2006
    Bandung, Indonesia
    Member #
    It might as well have been a double post. Double topic?

    First of all, aren't all tags supposed to be in lowercase? And you have a </meta> tag, which doesn't seem to close anything.

    Oh, and... err... tables. They don't really conform for layouting... I don't know, but I've seen it common for people to make invalid pages due to using tables for layout.
    Note on code: If I give code, please note that it is simply sample code to demonstrate an effect. It is not meant to be used as-is; that is the programmer's job. I am not responsible to give you support or be held liable for anything that happens when using my code.

  4. #3
    Senior Member
    Join Date
    May 2003
    Member #
    1: Your doctype is XHTML 1.0 - so all code tags must be lowercase
    HTML Code:
    <META NAME="revisit-after" CONTENT="1 days"/>
    2: You have a end meta tag.. which as far as I know, is not in use
    HTML Code:
    Try that and then see whats left.

  5. #4
    Senior Member Shani's Avatar
    Join Date
    Nov 2004
    Member #
    It looks like a bunch of the errors are XHTML related.

    All your tags and their contents should be in all lower case letters [minicode]<meta name="revisit-after" content="1 days" />[/minicode]

    Any special characters in javascript need to be written out so & becomes &amp;

    Make sure to end all your stand-alone tags with a slash so [minicode]<img src="hello.gif" alt="hello" /><br />[/minicode] Ah yes, and don't omit the alt.

    That will cover a good portion of the errros that are there right now. Then the real problems will be easier to spot.

    I have an eye for detail like you'd never believe.

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 06:09 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: