Solved

More help with W3 validation

Posted on 2015-01-05
40
222 Views
Last Modified: 2015-01-08
After much help I got one web page down from 20 errors to error free.

That gave the confidence to have a go at my homepage with 161 errors. Using Dave's advice on my last post to correct the DOCTYPE immediately brought this down to 50 errors which I have further reduced to 9 errors.

I have tried the remaining ones but need a little help as each change I try (and I haven't a clue on coding) messes up the page layout.

Line 201 is my line 1, so line 226 is my line 26 in the code below.

Validation Output: 9 Errors
1.       Line 226, Column 1: unclosed start-tag requires SHORTTAG YES
<div class=WordSection1>

The construct <foo<bar> is valid in HTML (it is an example of the rather obscure “Shorttags” feature) but its use is not recommended. In most cases, this is a typo that you will want to fix. If you really want to use shorttags, be aware that they are not well implemented by browsers.
2.       Line 236, Column 63: value of attribute "ID" invalid: "_" cannot start a name
  color:black;mso-no-proof:yes'><img width=250 height=165 id="_x0000_i1028"

It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.
3.       Line 237, Column 24: required attribute "ALT" not specified
  src="images/logo.jpg"></span><span style='font-size:9.0pt;font-family:"Trebuc…

The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
4.       Line 250, Column 40: end tag for "SPAN" omitted, but its declaration does not permit this
…   href="index.htm">Homepage</a> | </b></span <a href="DR%20and%20backup.htm">…

•      You forgot to close a tag, or
•      you used something inside this tag that was not allowed, and the validator is complaining that the tag should be closed before such content can be allowed.
The next message, "start tag was here" points to the particular instance of the tag in question); the positional indicator points to where the validator expected you to close the tag.
5.       Line 248, Column 64: start tag was here
    <p class=MsoNormal align=right style='text-align:right'><b><span
6.       Line 250, Column 48: unclosed end-tag requires SHORTTAG YES
…"index.htm">Homepage</a> | </b></span <a href="DR%20and%20backup.htm">Disaster…

The construct </foo<bar> is valid in HTML (it is an example of the rather obscure “Shorttags” feature) but its use is not recommended. In most cases, this is a typo that you will want to fix. If you really want to use shorttags, be aware that they are not well implemented by browsers.
7.       Line 250, Column 48: end tag for element "SPAN" which is not open
…"index.htm">Homepage</a> | </b></span <a href="DR%20and%20backup.htm">Disaster…

The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
If this error occurred in a script section of your document, you should probably read this FAQ entry.
8.       Line 265, Column 60: value of attribute "ID" invalid: "_" cannot start a name
  mso-no-proof:yes'><img border=0 width=744 height=131 id="_x0000_i1027"

It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.
9.       Line 266, Column 13: required attribute "ALT" not specified
  src=2a.gif></span><span style='font-size:9.0pt;font-family:"Trebuchet MS","sa…

The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
10.       Line 274, Column 108: required attribute "TYPE" not specified
…-family:"Trebuchet MS","sans-serif";color:black'><script language="JavaScript">

The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
11.       Line 356, Column 106: an attribute specification must start with a name or name token
…ellspacing:0cm;mso-yfti-tbllook:1184;mso-padding-alt:4.5pt 4.5pt 4.5pt 4.5pt'">

An attribute name (and some attribute values) must start with one of a restricted set of characters. This error usually indicates that you have failed to add a closing quotation mark on a previous attribute value (so the attribute value looks like the start of a new attribute) or have used an attribute that is not defined (usually a typo in a common attribute name).
12.       Line 356, Column 107: character data is not allowed here
…ellspacing:0cm;mso-yfti-tbllook:1184;mso-padding-alt:4.5pt 4.5pt 4.5pt 4.5pt'">

You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include:
•      putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>), or
•      forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes), or
•      using XHTML-style self-closing tags (such as <meta ... />) in HTML 4.01 or earlier. To fix, remove the extra slash ('/') character. For more information about the reasons for this, see Empty elements in SGML, HTML, XML, and XHTML.

<w:LsdException Locked="false" Priority="68" Name="Medium Grid 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="69" Name="Medium Grid 3 Accent 6"/>
  <w:LsdException Locked="false" Priority="70" Name="Dark List Accent 6"/>
  <w:LsdException Locked="false" Priority="71" Name="Colorful Shading Accent 6"/>
  <w:LsdException Locked="false" Priority="72" Name="Colorful List Accent 6"/>
  <w:LsdException Locked="false" Priority="73" Name="Colorful Grid Accent 6"/>
  <w:LsdException Locked="false" Priority="19" QFormat="true"
   Name="Subtle Emphasis"/>
  <w:LsdException Locked="false" Priority="21" QFormat="true"
   Name="Intense Emphasis"/>
  <w:LsdException Locked="false" Priority="31" QFormat="true"
   Name="Subtle Reference"/>
  <w:LsdException Locked="false" Priority="32" QFormat="true"
   Name="Intense Reference"/>
  <w:LsdException Locked="false" Priority="33" QFormat="true" Name="Book Title"/>
  <w:LsdException Locked="false" Priority="37" SemiHidden="true"
   UnhideWhenUsed="true" Name="Bibliography"/>
  <w:LsdException Locked="false" Priority="39" SemiHidden="true"
   UnhideWhenUsed="true" QFormat="true" Name="TOC Heading"/>
 </w:LatentStyles>
</xml><![endif]-->
<link rel=Stylesheet type="text/css" media=all href=btstyle114.css>
</head>
<body bgcolor="#002651" lang=EN-GB link="#161358" vlink="#161358"
style='tab-interval:36.0pt' 
<div class=WordSection1>

<p>&nbsp;</p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%;mso-cellspacing:0cm;mso-yfti-tbllook:1184;mso-padding-alt:
 0cm 0cm 0cm 0cm'>
 <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'>
  <td width=243 rowspan=2 valign=top style='width:145.5pt;padding:0cm 0cm 0cm 0cm'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";
  color:black;mso-no-proof:yes'><img width=250 height=165 id="_x0000_i1028"
  src="images/logo.jpg"></span><span style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";
  color:black'></span></p>
  </td>
  <td width=1010 style='width:606.0pt;padding:0cm 0cm 0cm 0cm'>
  <table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
   style='width:100.0%;mso-cellspacing:0cm;mso-yfti-tbllook:1184;mso-padding-alt:
   2.25pt 2.25pt 2.25pt 2.25pt'>
   <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes;
    height:26.25pt'>
    <td valign=bottom style='border:solid #05A5FF 1.0pt;mso-border-alt:solid #05A5FF .75pt;
    background:#16F6F6;padding:2.25pt 2.25pt 2.25pt 2.25pt;height:26.25pt'>
    <p class=MsoNormal align=right style='text-align:right'><b><span
    style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:black'><a
    href="index.htm">Homepage</a> | </b></span <a href="DR%20and%20backup.htm">Disaster 
	Recovery</a><b> | <a
    href="backshortly.htm">Server 2012 </a>| <a href="backshortly.htm">Networking</a>
    | <a href="backshortly.htm">Network Support</a> | <a href="backshortly.htm">Security</a>
    </b></p>
    </td>
   </tr>
  </table>
  </td>
 </tr>
 <tr style='mso-yfti-irow:1;height:49.5pt'>
  <td width=1010 style='width:606.0pt;border:solid black 1.0pt;mso-border-alt:
  solid black .25pt;background:#078EE8;padding:0cm 0cm 0cm 0cm;height:49.5pt'>
  <p class=MsoNormal align=center style='text-align:center'><span
  style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:black;
  mso-no-proof:yes'><img border=0 width=744 height=131 id="_x0000_i1027"
  src=2a.gif></span><span style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";
  color:black'></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:2;mso-yfti-lastrow:yes;height:750.0pt'>
  <td width=243 valign=top style='width:145.5pt;background:#002651;padding:
  0cm 0cm 0cm 0cm;height:750.0pt'>
  <p class=MsoNormal align=center style='margin-bottom:12.0pt;text-align:center'><span
  style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:black'><script language="JavaScript">
   document.write(doClock("D1","%20.%20","M3","%20.%20","Y0"));
  </script></span><span style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";
  color:white'></span></p>
  <table class=MsoNormalTable border=0 cellspacing=3 cellpadding=0 width=310
   style='width:186.0pt;mso-cellspacing:1.5pt;mso-yfti-tbllook:1184;mso-padding-alt:
   1.5pt 1.5pt 1.5pt 1.5pt'>
   <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'>
    <td style='border:solid #05A5FF 1.0pt;mso-border-alt:solid #05A5FF .75pt;
    background:#16F6F6;padding:1.5pt 1.5pt 1.5pt 1.5pt'>
    <p class=MsoNormal align=center style='text-align:center'><b><span
    style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:black'><a
    href="DR%20and%20backup.htm">Disaster Recovery</a> </span></b></p>
    </td>
   </tr>
   <tr style='mso-yfti-irow:1'>
    <td style='border:solid #05A5FF 1.0pt;mso-border-alt:solid #05A5FF .75pt;
    background:#16F6F6;padding:1.5pt 1.5pt 1.5pt 1.5pt'>
    <p class=MsoNormal align=center style='text-align:center'>
	<span style="font-family: 'Trebuchet MS',sans-serif; font-size: 9pt">
	<a href="backshortly.htm">Clean and Clone</a></span></p>
    </td>
   </tr>
   <tr style='mso-yfti-irow:2'>
    <td style='border:solid #05A5FF 1.0pt;mso-border-alt:solid #05A5FF .75pt;
    background:#16F6F6;padding:1.5pt 1.5pt 1.5pt 1.5pt'>
    <p class=MsoNormal align=center style='text-align:center'>
	<a href="backshortly.htm">
	<span style="font-family: 'Trebuchet MS',sans-serif; font-size: 9pt">Current 
	Pricing</span></a></p>
    </td>
   </tr>
   <tr style='mso-yfti-irow:3;height:18.75pt'>
    <td style='border:solid #05A5FF 1.0pt;mso-border-alt:solid #05A5FF .75pt;
    background:#16F6F6;padding:1.5pt 1.5pt 1.5pt 1.5pt;height:18.75pt'>
    <p class=MsoNormal align=center style='text-align:center'><b><span
    style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:black'>
	<a href="networksupport.htm">Network Support</a></span></b></p>
    </td>
   </tr>
   <tr style='mso-yfti-irow:4'>
    <td style='border:solid #05A5FF 1.0pt;mso-border-alt:solid #05A5FF .75pt;
    background:#16F6F6;padding:1.5pt 1.5pt 1.5pt 1.5pt'>
    <p class=MsoNormal align=center style='text-align:center'><b><span
    style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:black'><a
    href="Malware.htm">Malware removal</a></span></b></p>
    </td>
   </tr>
   <tr style='mso-yfti-irow:5'>
    <td style='border:solid #05A5FF 1.0pt;mso-border-alt:solid #05A5FF .75pt;
    background:#16F6F6;padding:1.5pt 1.5pt 1.5pt 1.5pt'>
    <p class=MsoNormal align=center style='text-align:center'><b><span
    style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:black'><a
    href="backshortly.htm">Small Business Solutions</a></span><span
    class=MsoHyperlink></span></b></p>
    </td>
   </tr>
   <tr style='mso-yfti-irow:6'>
    <td style='border:solid #05A5FF 1.0pt;mso-border-alt:solid #05A5FF .75pt;
    background:#16F6F6;padding:1.5pt 1.5pt 1.5pt 1.5pt'>
    <p class=MsoNormal align=center style='text-align:center'><b><span
    style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:black'><a
    href="address.htm">Contact Us</a></span></b></p>
    </td>
   </tr>
   <tr style='mso-yfti-irow:7;mso-yfti-lastrow:yes'>
    <td style='border:solid #05A5FF 1.0pt;mso-border-alt:solid #05A5FF .75pt;
    background:#16F6F6;padding:1.5pt 1.5pt 1.5pt 1.5pt'>
    <p class=MsoNormal align=center style='text-align:center'><b><span
    style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:black'>
	<a href="mailto:contactus@abccomputersolutions.co.uk">Email Us</a></span></b></p>
    </td>
   </tr>
  </table>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";
  color:white'><br>
  &nbsp;</span></p>
  <p align=center style='text-align:center'>&nbsp;</p>
  </td>
  <td width=1010 valign=top style='width:606.0pt;padding:0cm 0cm 0cm 0cm;
  height:750.0pt'>
  <table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
   style='width:100.0%;mso-cellspacing:0cm;mso-yfti-tbllook:1184;mso-padding-alt:4.5pt 4.5pt 4.5pt 4.5pt'">
   <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes'>
    <td valign=top style='background:white;padding:4.5pt 4.5pt 4.5pt 4.5pt'>
    <h1><span class="style91"><font size="4">Computer</font><span style='font-size:13.5pt;mso-fareast-font-family:
    "Times New Roman"'> and IT Support in

Open in new window

0
Comment
Question by:bill2013
  • 21
  • 16
  • 2
  • +1
40 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 350 total points
ID: 40531836
1. Get rid of all of the MS Word crap:

<w:LsdException Locked="false" Priority="68" Name="Medium Grid 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="69" Name="Medium Grid 3 Accent 6"/>
  <w:LsdException Locked="false" Priority="70" Name="Dark List Accent 6"/>
  <w:LsdException Locked="false" Priority="71" Name="Colorful Shading Accent 6"/>
  <w:LsdException Locked="false" Priority="72" Name="Colorful List Accent 6"/>
  <w:LsdException Locked="false" Priority="73" Name="Colorful Grid Accent 6"/>
  <w:LsdException Locked="false" Priority="19" QFormat="true"
   Name="Subtle Emphasis"/>
  <w:LsdException Locked="false" Priority="21" QFormat="true"
   Name="Intense Emphasis"/>
  <w:LsdException Locked="false" Priority="31" QFormat="true"
   Name="Subtle Reference"/>
  <w:LsdException Locked="false" Priority="32" QFormat="true"
   Name="Intense Reference"/>
  <w:LsdException Locked="false" Priority="33" QFormat="true" Name="Book Title"/>
  <w:LsdException Locked="false" Priority="37" SemiHidden="true"
   UnhideWhenUsed="true" Name="Bibliography"/>
  <w:LsdException Locked="false" Priority="39" SemiHidden="true"
   UnhideWhenUsed="true" QFormat="true" Name="TOC Heading"/>
 </w:LatentStyles>
</xml><![endif]-->

Open in new window


2. In HTML, attributes must be quoted. Do this:

<div class="WordSection1">

Open in new window


not this:

<div class=WordSection1>

Open in new window


This occurs throughout your code sample and will cause nesting errors, so resolving this should clear a number of the above errors.

3. Images must have an alt attribute according to the W3C.  Is this a show-stopper of an error? No.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 40531838
What piece of microsoft junk are you using to generate those garbage tags?  If you are using something from office like saving Word as html; STOP right now. Office does not follow standards and the html pages they generate are not intended for websites. The html they generate is intend for exchange between MS products and even then you can get all kinds of rendering errors.

The combination of inline styling and local properties is guaranteed to create a mess that is a maintenance nightmare.

Cd&
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 40531842
Beat me by 22 seconds. :^(

Cd&
0
 
LVL 10

Assisted Solution

by:JEaston
JEaston earned 150 total points
ID: 40531848
I have only looked at the validator output, but some of them appear to be straight forward enough.

1. Line 226, Column 1: unclosed start-tag requires SHORTTAG YES
Try changing
<div class=WordSection1>

Open in new window

to
<div class="WordSection1">

Open in new window

Note the additional quotes.

2.       Line 236, Column 63: value of attribute "ID" invalid: "_" cannot start a name
Try changing
<img width=250 height=165 id="_x0000_i1028"

Open in new window

to
<img width=250 height=165 id="x0000_i1028"

Open in new window

I.e. remove the underscore it does not like.

3.       Line 237, Column 24: required attribute "ALT" not specified
Images require an alt tag.  Try adding
alt="Image Description"

Open in new window

to the end of the image tag referenced.

4.       Line 250, Column 40: end tag for "SPAN" omitted, but its declaration does not permit this
You have opened the <b> tag first, so must close it last.  Therefore replace
</b></span

Open in new window

with
</span></b>

Open in new window

This will also clear issue 5 and 6 and 7.  (For 6 you were missing a closing '>')

8.       Line 265, Column 60: value of attribute "ID" invalid: "_" cannot start a name
Same as issue 2.

9.       Line 266, Column 13: required attribute "ALT" not specified
Same as issue 3.
 
10.       Line 274, Column 108: required attribute "TYPE" not specified
Replace
<script language="JavaScript">

Open in new window

with
<script type="text/javascript">

Open in new window


11.       Line 356, Column 106: an attribute specification must start with a name or name token
This one I'm not so sure about, but try replacing the opening <table...> with the following:
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%"
   style="width:100.0%;mso-cellspacing:0cm;mso-yfti-tbllook:1184;mso-padding-alt:4.5pt 4.5pt 4.5pt 4.5pt">

Open in new window


This may also solve issue 12.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40531889
Beat me by 22 seconds. :^(

I'm terse.
0
 

Author Comment

by:bill2013
ID: 40531929
Done Jason's 1 and 2 bringing it down to 2 errors
0
 

Author Comment

by:bill2013
ID: 40531963
Validation Output: 2 Errors
 Line 323, Column 8: unterminated comment: found end of entity inside comment
</html>✉
Check that you are using a proper syntax for your comments, e.g: <!-- comment here -->. This error may appear if you forget the last "--" to close one comment, therefore including the rest of the content in your comment.
 Line 72, Column 19: comment started here
</xml><![endif]--><!--[if gte mso 9]> Line 323, Column 8: "HTML" not finished but document ended
</html>

Don't understand this as code ends.....

 
</td>
 </tr>
</table>



</div>

</body>

</html>

Open in new window

0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40532065
Somewhere above that line is more MS-generated crap HTML/XML (the "if gte mso 9" is the giveaway).  What's happening is that opening area is malformed but the validator is not catching it until the closing sequence so the line numbers are probably misreported.
0
 

Author Comment

by:bill2013
ID: 40532219
</xml><![endif]--><!--[if gte mso 9]>

Open in new window


is it something in this line?

Is a page that fails on 1 or 2 errors just as bad as one that fails on 200 in terms of being penalised? It's either a pass or fail.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40532251
is it something in this line?

Just delete the whole line.  It's useless.  One of your issues is apparently not being able to recognize "good" HTML from the stuff that Word produces.  Generally speaking, you will want to remove all Word-generated codes from every page on the site.

Is a page that fails on 1 or 2 errors just as bad as one that fails on 200 in terms of being penalised?

It's not the number of errors.  It's what the errors are.  If you have 2,000 images on a page and they are all missing an alt attribute, no big deal.  This error:

<!--[if gte mso 9]>

is really bad as <!-- opens an HTML comment but > does NOT close the comment.  So everything after the <!-- is technically commented out and now Google is seeing text visible to the spider but not to humans.  That's called "cloaking" and it will get you penalized as a spammer.
0
 

Author Comment

by:bill2013
ID: 40532335
I've got rid of the html error and cut all the word stuff I could find resulting in 9 errors below - anything serious. As you say I need to get to know a few HTML basics.


Validation Output: 9 Errors

    Warning Line 45, Column 1: unclosed start-tag requires SHORTTAG YES

    <p>&nbsp;</p>

    ✉

    The construct <foo<bar> is valid in HTML (it is an example of the rather obscure “Shorttags” feature) but its use is not recommended. In most cases, this is a typo that you will want to fix. If you really want to use shorttags, be aware that they are not well implemented by browsers.
    Error Line 53, Column 63: value of attribute "ID" invalid: "_" cannot start a name

      color:black;mso-no-proof:yes'><img width=250 height=165 id="_x0000_i1028"

    ✉

    It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.
    Error Line 54, Column 24: required attribute "ALT" not specified

      src="images/logo.jpg"></span><span style='font-size:9.0pt;font-family:"Trebuc…

    ✉

    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
    Error Line 67, Column 40: end tag for "SPAN" omitted, but its declaration does not permit this

    …   href="index.htm">Homepage</a> | </b></span <a href="DR%20and%20backup.htm">…

    ✉
        You forgot to close a tag, or
        you used something inside this tag that was not allowed, and the validator is complaining that the tag should be closed before such content can be allowed.

    The next message, "start tag was here" points to the particular instance of the tag in question); the positional indicator points to where the validator expected you to close the tag.
    Info Line 65, Column 64: start tag was here

        <p class=MsoNormal align=right style='text-align:right'><b><span

    Warning Line 67, Column 48: unclosed end-tag requires SHORTTAG YES

    …"index.htm">Homepage</a> | </b></span <a href="DR%20and%20backup.htm">Disaster…

    ✉

    The construct </foo<bar> is valid in HTML (it is an example of the rather obscure “Shorttags” feature) but its use is not recommended. In most cases, this is a typo that you will want to fix. If you really want to use shorttags, be aware that they are not well implemented by browsers.
    Error Line 67, Column 48: end tag for element "SPAN" which is not open

    …"index.htm">Homepage</a> | </b></span <a href="DR%20and%20backup.htm">Disaster…

    ✉

    The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

    If this error occurred in a script section of your document, you should probably read this FAQ entry.
    Error Line 82, Column 60: value of attribute "ID" invalid: "_" cannot start a name

      mso-no-proof:yes'><img border=0 width=744 height=131 id="_x0000_i1027"

    ✉

    It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.
    Error Line 83, Column 13: required attribute "ALT" not specified

      src=2a.gif></span><span style='font-size:9.0pt;font-family:"Trebuchet MS","sa…

    ✉

    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
    Error Line 91, Column 108: required attribute "TYPE" not specified

    …-family:"Trebuchet MS","sans-serif";color:black'><script language="JavaScript">

    ✉

    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
    Error Line 172, Column 106: an attribute specification must start with a name or name token

    …ellspacing:0cm;mso-yfti-tbllook:1184;mso-padding-alt:4.5pt 4.5pt 4.5pt 4.5pt'">

    ✉

    An attribute name (and some attribute values) must start with one of a restricted set of characters. This error usually indicates that you have failed to add a closing quotation mark on a previous attribute value (so the attribute value looks like the start of a new attribute) or have used an attribute that is not defined (usually a typo in a common attribute name).
    Error Line 172, Column 107: character data is not allowed here

    …ellspacing:0cm;mso-yfti-tbllook:1184;mso-padding-alt:4.5pt 4.5pt 4.5pt 4.5pt'">

    ✉

    You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include:
        putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>), or
        forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes), or
        using XHTML-style self-closing tags (such as <meta ... />) in HTML 4.01 or earlier. To fix, remove the extra slash ('/') character. For more information about the reasons for this, see Empty elements in SGML, HTML, XML, and XHTML.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40532371
 Warning Line 45, Column 1: unclosed start-tag requires SHORTTAG YES

The actual error is above that line.  

Error Line 53, Column 63: value of attribute "ID" invalid: "_" cannot start a name

      color:black;mso-no-proof:yes'><img width=250 height=165 id="_x0000_i1028"

As has been pointed out before, you can't start attributes with an underscore.

Error Line 54, Column 24: required attribute "ALT" not specified

      src="images/logo.jpg"></span><span style='font-size:9.0pt;font-family:"Trebuc…

Add the alt attribute to all images.  <img src="images/logo.jpg" alt="The Logo">

<script language="JavaScript">

should be

<script language="JavaScript" type="text/javascript">

just like the error text tells you.
0
 

Author Comment

by:bill2013
ID: 40532500
OK, passed with 1 warning.

This document was successfully checked as HTML 4.01 Transitional!
Result:       Passed, 1 warning(s)
Address:       
Encoding:       windows-1252      
Doctype:       HTML 4.01 Transitional      
Root Element:       HTML

W3C Validator Suite

Try now the W3C Validator Suite™ premium service that checks your entire website and evaluates its conformance with W3C open standards to quickly identify those portions of your website that need your attention.

HP logo

The W3C validators are hosted on server technology donated by HP, and supported by community donations.
Donate and help us build better tools for a better web.
Options
Show Source       Show Outline       List Messages Sequentially Group Error Messages by Type
Validate error pages       Verbose Output       Clean up Markup with HTML-Tidy

Help on the options is available.
Validation Output: 1 Warning

Below is a list of the warning message(s) produced when checking your document.

    Warning Line 163, Column 4: unclosed start-tag requires SHORTTAG YES

       <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes'>

    ✉

    The construct <foo<bar> is valid in HTML (it is an example of the rather obscure “Shorttags” feature) but its use is not recommended. In most cases, this is a typo that you will want to fix. If you really want to use shorttags, be aware that they are not well implemente
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40532504
Not totally sure why that would trigger a warning...it looks valid (might be missing a ; after yes but that shouldn't trigger).

Will go out on a limb and say there is another problem before that line and the validator is catching the wrong thing again.

In any event, a warning is okay.  Errors are bad.
0
 

Author Closing Comment

by:bill2013
ID: 40532509
Thank you both
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40532513
You're welcome.

Bill, out of curiousity, what are you using to edit your web pages?
0
 

Author Comment

by:bill2013
ID: 40532987
Frontpage 2003
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40532991
Well, that explains the issues you are having with validation. FrontPage is, to put it mildly, not very compatible with modern standards. It wasn't compatible with standards even when it was current software which it most assuredly isn't anymore.

One thing you might want to consider:

Download the free trial of Dreamweaver CC.  It will run for 30 days without restrictions which is more than enough time for what you are doing.  Dreamweaver has a nifty function in its Command menu that strips out MS-specific HTML codes and comments from any document.  It will save you a ton of time and effort if you run your pages through it first.
0
 

Author Comment

by:bill2013
ID: 40533402
Thanks Jason, I started the website with Dreamweaver along with Fireworks and Flash many years ago. It was the 30 day trial.

Then I started using Frontpage simply because it was on my systems as part of SBS at the time.

Did another two pages at lunchtime and cleared them down from 80 errors combined to 0 each.

Find it quite easy now, but I am just copying previous suggestions and don't have a bloody clue what I am doing.

I will get the last of the pages done and then download the trial software I need.

Oops, reread you last paragraph - maybe I'll let DW do it for me.
0
 

Author Comment

by:bill2013
ID: 40533433
OK, beginning to have some effect now.

Googled "network support in (my county)" say like "network support in California" for you, I get a number 5 spot on google.co.uk. Tried it 4 days ago and wasn't in first 200.

It's a crap search term, about 5% as popular as "IT support in XXXXX" - but it's a start!!
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40533573
May not be what you think. This is too soon to see that drastic of a result.

I'm certain it's better than it was but if you are doing these searches from the same computer or if you are logged into Google, it's coming up higher because you have trained Google that you want that result for that phrase.  

To really check, use a completely different machine or machines on a different network.

The good news is that if you see any movement on that other search, then it may have been as simple as poor HTML interfering with the spider.
0
 

Author Comment

by:bill2013
ID: 40533634
Mmmmm, maybe as it was on same pc.

Just tried another laptop which is new and never done this search but still comes up as 3 5 and 6 for variations on the keywords. But on the same network. I will try another network when the PC I use for remote finishes downloading dw for cloud
0
 

Author Comment

by:bill2013
ID: 40533674
you're right on a different network its on page 5.

But this gives me the time to revamp the site. Rather than it dying of bouncebacks!!!
0
 

Author Comment

by:bill2013
ID: 40533681
Ok, what has happened that it has gone from obscurity down to the 50s. Steps says 42.

Are there any good free seeps packages or is that wishful thinking?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40533691
What's a "seeps package" ?

Top 50 from 200 in a week or so is more in line with what I would expect.  By making the changes, you are causing a recalculation so expect it to bounce around the rankings for a while.
0
 

Author Comment

by:bill2013
ID: 40533699
Sorry SERPs to check rankings?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40533709
Oh, sure.

Google Webmaster Tools will report your average position for various search phrases over time.  It lags behind current events by about 48 hours though.
0
 

Author Comment

by:bill2013
ID: 40533745
Thanks. Is there a way I can exclude my IP as this I suspect is where all the action is coming from?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40533803
Yes, you should be able to do that if you hook it through Google Analytics.
0
 

Author Comment

by:bill2013
ID: 40533824
I am looking at Dw now. I will probably rebuild each page as a new doc. I have always wimped out and created docs in html. Would pup or any of the others be a better choice. Apart from being able to make online enquiries, blog and some form of forum for clients I wont be offering online shopping.
0
 

Author Comment

by:bill2013
ID: 40533830
Sorry win8 "corrected" p h p to pup.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40533846
PHP should only be used if you want to offer dynamic features on the page.  If your content is going to remain static, stick with vanilla HTML for now.

In the longer run (and as mentioned in one of your earlier questions), I would blow this site up and start over with a new site built on a modern CMS platform.  Get a whole new design, make it mobile responsive, use the CMS to manage site content and take advantage of all of the benefits a database-driven site can offer vis-a-vis SEO....
0
 

Author Comment

by:bill2013
ID: 40533853
Is Google analytics a premium only service?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40533866
No
0
 

Author Comment

by:bill2013
ID: 40533892
Ok, Jason, I need to finish now. Thanks for all that help. I will stick with html for now in dw. One last question - when I save a page in dw will it correct the code or do I need to run something?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40533930
One last question - when I save a page in dw will it correct the code or do I need to run something?

No, you need to run the Clean up Word HTML / Clean up HTML / Source Code Formatting commands from the Commands menu.
0
 

Author Comment

by:bill2013
ID: 40533950
I found the validate current document (w3c) button under file but that found no errors but appears wrong. Tried yr suggestion and that worked,
0
 

Author Comment

by:bill2013
ID: 40535090
Ok, obviously something I am doing wrong but I ran the homepage through the command tools you mentioned to see if I could fix the warning I still had. I validated it again and it went from 0 errors to 44.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40535176
Something changed.  I have no idea what.
0
 

Author Comment

by:bill2013
ID: 40537371
No problem, just went back to pre-DW versions.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Read about how to approach blogging and about ways to do it right. Stand out from the crowd and let your knowledge be consumed by a large audience. This article aims to explain how your blog should look like,  the most important things to do while b…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now