Hi im here again whining about the errors in my site.. <!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=www.medicalnursingbusiness.com">http://validator.w3.org/check?uri=www.m ... siness.com</a><!-- m -->
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!"
How can i get rid of that error.???
Please advice..How can i get rid of that error.???The errors are all listed below that warning, each one with a link to more information. What more could you need?yes but i dont know whats the correct transitional for my site.. i think that should fix all the errors..You are already using too lax of a standard and should be using HTML 4.01 Strict. The problem is your HTML. You actually have more than the validator is flagging.then how can i fix it..? if theres a tutorial in validating websites please point me there i really want to learn how to calidate a website..Drop the bordercolor, images require alt="" drop background, drop height, add type to JavaScript have you used the clean-up HTML facility in Dreamweaver based on Tidy? I suspect Dreamweaver is adding nonsense?Yo need to use more CSS too.
<!-- m --><a class="postlink" href="http://www.w3.org/TR/html401/index/elements.html">http://www.w3.org/TR/html401/index/elements.html</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.w3.org/TR/html401/index/attributes.htmlthen">http://www.w3.org/TR/html401/index/attributes.htmlthen</a><!-- m --> how can i fix it..?The validator is telling you exactly what to do if you would bother to read the rest of that page.ok i will try that robert..mason,
the validator isn't saying your page isn't valid due to doctype. it's saying it's coded wrong. scroll down that page and it tell you exactly what's wrong, and sometimes even how to fix it. things like misplaced tags, etc.
pjYou are trying to use deprecated code with a XHTML 1.0 Transitional! document type. Tags like <meta>, <br>, etc tags must be closed. Some attributes are not allow where you are trying to use them. I saw no <html><head> tags after your current document type. No </head> tag before your <body> tag.
Here are your current warnings:
HTML Validation Result
----------------------
<!-- m --><a class="postlink" href="http://www.medicalnursingbusiness.com/">http://www.medicalnursingbusiness.com/</a><!-- m -->
line 21 column 1 - Warning: <meta> element not empty or not closed
line 22 column 1 - Warning: <meta> element not empty or not closed
line 1 column 165 - Warning: <body> isn't allowed in <head> elements
line 144 column 25 - Warning: missing <td>
line 171 column 19 - Warning: <form> isn't allowed in <table> elements
line 204 column 17 - Warning: replacing <p> by <br>
line 204 column 17 - Warning: inserting implicit <br>
line 204 column 17 - Warning: <br> element not empty or not closed
line 63 column 1 - Warning: <table> proprietary attribute "height"
line 67 column 7 - Warning: <table> proprietary attribute "height"
line 71 column 13 - Warning: <table> proprietary attribute "height"
line 80 column 25 - Warning: <td> proprietary attribute "background"
line 86 column 25 - Warning: <td> proprietary attribute "background"
line 92 column 25 - Warning: <td> proprietary attribute "background"
line 95 column 37 - Warning: <table> proprietary attribute "background"
line 107 column 21 - Warning: <td> proprietary attribute "background"
line 170 column 19 - Warning: <p> proprietary attribute "nowrap"
line 172 column 3 - Warning: <form> escaping malformed URI reference
line 171 column 19 - Warning: <table> proprietary attribute "bordercolor"
line 210 column 158 - Warning: <img> lacks "alt" attribute
line 220 column 160 - Warning: <img> lacks "alt" attribute
line 468 column 17 - Warning: <table> proprietary attribute "bordercolor"
line 468 column 17 - Warning: <table> proprietary attribute "height"
line 226 column 25 - Warning: trimming empty <center>
line 254 column 66 - Warning: trimming empty <span>
line 309 column 61 - Warning: trimming empty <span>
line 345 column 19 - Warning: trimming empty <p>
line 377 column 94 - Warning: trimming empty <span>
0 errors / 28 warnings
Just correcting these with present doc type would be fine.
Ron
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!"
How can i get rid of that error.???
Please advice..How can i get rid of that error.???The errors are all listed below that warning, each one with a link to more information. What more could you need?yes but i dont know whats the correct transitional for my site.. i think that should fix all the errors..You are already using too lax of a standard and should be using HTML 4.01 Strict. The problem is your HTML. You actually have more than the validator is flagging.then how can i fix it..? if theres a tutorial in validating websites please point me there i really want to learn how to calidate a website..Drop the bordercolor, images require alt="" drop background, drop height, add type to JavaScript have you used the clean-up HTML facility in Dreamweaver based on Tidy? I suspect Dreamweaver is adding nonsense?Yo need to use more CSS too.
<!-- m --><a class="postlink" href="http://www.w3.org/TR/html401/index/elements.html">http://www.w3.org/TR/html401/index/elements.html</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.w3.org/TR/html401/index/attributes.htmlthen">http://www.w3.org/TR/html401/index/attributes.htmlthen</a><!-- m --> how can i fix it..?The validator is telling you exactly what to do if you would bother to read the rest of that page.ok i will try that robert..mason,
the validator isn't saying your page isn't valid due to doctype. it's saying it's coded wrong. scroll down that page and it tell you exactly what's wrong, and sometimes even how to fix it. things like misplaced tags, etc.
pjYou are trying to use deprecated code with a XHTML 1.0 Transitional! document type. Tags like <meta>, <br>, etc tags must be closed. Some attributes are not allow where you are trying to use them. I saw no <html><head> tags after your current document type. No </head> tag before your <body> tag.
Here are your current warnings:
HTML Validation Result
----------------------
<!-- m --><a class="postlink" href="http://www.medicalnursingbusiness.com/">http://www.medicalnursingbusiness.com/</a><!-- m -->
line 21 column 1 - Warning: <meta> element not empty or not closed
line 22 column 1 - Warning: <meta> element not empty or not closed
line 1 column 165 - Warning: <body> isn't allowed in <head> elements
line 144 column 25 - Warning: missing <td>
line 171 column 19 - Warning: <form> isn't allowed in <table> elements
line 204 column 17 - Warning: replacing <p> by <br>
line 204 column 17 - Warning: inserting implicit <br>
line 204 column 17 - Warning: <br> element not empty or not closed
line 63 column 1 - Warning: <table> proprietary attribute "height"
line 67 column 7 - Warning: <table> proprietary attribute "height"
line 71 column 13 - Warning: <table> proprietary attribute "height"
line 80 column 25 - Warning: <td> proprietary attribute "background"
line 86 column 25 - Warning: <td> proprietary attribute "background"
line 92 column 25 - Warning: <td> proprietary attribute "background"
line 95 column 37 - Warning: <table> proprietary attribute "background"
line 107 column 21 - Warning: <td> proprietary attribute "background"
line 170 column 19 - Warning: <p> proprietary attribute "nowrap"
line 172 column 3 - Warning: <form> escaping malformed URI reference
line 171 column 19 - Warning: <table> proprietary attribute "bordercolor"
line 210 column 158 - Warning: <img> lacks "alt" attribute
line 220 column 160 - Warning: <img> lacks "alt" attribute
line 468 column 17 - Warning: <table> proprietary attribute "bordercolor"
line 468 column 17 - Warning: <table> proprietary attribute "height"
line 226 column 25 - Warning: trimming empty <center>
line 254 column 66 - Warning: trimming empty <span>
line 309 column 61 - Warning: trimming empty <span>
line 345 column 19 - Warning: trimming empty <p>
line 377 column 94 - Warning: trimming empty <span>
0 errors / 28 warnings
Just correcting these with present doc type would be fine.
Ron