Mr. Rod Welch
rodwelch@pacbell.net
The Welch Company
440 Davis Court #1602
San Francisco, CA 94111 2496
..
Subject:
HTML errors in SDS records
Dear Rod,
I have attached 4 files. There is a letter
[dated October 28, 2002]
and an SDS record [for October 28, 2002]
along with error files for each.
..
I removed most of the lines about deprecated tags as that is an issue for
later. This is why there are messages missing in the error files.
..
The basic issue continues to be violation of HTML nesting rules:
HTML tags should be closed. This means every tag that has an end tag
should have one. Many browsers will allow you to leave out some of
them, but the rule makes the HTML a lot easier to read and to debug.
{b>{p>This is a paragraph{/b>{/p> -- The tags are closed in the wrong order.
This should be {p>{b>This is a paragraph{/b>{/p> with the bold inside the
paragraph or {b>{p>This is a paragraph{/p>{/b> with the paragraph inside the
bold.
..
Once we get the things that are actually broken fixed, we can discuss how to
improve the output. It may not matter in terms of appearance or performance,
but you gain points when the HTML is clean.
..
XHTML adds the following rules to the above:
All tags and attributes are lower case.
All attributes must have values, and the values must be quoted. (size=3
becomes size="3")
All single tags have a closing / ({hr> becomes {hr />)
..
Current practice replaces all FONT and display oriented tags with Cascading
Style Sheets, which is a whole different beast. More on that much later.
..
Validator message export for "H:\SDS\Fix_Html\2002-Nov-01\2801.HTM":
Generated by CSE HTML Validator Professional v5.51
http://www.htmlvalidator.com/ .. 3. Error in line 6 at character 5: The closing tag for "font" was found, but
the tag was never opened, has been closed too many times, or cannot have an
end tag.
*** There is an 'xx' anchor and a '0000' anchor -- are both needed?
*** The closing FONT tag has no open tag.
.. 5. Warning in line 7 at character 6: [30] The "center" tag is contained in
a "font" tag (which was opened in line 6). This may be acceptable for some
browsers (such as Internet Explorer and Netscape), but HTML 4.01 does not
allow this. It may also cause problems or unexpected page rendering for
more compliant browsers such as Opera. Possible solutions: 1. Close the
"font" tag before using the "center" tag. Depending on the correct usage
of the closed tag, you may be able to reopen it after using the "center"
tag; 2. Eliminate the "center" tag; or 3. Reorder the "center" and "font"
tags.
*** The next FONT tag encloses only the CENTER opening tag -- bad nesting.
.. 6. Error in line 7 at character 5: The "center" tag (opened in line 7)
should be closed before the "font" tag is closed (nesting error).
8. Error in line 12 at character 7: The "font" tag (opened in line 7)
should be closed before the "center" tag is closed (nesting error).
.. 9. Warning in line 14 at character 1: [30] The "P" tag is contained in
a "font" tag (which was opened in line 13). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01
does not allow this. It may also cause problems or unexpected page
rendering for more compliant browsers such as Opera. Possible
solutions: 1. Close the "font" tag before using the "P" tag.
Depending on the correct usage of the closed tag, you may be
able to reopen it after using the "P" tag; 2. Eliminate the
"P" tag; or 3. Reorder the "P" and "font" tags.
.. 10. Error in line 16 at character 6: Comments must begin with '{!--'
and end with '-->'.
*** Remove the placeholders left from the pattern files.
11. Warning in line 17 at character 1: [30] The "p" tag is contained in
a "font" tag (which was opened in line 13). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01
does not allow this. It may also cause problems or unexpected page
rendering for more compliant browsers such as Opera. Possible
solutions: 1. Close the "font" tag before using the "p" tag.
Depending on the correct usage of the closed tag, you may be
able to reopen it after using the "p" tag; 2. Eliminate the "p"
tag; or 3. Reorder the "p" and "font" tags.
.. 13. Warning in line 18 at character 5: [30] The "table" tag is contained
in a "font" tag (which was opened in line 13). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01
does not allow this. It may also cause problems or unexpected page
rendering for more compliant browsers such as Opera. Possible
solutions: 1. Close the "font" tag before using the "table" tag.
Depending on the correct usage of the closed tag, you may be able
to reopen it after using the "table" tag; 2. Eliminate the "table"
tag; or 3. Reorder the "table" and "font" tags.
.. 14. Message in line 18 at character 5: [69] If this is a data table
then row and column headers must be used. See section 1194.22 (g).
15. Message in line 18 at character 5: [71] If this is a data table
then markup must be used to associate data cells and header cells that
have two or more logical levels of row or column headers. For example,
use "thead", "tfoot", and "tbody" to group rows and "col" and "colgroup"
to group columns. See section 1194.22 (h).
.. 18. Warning in line 19 at character 2: [30] The "tr" tag is contained
in a "font" tag (which was opened in line 13). This may be acceptable
for some browsers (such as Internet Explorer and Netscape), but HTML 4.01
does not allow this. It may also cause problems or unexpected page
rendering for more compliant browsers such as Opera. Possible
solutions: 1. Close the "font" tag before using the "tr" tag.
Depending on the correct usage of the closed tag, you may be able
to reopen it after using the "tr" tag; 2. Eliminate the "tr" tag;
or 3. Reorder the "tr" and "font" tags.
.. 19. Error in line 19 at character 2: The "td" tag must be closed but
the closing tag was not found.
*** Close all TD tags.
20. Warning in line 19 at character 2: [30] The "td" tag is contained
in a "font" tag (which was opened in line 13). This may be acceptable
for some browsers (such as Internet Explorer and Netscape), but
HTML 4.01 does not allow this. It may also cause problems or
unexpected page rendering for more compliant browsers such as
Opera. Possible solutions: 1. Close the "font" tag before using
the "td" tag. Depending on the correct usage of the closed tag,
you may be able to reopen it after using the "td" tag; 2. Eliminate
the "td" tag; or 3. Reorder the "td" and "font" tags.
.. 22. Error in line 20 at character 5: The "td" tag (opened in line 19)
should be closed before the "font" tag is closed (nesting error).
23. Error in line 22 at character 2: The "td" tag was found, but it is
not valid due to where it is used. It is nested in another "td" tag and
cannot be nested. Did you forget to close the previous "td" tag?
.. 24. Warning in line 22 at character 1: [30] The "p" tag is contained in
a "font" tag (which was opened in line 20). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01
does not allow this. It may also cause problems or unexpected page
rendering for more compliant browsers such as Opera. Possible
solutions: 1. Close the "font" tag before using the "p" tag.
Depending on the correct usage of the closed tag, you may be
able to reopen it after using the "p" tag; 2. Eliminate the "p" tag;
or 3. Reorder the "p" and "font" tags.
.. 25. Error in line 25 at character 3: The "font" tag (opened in line 23)
should be closed before the "td" tag is closed (nesting error).
27. Warning in line 26 at character 1: [30] The "P" tag is contained in
a "font" tag (which was opened in line 23). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01
does not allow this. It may also cause problems or unexpected page
rendering for more compliant browsers such as Opera. Possible
solutions: 1. Close the "font" tag before using the "P" tag.
Depending on the correct usage of the closed tag, you may be
able to reopen it after using the "P" tag; 2. Eliminate the "P"
tag; or 3. Reorder the "P" and "font" tags.
.. 28. Error in line 29 at character 9: Comments must begin with '{!--' and
end with '-->'.
*** Remove the placeholders left from the pattern files.
29. Warning in line 37 at character 5: [30] The "table" tag is contained
in a "font" tag (which was opened in line 23). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01 does
not allow this. It may also cause problems or unexpected page rendering
for more compliant browsers such as Opera. Possible solutions: 1. Close
the "font" tag before using the "table" tag. Depending on the correct
usage of the closed tag, you may be able to reopen it after using
the "table" tag; 2. Eliminate the "table" tag; or 3. Reorder
the "table" and "font" tags.
.. 30. Error in line 37 at character 5: The "CELLS" attribute is not
valid for the "table" element. The valid attributes for this element
are: "align", "background", "bgcolor", "border", "bordercolor",
"bordercolordark", "bordercolorlight", "cellpadding", "cellspacing",
"class", "clear", "cols", "contenteditable", "datafld", "datapagesize",
"datasrc", "dir", "frame", "gradangle", "gradcolor", "height",
"hidefocus", "hspace", "id", "lang", "language", "msimagelist",
"nof", "nowrap", "onafterupdate", "onbeforecopy", "onbeforecut",
"onbeforepaste", "onbeforeupdate", "onblur", "onclick", "oncontextmenu",
"oncopy", "oncut", "ondblclick", "ondragstart", "onfilterchange",
"onfocus", "onhelp", "onkeydown", "onkeypress", "onkeyup", "onmousedown",
"onmouseenter", "onmouseleave", "onmousemove", "onmouseout",
"onmouseover", "onmouseup", "onmousewheel", "onpaste", "onresize",
"onrowenter", "onrowexit", "onselectstart", "rules", "style", "summary",
"title", "transparency", "unselectable", "valign", "vspace", "width",
"xml:lang", and "xml:space".
*** The attribute is COLS.
..
35. Warning in line 38 at character 2: [30] The "tr" tag is contained
in a "font" tag (which was opened in line 23). This may be acceptable
for some browsers (such as Internet Explorer and Netscape), but HTML 4.01
does not allow this. It may also cause problems or unexpected page
rendering for more compliant browsers such as Opera. Possible
solutions: 1. Close the "font" tag before using the "tr" tag.
Depending on the correct usage of the closed tag, you may be able
to reopen it after using the "tr" tag; 2. Eliminate the "tr" tag; or 3.
Reorder the "tr" and "font" tags.
.. 36. Warning in line 38 at character 2: [30] The "td" tag is contained in
a "font" tag (which was opened in line 23). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01
does not allow this. It may also cause problems or unexpected page
rendering for more compliant browsers such as Opera. Possible
solutions: 1. Close the "font" tag before using the "td" tag.
Depending on the correct usage of the closed tag, you may be able
to reopen it after using the "td" tag; 2. Eliminate the "td" tag;
or 3. Reorder the "td" and "font" tags.
.. 37. Error in line 39 at character 5: The "td" tag (opened in line 38)
should be closed before the "font" tag is closed (nesting error).
38. Error in line 41 at character 3: The "font" tag (opened in line 39)
should be closed before the "td" tag is closed (nesting error).
.. 39. Warning in line 41 at character 2: [30] The "td" tag is contained in
a "font" tag (which was opened in line 39). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01
does not allow this. It may also cause problems or unexpected page
rendering for more compliant browsers such as Opera. Possible
solutions: 1. Close the "font" tag before using the "td" tag.
Depending on the correct usage of the closed tag, you may be
able to reopen it after using the "td" tag; 2. Eliminate the "td"
tag; or 3. Reorder the "td" and "font" tags.
.. 40. Error in line 42 at character 5: The "td" tag (opened in line 41)
should be closed before the "font" tag is closed (nesting error).
41. Error in line 42 at character 4: The "font" tag must be closed but
the closing tag was not found.
.. 42. Error in line 44 at character 3: The "font" tag (opened in line 42)
should be closed before the "td" tag is closed (nesting error).
44. Warning in line 45 at character 1: [30] The "P" tag is contained in
a "font" tag (which was opened in line 42). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01
does not allow this. It may also cause problems or unexpected page
rendering for more compliant browsers such as Opera. Possible
solutions: 1. Close the "font" tag before using the "P" tag. Depending on
the correct usage of the closed tag, you may be able to reopen it after
using the "P" tag; 2. Eliminate the "P" tag; or 3. Reorder the "P" and
"font" tags.
.. 45. Warning in line 47 at character 1: [30] The "P" tag is contained in
a "font" tag (which was opened in line 42). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01 does
not allow this. It may also cause problems or unexpected page rendering
for more compliant browsers such as Opera. Possible solutions: 1. Close
the "font" tag before using the "P" tag. Depending on the correct usage of
the closed tag, you may be able to reopen it after using the "P" tag; 2.
Eliminate the "P" tag; or 3. Reorder the "P" and "font" tags.
.. 46. Warning in line 56 at character 3: [30] The "DIR" tag is contained in
a "font" tag (which was opened in line 42). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01 does
not allow this. It may also cause problems or unexpected page rendering
for more compliant browsers such as Opera. Possible solutions: 1. Close
the "font" tag before using the "DIR" tag. Depending on the correct usage
of the closed tag, you may be able to reopen it after using
the "DIR" tag; 2. Eliminate the "DIR" tag; or 3. Reorder the "DIR" and "font" tags.
.. 47. Message in line 56 at character 3: [3] The "DIR" element is
deprecated in HTML 4.01/XHTML in favor of a "ul" list. You should
use a "ul" unordered list instead.
48. Warning in line 57 at character 25: [42] Text was found in a(n) "dir"
section. Text in this section should be contained in an "li" tag even
though some browsers may render this text without an "li" tag. More HTML
standard compliant browsers such as Opera may not render this text at all.
.. 49. Error in line 58 at character 3: The "li" element must be used at
least once in this "DIR" section.
*** The DIR is a type of list and needs
...
tags.
50. Warning in line 59 at character 1: [30] The "P" tag is contained in
a "font" tag (which was opened in line 42). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01 does
not allow this. It may also cause problems or unexpected page rendering
for more compliant browsers such as Opera. Possible solutions: 1. Close
the "font" tag before using the "P" tag. Depending on the correct usage of
the closed tag, you may be able to reopen it after using the "P" tag; 2.
Eliminate the "P" tag; or 3. Reorder the "P" and "font" tags.
.. 51. Warning in line 86 at character 1: [30] The "P" tag is contained in
a "font" tag (which was opened in line 42). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01 does
not allow this. It may also cause problems or unexpected page rendering
for more compliant browsers such as Opera. Possible solutions: 1. Close
the "font" tag before using the "P" tag. Depending on the correct usage of
the closed tag, you may be able to reopen it after using the "P" tag; 2.
Eliminate the "P" tag; or 3. Reorder the "P" and "font" tags.
.. 52. Error in line 87 at character 7: Comments must begin with ''.
*** Remove the placeholders left from the pattern files.
53. Warning in line 89 at character 1: [30] The "P" tag is contained in
a "font" tag (which was opened in line 42). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01 does
not allow this. It may also cause problems or unexpected page rendering
for more compliant browsers such as Opera. Possible solutions: 1. Close
the "font" tag before using the "P" tag. Depending on the correct usage
of the closed tag, you may be able to reopen it after using the "P"
tag; 2. Eliminate the "P" tag; or 3. Reorder the "P" and "font" tags.
.. 54. Warning in line 94 at character 1: [30] The "P" tag is contained in
a "font" tag (which was opened in line 42). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01 does
not allow this. It may also cause problems or unexpected page rendering
for more compliant browsers such as Opera. Possible solutions: 1. Close
the "font" tag before using the "P" tag. Depending on the correct usage of
the closed tag, you may be able to reopen it after using the "P" tag; 2.
Eliminate the "P" tag; or 3. Reorder the "P" and "font" tags.
.. 55. Comment: You can ignore the nesting errors by turning off the option
to check HTML tag nesting. However, it is recommended that you leave this
feature enabled. This option is in CSE HTML Validator's Validator Engine
Options.
*** I don't want to suppress these errors because they are the major
source of the problems.
.. 56. Comment: You should have comments in the '' format.
However, most browsers will accept '' as a comment. If you do
not want to use only '' comments, then you should turn off
strict comments. This option is in CSE HTML Validator's Validator
Engine Options.
*** I can turn this error off since the form being used seems to work.
Recommend changing or removing these.
.. 57. Comment: Possibly misspelled words (12, 5 unique): Altheim (1x),
Octover (1x), PO (1x), WELCH (2x), SDS (7x). Complete list.
1. Warning: [24] A document type declaration should appear as the first
line (line 1) of every HTML document. For example, for HTML 4.01 Strict
documents,
should be the first line. For HTML 4.01 Transitional documents, the first
line should
be .
For HTML 4.01 Frameset documents, the first line should
be .
Although HTML recommendations generally require this line, most browsers
probably ignore it. If you are using HTML Validator's integrated editor,
then you can add this from the Tags menu and/or from the Tag Inserter.
.. 3. Error in line 6 at character 5: The closing tag for "font" was found,
but the tag was never opened, has been closed too many times, or cannot
have an end tag.
..
4. Warning in line 6 at character 6: [28] The "center" tag is contained
in a "B" tag (which was opened in line 6). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01
does not allow this. It may also cause problems or unexpected page
rendering for more compliant browsers such as Opera. Possible
solutions: 1. Close the "B" tag before using the "center" tag.
Depending on the correct usage of the closed tag, you may be able to
reopen it after using the "center" tag; 2. Eliminate the "center" tag;
or 3. Reorder the "center" and "B" tags.
.. 7. Error in line 10 at character 2: The "center" tag (opened in line 6)
should be closed before the "B" tag is closed (nesting error).
..
8. Warning in line 11 at character 1: [30] The "P" tag is contained
in a "FONT" tag (which was opened in line 6). This may be acceptable
for some browsers (such as Internet Explorer and Netscape), but HTML 4.01
does not allow this. It may also cause problems or unexpected page
rendering for more compliant browsers such as Opera. Possible
solutions: 1. Close the "FONT" tag before using the "P" tag. Depending
on the correct usage of the closed tag, you may be able to reopen it
after using the "P" tag; 2. Eliminate the "P" tag; or 3. Reorder
the "P" and "FONT" tags.
.. 9. Error in line 17 at character 5: The closing tag for "FONT" was
found, but the tag was never opened, has been closed too many times,
or cannot have an end tag.
10. Error in line 22 at character 2: The closing tag for "B" was found,
but the tag was never opened, has been closed too many times, or cannot
have an end tag.
.. 11. Error in line 23: This line contains part of a quoted string that
spans more than one line (not recommended) or a quoted string (like an
attribute value) that is missing the beginning or closing quotation mark. You
should check this line for improperly quoted attribute values that may be
missing an opening or closing quotation mark. As currently configured, HTML
Validator requires that all quoted strings be contained on one line and have
beginning and end quotes. Note that because of inconsistent handling by user
agents, it is not recommended that attribute values contain line breaks.
*** Missing closing quote and '>' on HREF (mailto). This generated numerous
following errors, so I corrected it and ran the validation again.
.. 11. Error in line 24 at character 5: The "A" tag (opened in line 23)
should be closed before the "FONT" tag is closed (nesting error).
*** Swap the tags.
12. Error in line 24 at character 2: The "FONT" tag (opened in line 24)
should be closed before the "A" tag is closed (nesting error).
*** Remove . Empty FONT tags are pointless,
and all tags must be closed.
.. 13. Warning in line 26 at character 3: [30] The "PRE" tag is contained
in a "FONT" tag (which was opened in line 24). This may be acceptable for
some browsers (such as Internet Explorer and Netscape), but HTML 4.01 does
not allow this. It may also cause problems or unexpected page rendering
for more compliant browsers such as Opera. Possible solutions: 1. Close
the "FONT" tag before using the "PRE" tag. Depending on the correct usage
of the closed tag, you may be able to reopen it after using the "PRE"
tag; 2. Eliminate the "PRE" tag; or 3. Reorder the "PRE" and "FONT" tags.
*** Caused by unclosed FONT tag above.
.. 14. Error in line 26 at character 5: The "PRE" tag (opened in line 26)
should be closed before the "font" tag is closed (nesting error).
15. Warning in line 35 at character 7: [51] Using space characters in URLs
may cause problems. If you must use spaces in URLs, then you should encode
them as "%20" (without the quotes). However, try to avoid spaces in URLs
whenever possible and consider using the underscore character (_) instead
of space characters in directory names and filenames.
*** Remove the leading '<' and the trailing space from the anchor name.
Use only the 4 characters of the anchor name. See line 19.
.. 16. Warning in line 35 at character 7: [33] The "HREF" attribute has a
value that has leading or trailing space characters. You should probably
remove these spaces.
*** See above.
.. 17. Error in line 65 at character 4: The "FONT" tag (opened in line 36)
should be closed before the "PRE" tag is closed (nesting error).
18. Error in line 67 at character 4: Somewhere in your document you've
linked to the nonexistent internal link "{0001 " by
using {a href="#{0001 "> ... {/a>. You should remove this link or make
sure that it links to somewhere in your document by
using {a name="{0001 "> ... {/a> or {element id="{0001 "...>.