Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 11-24-2004, 06:46 AM Doctype
Dee
Novice Talker

Posts: 8
Trades: 0
Hi,
I keep getting the error message:

This page is not Valid HTML 4.01 Transitional!

when I check my webpages in W3C Markup Validation Service.

I use the following for my Doctype:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Therefore, I can't understand why I'm getting this error message. I'm on Windows XP using Dreamweaver Ultradev 4.

Any advice would be appreciated.
Cheers!
Dee
Dee is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-24-2004, 07:30 AM
Snowblind's Avatar
Skilled Talker

Posts: 80
Location: New Zealand
Trades: 0
Well I'm using:

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

Which I believe is the loose standards for HTML 4.01.

Try putting this at the very top of your page and see if it works. I've never used dreamweaver to make a website - but this could just mean that it is not complying with the Html 4.01 standards. In this case it should show you a list of what is wrong below it. This should help in fixing any errors that may be there as a result of using Dreamweaver (if dreamweaver does generate error-filled code).

If you have any further problems paste in what's it says is wrong and I'll try my best to help you solve your problem.
__________________
Snowblind \m/

Please login or register to view this content. Registration is FREE
Snowblind is offline
Reply With Quote
View Public Profile
 
Old 11-24-2004, 08:45 AM
Dee
Novice Talker

Posts: 8
Trades: 0
Quote:
Originally Posted by Snowblind
Well I'm using:

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

Which I believe is the loose standards for HTML 4.01.

Try putting this at the very top of your page and see if it works. I've never used dreamweaver to make a website - but this could just mean that it is not complying with the Html 4.01 standards. In this case it should show you a list of what is wrong below it. This should help in fixing any errors that may be there as a result of using Dreamweaver (if dreamweaver does generate error-filled code).

If you have any further problems paste in what's it says is wrong and I'll try my best to help you solve your problem.

Hi Snowblind,
Thanks for your reply. I've changed the Doctype to the one you suggested but I'm still getting the same error message (This page is not Valid HTML 4.01 Transitional!) when checking the page in W3C Markup Validation Service at: http://validator.w3.org/

Should I worry about this or is the problem negligable? I wouldn't like to think that my site will have trouble getting in search engines etc. because of this error.
Thanks!
Dee
Dee is offline
Reply With Quote
View Public Profile
 
Old 11-24-2004, 10:55 AM
karinne's Avatar
Extreme Talker

Posts: 197
Location: Quebec, Canada
Trades: 0
what you're url.... the fact that they say the page in not valid html doesn't mean the doctype is wrong... it could just be that you have error in your html
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE


Getting on the Web Standards band-wagon? Get these books -
Please login or register to view this content. Registration is FREE
and
Please login or register to view this content. Registration is FREE


Takin' in the view from the outside. Feeling like the underdog. Watching through the window I'm on the outside. Living like the underdog.
-Dream Theater
karinne is offline
Reply With Quote
View Public Profile Visit karinne's homepage!
 
Old 11-24-2004, 12:51 PM
faze1's Avatar
Ultra Talker

Posts: 389
Trades: 0
I agree, add the link to your site so we can see whats happeneing, it is possible that there are only a few syntax errors. Typically there is almost always a way to display the site the way you intended and still validate so I can't think of any reason not to. Invalid code does not neccessarilly mean you wont be indexed by search engines, but I'm sure between all the people here on this forum we can get you to validate anyway.

I use the the doctype <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">, for my 4.01 transitional files and all my pages validate, so I think we just need to see the error reprt to figure out what is going on.

Cheers,
__________________
[size=2]
Please login or register to view this content. Registration is FREE
- Webhosting - Focusing on quality service
faze1 is offline
Reply With Quote
View Public Profile Visit faze1's homepage!
 
Old 11-24-2004, 04:05 PM
Dee
Novice Talker

Posts: 8
Trades: 0
The URL is: ewebsolutions.co.uk

As you will see, it's early in the site development which is why I want to fix any problems as they occur.
Thanks in advance,
Dee
Dee is offline
Reply With Quote
View Public Profile
 
Old 11-24-2004, 04:14 PM
WaHoOoO!'s Avatar
Mentally Unstable Tugboat Captain

Posts: 797
Name: Chad
Location: /usr/bin/perl
Trades: 0
It's not valid. One <img> tag is missing the required "alt" attribute. If you have no real alt text, then just do alt="" to solve it. Other than that, it checks out.
__________________
He's baaaaaaaack....
WaHoOoO! is offline
Reply With Quote
View Public Profile Visit WaHoOoO!'s homepage!
 
Old 11-24-2004, 05:06 PM
Dee
Novice Talker

Posts: 8
Trades: 0
Oh right, geddit now!
Thanks all for your help.
Dee is offline
Reply With Quote
View Public Profile
 
Old 11-24-2004, 09:14 PM
NateDogg's Avatar
Extreme Talker

Posts: 163
Trades: 0
Place this doctype declaration at the top of your code and everything should work out perfectly.
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
You can find more info regarding DocType Declarations on http://www.w3schools.com/tags/tag_doctype.asp
__________________
Nathan


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
NateDogg is offline
Reply With Quote
View Public Profile
 
Old 11-25-2004, 06:08 AM
celticbrue's Avatar
Extreme Talker

Posts: 175
Location: Wiltshire, England
Trades: 0
Hi,

It is apparent you are setting yourself up in business as a web designer.

I don't wish to be rude, but if you are unable to understand how to use the W3C validator (or what validation is all about!), how are you going to properly advise clients/potential clients on what is best for their needs, disability legislation, SEO, Hosting plans etc etc?

I have checked your page in the validator myself and there are eight HTML 4 Transitional errors. XHTML 1.0 transistional is now widely regarded as the industry standard and your code falls well below par when checking against this.

I really hate giving negative feedback, but feel it is important that those embarking upon a career as a web designer are fully aware of the level of service they need to offer clients. There is a lot more to web design than owning a copy of Dreamweaver and being able to throw together a few images and some text that looks nice. Almost anyone can do that.

Ian
celticbrue is offline
Reply With Quote
View Public Profile
 
Old 11-25-2004, 08:56 AM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
Quote:
There is a lot more to web design than owning a copy of Dreamweaver and being able to throw together a few images and some text that looks nice. Almost anyone can do that.
I totally agree. I've been saying it for years. I think one of the major downfalls of the web was the common misconception that anyone can design a website. I think that's why 90% of the web is just rubbish sites.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 11-26-2004, 12:04 PM
Dee
Novice Talker

Posts: 8
Trades: 0
To Ian and especially Minaki,

FYI, I have sucessfully created several websites. Maybe my code isn't perfect but it gets the job done and people are always pleased with the finished product. I am totally self taught due to financial restrictions and only recently acquired Dreamweaver after years of hand coding HTML

The reason I asked about Doctype was because it's been one of those things that I haven't been totally sure as to its meaning. I know about code validation but thought maybe Doctype referred to the document as a whole rather than the code contained within. You may raise your eyebrows and scratch your heads at my stupidity but, believe it or not, there are people out there who are not as knowledgeable as you.

Sorry for not being perfect. Perhaps I should spend several years learning everything about web design and then come back and belittle new posters by making snide remarks, but then again, perhaps not as this would make me look like a smug, pompous ***.

Other posters managed to be civil and helpful. Why bother with this forum if all you can add are insults rather than constructive comments.

This was my first question on this forum and it will now be my last. Thanks for making me feel welcome.
Dee is offline
Reply With Quote
View Public Profile
 
Old 11-27-2004, 12:05 AM
celticbrue's Avatar
Extreme Talker

Posts: 175
Location: Wiltshire, England
Trades: 0
Dee,

My submission was not intended to belittle or make you appear stupid although, having just re-read my post, I can see why you would think that. Sorry for causing offence.

What I was trying to get across is that there is more to setting yourself up as a web design professional than just coding or presentation or any number of other things. A truly professional business will have to possess knowledge on a wide range of subjects within the Internet/Web Design sphere. This makes it incredibly difficult for individuals to make much of a mark, as no one person can be expected to be an expert in all fields.

Like you, I am completely self taught, having learned from books, magazines and trial and error. I still hand code all my web pages in Notepad and personally, would recommend EVERY html coder to do the same as it gives complete freedom from extraneous and unnecessary code.

My tactlessness in referring to your apparent lack of knowledge in relation to the DOCTYPE reference is because it was one of the first things I learned about when starting to code HTML. Essentially the DOCTYPE tells the user's browser HOW to render the page. The absence of a DOCTYPE or an incomplete or out-dated DOCTYPE can cause rendering problems and the pages may not appear how you wish them to. The DOCTYPE must be included on every page of the website for the page to validate. More detailed information can be found here

You will see that this is my 100th post. The vast majorityof these have been aimed at helping others with their problems because I do understand that everybody has to learn sometime. In this case I have been given a kick in the arse and will remember to be more tactful in the future but, the fact remains that it is very difficult to offer even constructive criticism in the written form without upsetting somebody.

You say you won't be back, but I hope that is not the case - without people like us, forums like this would not exist.

Good luck with your venture and as a free bit of advice, get some knowledge on Accessibility Legislation, it is the next big thing in web design business.

Ian.
celticbrue is offline
Reply With Quote
View Public Profile
 
Old 11-27-2004, 04:52 AM
Junior Talker

Posts: 2
Trades: 0
Hi,
I don't normally post on forums, I prefer to lurk as the amenable exchange between developers is a usually a rewarding experience. I've just come across this forum and feel compelled to reply to some of the posts on this thread.
I am a senior systems developer with ten years experience in Enterprise Software development. I have trained and mentored some highly proficient developers and I am personally quite shocked at the arrogant response to what is a perfectly valid question.
In my experience this kind of behaviour and criticism is indicative of the barely competent developer who seeks to aggrandise there own limited abilities by knocking those of others. As a rule they are terrible people to work with.
Fortunately it is not difficult for an experienced developer, manager or client to see through such antics.
When hiring developers or designers I would be much more impressed by someone who is prepared to show initiative when faced by a problem, (i.e. seek a solution or ask for help as Dee has done) than someone who thinks they know it all.
A good example of this attitude is the "I hand code everything in notepad" approach. I am primarily a Java developer so I hand code everything. However I am not afraid to employ the use of tools such as a good IDE to help me out. The aim of any professional developer is of course to deliver a product of the highest quality in the shortest space of time. Saying I "only use notepad" is the kind of macho rubbish I'd expect from an inexperienced beginner. It might impress someone who is new to the game, but anyone of experience would just smile.
A really good example of this attitude is the way that Minaki has signed her post in a very large font with MCP in capital letters. "I have the right to criticise people, I've passed a Microsoft exam". I wanted to look at your website, but it appears to be down at the moment. I'd be interested to know if you "hand code in notepad" too.
After ten years of developing there are times when I still get stuck, when I am so embroiled in a problem that I can't see the forest for the trees. In such cases I may turn to a colleague for a second opinion, and quite often the problem is something simple. We generally have a laugh about it and get on with the job.
I must warn you that if you conduct yourself with this level of arrogance you are setting yourself up for a fall, perhaps one that may adversely affect your career.
DM
darkmirror is offline
Reply With Quote
View Public Profile
 
Old 11-27-2004, 07:45 AM
WaHoOoO!'s Avatar
Mentally Unstable Tugboat Captain

Posts: 797
Name: Chad
Location: /usr/bin/perl
Trades: 0
Quote:
Originally Posted by Dee
FYI, I have sucessfully created several websites. Maybe my code isn't perfect but it gets the job done and people are always pleased with the finished product. I am totally self taught due to financial restrictions and only recently acquired Dreamweaver after years of hand coding HTML
I'm self taught as well...that has nothing to do with it. As for "getting the job done," yes...it may get the job done, but is it the best way to do it? I mean...let's say I use a specific style many times throughout a document, is it better to reuse the <font> tag 20 times or to create a stylesheet?

Just trying to make a point...don't hate me *raises flame shield*
__________________
He's baaaaaaaack....

Last edited by WaHoOoO!; 11-27-2004 at 07:48 AM.. Reason: Rewording a Sentence
WaHoOoO! is offline
Reply With Quote
View Public Profile Visit WaHoOoO!'s homepage!
 
Old 11-27-2004, 12:41 PM
Dee
Novice Talker

Posts: 8
Trades: 0
Quote:
Originally Posted by WaHoOoO!
I'm self taught as well...that has nothing to do with it. As for "getting the job done," yes...it may get the job done, but is it the best way to do it? I mean...let's say I use a specific style many times throughout a document, is it better to reuse the <font> tag 20 times or to create a stylesheet?

Just trying to make a point...don't hate me *raises flame shield*

The reason I said I was self taught was to explain why I wasn't sure what Doctype meant. IOW, not being taught by professionals could mean that self taught people might not come across and understand single every aspect of web design.

In answer to your last point, of course it is better to use a stylesheet rather than manually typing all the attributes of every single font tag. Getting the job done was meant as a way of saying that even if the code isn't perfect, it is still possible to design good websites.
Dee is offline
Reply With Quote
View Public Profile
 
Old 11-27-2004, 06:40 PM
faze1's Avatar
Ultra Talker

Posts: 389
Trades: 0
I agree,

But ultimatly Dee, I feel you have said nothing that needs to be defended. Not one of us here knows everything. The more you work at it and particapte in fourms like this one the more you will learn, after all this is why forums like this exist.

When it comes down to it I couldn't agree with darkmirror more and personally I am impressed that after gaining a few years of expierence you have decided to revisit the esoteric world of doctypes. With all of the confusing components to web design I have found that doctypes is often put to the back burner. Now while I dont agree with this, I can understand how this happens. I think it is commendable that you obviously have been doing this for some time, have learned some tricks and have decided it is now time to go back and revisit doctypes. It seems many people, after becoming proficient at webdesign, be it handcoding or some form of wysiwyg, develop a certain arrogance and turn on the idea of compliance.

I think the main point is, while your code is not perfect, you are doing what you can to strive towards prefection. And I hope everyone can agree, there is nothing wrong with that.

Good luck,
__________________
[size=2]
Please login or register to view this content. Registration is FREE
- Webhosting - Focusing on quality service

Last edited by faze1; 11-27-2004 at 06:42 PM..
faze1 is offline
Reply With Quote
View Public Profile Visit faze1's homepage!
 
Old 11-28-2004, 08:25 AM
Dee
Novice Talker

Posts: 8
Trades: 0
Quote:
Originally Posted by faze1
I agree,

But ultimatly Dee, I feel you have said nothing that needs to be defended. Not one of us here knows everything. The more you work at it and particapte in fourms like this one the more you will learn, after all this is why forums like this exist.

When it comes down to it I couldn't agree with darkmirror more and personally I am impressed that after gaining a few years of expierence you have decided to revisit the esoteric world of doctypes. With all of the confusing components to web design I have found that doctypes is often put to the back burner. Now while I dont agree with this, I can understand how this happens. I think it is commendable that you obviously have been doing this for some time, have learned some tricks and have decided it is now time to go back and revisit doctypes. It seems many people, after becoming proficient at webdesign, be it handcoding or some form of wysiwyg, develop a certain arrogance and turn on the idea of compliance.

I think the main point is, while your code is not perfect, you are doing what you can to strive towards prefection. And I hope everyone can agree, there is nothing wrong with that.

Good luck,


Thanks, I will stick around because there are people here like yourself who are willing to help, no matter how 'simple' the question might be.
Cheers!
Dee
Dee is offline
Reply With Quote
View Public Profile
 
Old 11-28-2004, 12:04 PM
Rincewind's Avatar
Super Talker

Posts: 108
Trades: 0
My teachers always said, "The only stupid question, is the question not asked." So Dee should ask and should not be critisized for asking. Nobody knows everything. Especially in a fast moving, complex arena like web design. In such a field it's not important how much you know, but rather knowing how much you don't know. Cause then when you need to know what you don't know you can ask and find out.
__________________
Q-4.net -
Please login or register to view this content. Registration is FREE

Stylegallery.co.uk -
Please login or register to view this content. Registration is FREE

Splodgy.com -
Please login or register to view this content. Registration is FREE
Rincewind is offline
Reply With Quote
View Public Profile
 
Old 11-28-2004, 09:19 PM
WaHoOoO!'s Avatar
Mentally Unstable Tugboat Captain

Posts: 797
Name: Chad
Location: /usr/bin/perl
Trades: 0
There are no stupid questions, just a lot of inquisitive idiots.
__________________
He's baaaaaaaack....
WaHoOoO! is offline
Reply With Quote
View Public Profile Visit WaHoOoO!'s homepage!
 
Reply     « Reply to Doctype

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.67934 seconds with 12 queries