On Wed, 03 Aug 2005 13:08:03 +0200, Barbara de Zoete wrote:
Try validating. Might surprise yourself.
I did. It didn't.
--------------------------------------------------
CSE HTML Validator Professional v4.51 (Registered)
Checking "\Document2.htm" (689 bytes).
File date is 03 August 2005 at 11:53:08.
File validated on 03 August 2005 at 12:13:47.
Number of lines checked: 15 in 0.12 seconds
Number of programs run: 17
Number of lines in HTML file: 45 (33.3% of lines checked)
Number of lines ignored: 30
Number of character entities: 0
Number of tags: 8
Number of closing tags: 8 (100.0% of tags closed)
Number of <% ... %> sections: 0
Number of HTML comments: 0
Number of validator comments: 6
Number of messages: 1
Number of errors: 0
Number of warnings: 1
--------------------------------------------------
[CSE] Warning number 1 in line -1:
[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, <!DOCTYPE HTML PUBLIC "-//W3C//DTD
HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
should be the first line. For HTML 4.01 Transitional
documents, the first line should be <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">. For HTML 4.01
Frameset documents, the first line should be <!DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">. Although HTML
recommendations generally require this line, most browsers
probably ignore it. If you are using HTML Validator's
integrated editor, you can add this from the Tags menu
and/or from the Tag Inserter.
1:
2: <html>
3: <head>
4: <title></title>
5:
6: <style type="text/css">
-------|||||
[CSE] Message number 1 for the tag beginning in line 6:2:
[5] Style sheet information is supported by Internet
Explorer 3.0+ and Netscape 4.0+. Other browsers may not use
style information. Furthermore, browsers that do support
style sheets may support them differently than other
browsers that also support style sheets. This can cause
style related incompatibility problems between different
browsers.
7: <!--
8:
9: a:link {color: black;
10: text-decoration: none;}
11: a:visited {color: #00FF00;}
12: a:hover
13: {
14: Color : red;
15: Text-decoration : none;
16: Border-top-width : medium;
17: Border-right-width : medium;
18: Border-bottom-width : medium;
19: Border-left-width : medium;
20: Border-color : rgb(255 , 102 , 51);
21: Border-style : groove;
22: Width : 30%;
23: Display : inline;
24: }
25: a:active {color: #0000FF;}
26:
27: a:first-child
28: {
29: color: black;
30: text-decoration: none;
31: border-style : none;
32: }
33:
34:
35: -->
36: </style>
37: </head>
38:
39: <body>
40: <h1><a name="top">Strings and Thins</a></h1>
41:
42:
43: <a href="http://?">A hyperlink</a>
44: </body>
45: </html>
[CSE] Comment number 1:
[8] <meta name="description" content="(actual description)">
should be used in the "head" section to provide a brief
description of what is contained on this page. This
information is used by many search engines when indexing a
site. If you are using HTML Validator's integrated editor,
you can add this from the Tags menu and/or from the Tag
Inserter.
[CSE] Comment number 2:
[8] <meta name="keywords" content="(actual keyword list)">
should be used in the "head" section to provide a list of
keywords that are relevent to this page. This information is
used by many search engines when indexing a site. If you are
using HTML Validator's integrated editor, you can add this
from the Tags menu and/or from the Tag Inserter.
[CSE] Comment number 3:
[15] An RSACi rating "meta" tag was not found in the "head"
section of this document. Browsers that are enabled with
this rating system may not display documents that have not
been rated. If you have rated this document by rating the
whole site or a section of it, it is still recommended that
you include the rating "meta" tag on all of your pages for
performance reasons. For more information, please visit
http://www.icra.org/.
[CSE] Comment number 4:
[26] Although not normally necessary, you may want to
include a "meta" tag similar to the following in the "head"
section of your document: <meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1">
[CSE] Comment number 5:
[57] 711 bytes; 0.**@14.4Kbps, 0.**@28.8, 0.1s@50, 0.1s@64,
0.1s@128, 0.0s@384, 0.0s@512, 0.0s@768, 0.**@1.5Mbps,
0.0s@10Mbps.
[CSE] Comment number 6:
[14] 0.07s, 0 errors, 1 warning, 1 message, 6 validator
comments, 45 lines, 8 tags (8 closed), 0 document comments,
0 entities, 17 programs run.
--------------------------------------------------
<html>
| <head>
| | <title>
| | </title>
| | <style>
| | </style>
| </head>
| <body>
| | <h1>
| | | <a>
| | | </a>
| | </h1>
| | <a>
| | </a>
| </body>
</html>