a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

"This page is not Valid HTML 4.01 Transitional"

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> "This page is not Valid HTML 4.01 Transitional"
Page: [1]
 
penandbutterflies

 

Posts: 13
Joined: 4/8/2006
Status: offline

 
"This page is not Valid HTML 4.01 Transitional" - 12/11/2006 23:16:29   
The WC3 markup validation site found 33 errors on my site, but since I only know the bare bones of HTML, I'm not sure how to fix these. The spots where the errors are found look fine to me, even with the brief explanations that accompany some of the errors. If anyone could help me out with this in simpler terms, I would appreciate it! Oh yeah, if you need to know, I'm using FrontPage and a downloaded site template package.

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.capturethestars.com%2F

Kasey
penandbutterflies

 

Posts: 13
Joined: 4/8/2006
Status: offline

 
RE: "This page is not Valid HTML 4.01 Transitional... - 12/11/2006 23:45:58   
I managed to get rid of 11 of the errors. The remaining errors are related to only 5 different HTML lines, and many are the same error. Hopefully it simplifies things a bit!

(in reply to penandbutterflies)
Tailslide

 

Posts: 6368
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: online

 
RE: "This page is not Valid HTML 4.01 Transitional... - 12/12/2006 2:41:01   
Well, there are currently 18 errors - the first of which is because you've got an id named "1" which you're not allowed. Ids can't start with a number and I think should be more than one letter too - so replace it with something more meaningful.

The <nobr> element is failing because it's deprecated in HTML versions newer than HTML 3.0 (i.e it was phased out and is no longer valid). If you want your HTML to be valid then you need to remove it. You could look into replacing it with the CSS element "nowrap".

The other failures relate to using embed and various related bits and pieces. Embed isn't a valid tag. If you want to include a flash element then use SWFobject - http://blog.deconcept.com/swfobject/ which will also get round the whole "activate" thing in IE.

_____________________________

Little Blue Plane Web Design | Land Rover project

:)

(in reply to penandbutterflies)
penandbutterflies

 

Posts: 13
Joined: 4/8/2006
Status: offline

 
RE: "This page is not Valid HTML 4.01 Transitional... - 12/12/2006 6:01:55   
Thanks so much, Tailslide! That took care of just about everything.
I do have one slight difficulty, though - the "nobr" errors are hidden away in a webbot element, so it's not showing me the same thing in code view in FP as the source is showing. So if I knew a way to get in that to change the HTML, then it seems it would be pretty simple to fix.

Showing --- <!--webbot bot="Navigation" s-orientation="horizontal" s-rendering="html" s-bar="Bars" s-btn-nml="<A HREF="#URL#" TARGET="#TARGET#" STYLE="{text-decoration: none;}">#LABEL#</A>" s-btn-sel="#LABEL#" s-btn-sep="&nbsp;|&nbsp;" s-type="top" b-include-home="TRUE" b-include-up="FALSE" --> ----

By the way, that site is great. I bookmarked for future reference.

(in reply to Tailslide)
jaybee

 

Posts: 14207
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: "This page is not Valid HTML 4.01 Transitional... - 12/12/2006 6:45:46   
This is where you come up against the shortcomings of FP generated code. It doesn't validate.

The only thing you can do with that is do your own menu and put it in an include which will have a similar effect to the bot but will validate.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to penandbutterflies)
Tailslide

 

Posts: 6368
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: online

 
RE: "This page is not Valid HTML 4.01 Transitional... - 12/12/2006 6:56:08   
Or just take the hit and leave the page as invalid.

Personally I'd do what I can to make a page validate - but if I were to come up against something that I couldn't fix for instance because I didn't have the skill to do it or because it was the absolutely only way to do something then I'd think carefully about whether there would be any negative consequences of leaving the invalid code in - sometimes there is, sometimes there isn't. If there wasn't any downside apart from the invalidity itself then I might leave it in.

What I'm getting at is that valid code is good and something to strive for if at all possible. But it's not an end in itself.

_____________________________

Little Blue Plane Web Design | Land Rover project

:)

(in reply to jaybee)
jaybee

 

Posts: 14207
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: "This page is not Valid HTML 4.01 Transitional... - 12/12/2006 7:06:41   
quote:

If there wasn't any downside apart from the invalidity itself then I might leave it in.
Quick! somebody frame that statement, we might be able to use it for Blackmail later on. :)

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Tailslide)
Tailslide

 

Posts: 6368
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: online

 
RE: "This page is not Valid HTML 4.01 Transitional... - 12/12/2006 7:48:31   
:)

I think I've always said that it's a means to an end, not the end in itself.

To be 100% honest - up to now, if I can't get something to validate - I do it a different way until I do manage to get it to validate. But then I'm pretty anal about these things. Plus I get emails from people who regularly stick my site(s) through the validator to check!! :) "Did you know that you've got an unencoded dash on your site? Frankly I'm a little disappointed...." I'm telling you it's more than a little scary seeing the validator appearing in my logs and knowing that it wasn't me!

Understanding the implications of a particular piece of invalid markup is more important that validation in itself. If you don't understand the implications then it's easier to just go for validation to be on the safe side.


_____________________________

Little Blue Plane Web Design | Land Rover project

:)

(in reply to jaybee)
jaybee

 

Posts: 14207
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: "This page is not Valid HTML 4.01 Transitional... - 12/12/2006 8:23:21   
quote:

I'm telling you it's more than a little scary seeing the validator appearing in my logs and knowing that it wasn't me!
Yup, tell me about it. :) What gets me is the speed of them too. I upload a new page I'm working on to test it and within 5 minutes there's an email telling me the page doesn't validate.

I'm seriously thinking of putting a standard development disclaimer at the top of each page saying "YES I KNOW I'M STILL WORKING ON IT!"

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Tailslide)
caz

 

Posts: 3626
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: "This page is not Valid HTML 4.01 Transitional... - 12/12/2006 8:34:33   
So that's what it is in the logs! Well, blow me down with a duster...

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to jaybee)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> Microsoft FrontPage Help >> "This page is not Valid HTML 4.01 Transitional"
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts