I started this site from scratch in dreamweaver and put a HTML 4.01 Transitional at first it has no errors but when i finished it this errors come out again "This page is not Valid HTML 4.01 Transitional!" http://validator.w3.org/check?uri=www.medicalnursingbusiness.com How can i get rid of that error.??? Please advice..
Following are solutions, please fix your code a/c to following line and your page will be validated ERROR 1: ******* Valid Code: <td width="76%" style="border-color:#FFFFFF;"><span class="style10">How to start a n Code (markup): ERROR 2 and 3: *********** All you have to do, is to add alt attribute in <img> tag. For example: ...g/left.jpg" width="165" height="21" [B]alt="myimage"[/B] /> Code (markup): ERROR 4: ******* Error Line 156 column 47: there is no attribute "background". Invalid Code: Valid Code: ...d width="68%" colspan="3" style="background:url(medical-nursing/background.jpg);" bgcolor Code (markup): ERROR 5: ******* Error Line 156 column 124: there is no attribute "height". Invalid Code: Valid Code: ...="#FFFFFF"><table width="810" style="height:453px;" border="0" cellpadding="0" cellspa Code (markup): ERROR 6: ******* Error Line 180 column 44: end tag for element "p" which is not open. Invalid Code: Valid Code: <td width="1%" bgcolor="#FFFFFF"></td></tr> Code (markup): ERROR 7: ******* To fix this error, move the <script></script> tag just before you are starting body tags, like. <html> <head> <title>My page</title> <script>___________________</script> </head> <body> ___________________ Code (markup): If you still have problems please let me know, and if you found this post helpful please add it to my Reputation Thanks
It took me just under an hour, but I finally did it: Here is part 1, its too long to fit in the 1 post
wow it really works http://www.medicalnursingbusiness.com/index2.html but can you teach me how you do that.. please..
rochow you. coz i just copy paste your post and did work.. please... designcode work also good.. i want to learn guys..
My book will be released in about 2 weeks How to code in xhtml and css Also will have a chapter on how to validate pages
Thanks clyde66, actually I don't give you whole code, I just give you hints next time I will try to give full code
Giving the OP the full code will make it a lot easier for them. They would have used the validate function and couldn't figure it out, which is why they posted here and asked for help
yes youre right designcode and rochow.. you are helping a lot of newbies like me.. Will give you green reputation guys..
In the long run, it is counter productive; it is like the old saw, "give a man a fish, and he eats for a day, teach him to fish, and he eats forever". Giving the OP the corrected code does nothing to help him understand and fix the next batch of errors. Showing him what each error message means, and how to fix it will help him to not only understand the validator, but will help him avoid the error in the first place. That's a lot more helpful than just giving him the answer. You may believe otherwise, but belief does not replace good forum practice. cheers, gary