July 3, 200818 yr I get error messages from validators but I cant make head or tail of them. Am I right saying that a different doctype would remove most these errors . What do I have to do to get this site valid. Thanks for your help
July 3, 200818 yr post the link here so we can see it, as no just changing the doctype might not help at all, it all depends on what the errors are
July 3, 200818 yr Author post the link here so we can see it, as no just changing the doctype might not help at all, it all depends on what the errors are Thanks for the lightning response. The site is www.efficient-heat.net.
July 3, 200818 yr Nearly all of the errors are because you haven't closed the self closing tags. For example, <meta name="copyright" content="Copyright 2008 Efficient Heat"> would become this: <meta name="copyright" content="Copyright 2008 Efficient Heat" /> Just add a space and a slash before the end of the tag. Any tags such as <img>, <meta>, <link>, <br> all need a space and a slash added. You have two <html> tags. Remove the second one. You've ended your <head> tag prematurely as well. Put </head> just before the <body> tag. That should remove a lot of the errors.
July 3, 200818 yr Take out the second <html> at the top of the page. On all <meta>, <img> and <br> tags you need to add the closing slash. Eg, you have: <meta randomcrap> it should be <meta randomcrap /> In the header you have an <a> tag without the href. should be <a href="/"> rather than <a>. Remove the <b/> near the bottom.
July 3, 200818 yr Author Nearly all of the errors are because you haven't closed the self closing tags.For example, <meta name="copyright" content="Copyright 2008 Efficient Heat"> would become this: <meta name="copyright" content="Copyright 2008 Efficient Heat" /> Just add a space and a slash before the end of the tag. Any tags such as <img>, <meta>, <link>, <br> all need a space and a slash added. You have two <html> tags. Remove the second one. You've ended your <head> tag prematurely as well. Put </head> just before the <body> tag. That should remove a lot of the errors. Thanks Elan this took out a chunck of errors. Your posts I've found to be very clear and offer guidelines that help keep me on track. Might be worth mentioning that the html validator addon for ff was giving me less errors than the online W3C validator but when I cleared all the errors that the addon was giving me and then went to validate with W3C it also gave me the green light. I use the sgml parser in the addon, maybe that has something to do with it. As jamset recommended I also had to remove the stray <b> tag near the bottom of the page. Besides causing validation problems it was causing mayhem in firebug. It was showing that tag throughout the code which was confusing me no end. Very happy with this forum
July 3, 200818 yr <meta randomcrap /> Wow, I have never used a randomcrap tag before, must try it on my next site. Tee Hee! Glad you like the forum kam, lots of friendly, helpful people in here!
July 3, 200818 yr Thanks Elan this took out a chunck of errors. Your posts I've found to be very clear and offer guidelines that help keep me on track. Might be worth mentioning that the html validator addon for ff was giving me less errors than the online W3C validator but when I cleared all the errors that the addon was giving me and then went to validate with W3C it also gave me the green light. I use the sgml parser in the addon, maybe that has something to do with it. As jamset recommended I also had to remove the stray <b> tag near the bottom of the page. Besides causing validation problems it was causing mayhem in firebug. It was showing that tag throughout the code which was confusing me no end. Very happy with this forum The FF Validator and W3C Validator do pick up on different things. Always best to check both but they do pick up on each others flaws.
Create an account or sign in to comment