473,732 Members | 2,171 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Markup Validation Service ??

I used this serviec to check my webpage
http://www.jmrw.com/Abroad/Barcelone/index.htm Made with Dreamweaver 8.

The result is 206 errors, most of them "end tag omitted, but OMITTAG NO was
specified.".

I don't understand this result. Should I modify something ?

Thanks

JMR
Mar 23 '07 #1
16 4476
On 23 Mar, 10:03, "Tantale" <D...@ifrance.c omwrote:
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.or g/>
<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="Javas cript">
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.

Mar 23 '07 #2
Thanks a lot for your explanations.

After a little work my page I got "This Page Is Valid HTML 4.01
Transitional!" from http://validator.w3.org/

I have download the of Firefox plugin
<http://users.skynet.be/mgueury/mozilla/and I am going to learn to use
it..

So I am going to validate the other main pages of my website.

Best regards

JMR

Mar 23 '07 #3
Tantale wrote:
>
re: http://www.jmrw.com/Abroad/Barcelone/index.htm
After a little work my page I got "This Page Is Valid HTML 4.01
Transitional!" from http://validator.w3.org/
The problem with your resolution is that the DOCTYPE you've chosen is
triggering quirks mode. :(

http://www.hut.fi/u/hsivonen/doctype.html

--
Berg
Mar 23 '07 #4
On 23 Mar, 12:21, "Tantale" <D...@ifrance.c omwrote:
Thanks a lot for your explanations.
I hope you don't mind, but I took the liberty of re-working the top-
row of your page, using floated <div>

<http://codesmiths.com/dingbat/lj/usenet/barcelona/
barcelona_float ing.html>
(first 10 images are floated, rest are still in the <table>)

Please take a look and see what you think. I think you'll agree that
the code is simpler to author!
The layout isn't perfect (limited time), but it might give you some
ideas. Others' comments are welcome too.

Mar 23 '07 #5
On 23 Mar, 11:01, "Andy Dingley" <ding...@codesm iths.comwrote:
(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.
http://www.littleworksstudio.com/tem...l.20070216.php

Mar 23 '07 #6
Dreamweaver8 produces this code for a table in pages like
http://www.jmrw.com/France/Strasbour...083610_jpg.htm

I use the table for the picture be centered in any navigator.

But I get a warning from http://validator.w3.org/ :there is no attribute
"HEIGHT".

What should I do for correct my code ?

Thanks
Mar 24 '07 #7
Sat, 24 Mar 2007 14:14:06 +0100 from Tantale <Da***@ifrance. com>:
Dreamweaver8 produces this code for a table in pages like
http://www.jmrw.com/France/Strasbour...083610_jpg.htm

I use the table for the picture be centered in any navigator.

But I get a warning from http://validator.w3.org/ :there is no attribute
"HEIGHT".

What should I do for correct my code ?
Remove the incorrect attribute 'height', of course.

Which part of "there *is* no attribute 'height'" was too hard to
understand?

Sheesh!

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you
Mar 24 '07 #8
On 2007-03-24, Tantale <Da***@ifrance. comwrote:
Dreamweaver8 produces this code for a table in pages like
http://www.jmrw.com/France/Strasbour...083610_jpg.htm

I use the table for the picture be centered in any navigator.

But I get a warning from http://validator.w3.org/ :there is no attribute
"HEIGHT".

What should I do for correct my code ?
Just use <table style="width: 100%; height: 90%;"instead.
Mar 24 '07 #9
Scripsit Ben C:
>But I get a warning from http://validator.w3.org/ :there is no
attribute "HEIGHT".
It is an error message, not a warning. An error message indicates violation
of published specification. A warning might indicate about anything.
>What should I do for correct my code ?

Just use <table style="width: 100%; height: 90%;"instead.
Not really.

The impression of "working" is caused by the use of a document type
declaration that does not match the published specifications and makes many
browsers go into "quirks mode". You can see this if you change the
declaration to a correct one (with a URL):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

In "standards mode", i.e. on modern browsers when they do their best to
comply with specifications, you also need something like

<style type="text/css">
html, body { height: 100%; }
</style>

On the other hand, in this case, as so often, there's really no need to set
the height. The page contains a very large image ("very large" in terms of
what you should normally use for images embedded into web pages), and the
odds are that the page fills the available height anyway. If it doesn't,
don't make it do that.

So just removing the attribute height="90%" is the best solution (to this
specific problem - it would be easy to remove the use of tables on the page
altogether, and using nested tables for a simple layout like this is clearly
overkill).

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Mar 25 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1322
by: Henry S. Thompson | last post by:
I'm pleased to announce that a showcase of Markup Technology's high-performance MT Pipeline product is now available at http://www.markup.co.uk:8888/ The showcase provides online access to a range of useful XML transformations, some of which are difficult or even impossible to obtain elsewhere, which illustrate how XML pipelines enable complex XML operations to be easily specified and efficiently executed without writing a line of...
38
3610
by: Jukka K. Korpela | last post by:
As well all know, valid markup is important... but when trying to find a convincing modern argument in favor of this, I found pages like http://www.htmlhelp.com/tools/validator/reasons.html which was very nice when Netscape ruled the World Wide Web, and http://valet.htmlhelp.com/page/why.html which is very suggestive but does not really give any factual example. Is there something to be _shown_ to people who ask "why validate?"? A page...
16
2942
by: J. C. Denton | last post by:
I just manually validated alexa's global top 100 sites and find only 2 sites that pass validation. They are http://www.microsoft.com/ http://www.wikipedia.org/ All others should go w3c markup hall of shame, ;-)
4
1498
by: Dotcom | last post by:
ASP.NET generates markup that fails WC3 validation in a number of situations (below): can anyone suggest a way round these? 1. For Command Buttons, the HTML <INPUT type = Image> element rendered has a border=0 attribute. This needs to be rendered as a style attribute to pass validation. 2. Also for Command Buttons, when there is a validation control on the page, the javascript that is rendered for the button doesn't have a...
9
2567
by: Jamie | last post by:
Maybe I am mis-understanding the function of the W3C Markup validation Service at validator.w3.org, but shouldn't it pick up errors like below? You can cut & paste this straight into the validator: -------------------------------------------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD>
14
1261
by: Nathan Sokalski | last post by:
I often use self-closing tags (such as <br/>) when creating an ASP.NET application. However, when I enter them in Visual Studio .NET 2005, it automatically inserts a space before the />. In most cases this does not bother me, but for tags such as <br/that I usually do not use any attributes with I prefer not to have the extra space. I there a way to prevent Visual Studio .NET 2005 from inserting the extra space before the /> at the end of...
1
1619
by: bharati webpro | last post by:
I've tried the W3C MarkUp Validation Service for the following web page: www.chempro.in/index.htm The validation shows 143 errors. Can anyone help me to rectify thes errors please. Thanks.
9
3606
by: Daniele Perilli | last post by:
Hi everybody, I'd like to introduce you a new little tool I developed to automatically check markup validation of all pages in given websites. It uses W3C HTML Validator and CSS Validator online services in recursive mode (without any max pages limit as other known services). It's called Markup Validator and, of course, it's completely free. I'd be delighted to have a feedback from you about it: http://www.markupvalidator.com Thanks.
0
8229
drhowarddrfine
by: drhowarddrfine | last post by:
Many people think of validation as a mark of valor so they can put on their web page the little W3C logo proclaiming they have achieved some poetic, high moral platform. In truth, validation is error checking. Validation means your markup contains the proper syntax that browsers will understand and should render properly. Some people think that just because their code displays properly in their browser there is no need to validate or...
0
8946
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8774
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9447
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9307
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9235
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.