On 23 Mar, 10:03, "Tantale" <D...@ifrance.comwrote:
I used this serviec
Which service? The W3? There are many "HTML validators" out there and
some of them aren't accurate.
I would suggest either:
<http://validator.w3.org/>
<
http://validator.w3.org/check?uri=ht...w.com%2FAbroad
%2FBarcelone>
or the much more convenient Firefox plugin:
<http://users.skynet.be/mgueury/mozilla/>
You're using XHTML 1.0 Transitional Appendix C
This is a bad idea (search the ng archives):
* XHTML is a bad idea
* Appendix C is forced upon you, but still not a simple choice
also
* Transitional markup is usually a bad idea for a new site.
I suggest you use HTML 4.01 Strict instead of any XHTML. This is best
and simplest.
If you insist on using XHTML, use XHTML 1.0 with Appendix C and learn
to do it correctly.
Don't use Transitional, use Strict (whether HTML or XHTML)
The result is 206 errors, most of them "end tag omitted, but OMITTAG NO was
specified.".
You've labelled your content as XHTML, but the markup is more like
HTML. In particular this HTML element
<link href="../../Styles/page_album.css" rel="stylesheet" type="text/
css">
Should look like this for XHTML
<link href="../../Styles/page_album.css" rel="stylesheet" type="text/
css" />
Note the "/" at the end of the tag.
This also applied to <imgand <brtags
Some other points:
* All XHTML tag names are lower case, so <SCRIPTshould be <script>
* Replace this: <SCRIPT LANGUAGE="Javascript">
with <script type="text/javascript" >
* Replace this: <p><a name="27" id="27"></a>
with this: <p id="id_27" >
- You don't need to use name, you can just use id
- If you use id rather than name, you can use any element, not just
<a>
- "27" isn't valid, as it begins with a digit
Your page also uses <tablemarkup. This is reasonable for a grid of
images, but it's still quite inflexible. If you search the ng archives
(maybe alt.html) there's a recent posting about a gallery of Ansel
Adams photos done with floated <divinstead. This works better than
<tablefor varying brrowser window sizes.
I also don't personally like DreamWeaver, as it's not helpful for
generating a valid site.