I have a forum site but i am forum 2 html errors. see this - w3.org how to solved this errors please help. :confused:
Printable View
I have a forum site but i am forum 2 html errors. see this - w3.org how to solved this errors please help. :confused:
You have
with nothing inside it.Code:<ul id="navigation-bottom">
</ul>
And you have
where it should be, in this case:Code:<p id="breadcrumb" class="left-box"> <img src="http://whitehatworlds.com/icon_home.gif" alt="Home" width="13" height="12"><a href="./" title="White Hat World" accesskey="h">White Hat World</a></p>
(because OMITTAG NO was specified)Code:<p id="breadcrumb" class="left-box"> <img src="http://whitehatworlds.com/icon_home.gif" alt="Home" width="13" height="12"></img> <a href="./" title="White Hat World" accesskey="h">White Hat World</a>/p>
I think code is wrong -
Quote:
<p id="breadcrumb" class="left-box"> <img src="http://whitehatworlds.com/icon_home.gif" alt="Home" width="13" height="12"></img> <a href="./" title="White Hat World" accesskey="h">White Hat World</a>/p>
I am solved this but please help 1 error.
As I said, you can't have <ul id="navigation-bottom"></ul> The validator complains about it.
Either remove it, or put something inside it, for instance:
Code:<ul id="navigation-bottom">
<li> </li>
</ul>
P::firstchild{
font-size=200%;
}
provide with related css .please
I am not sure why molendijk gave you this:
I think this is the correct code:Code:<p id="breadcrumb" class="left-box"> <img src="http://whitehatworlds.com/icon_home.gif" alt="Home" width="13" height="12"></img> <a href="./" title="White Hat World" accesskey="h">White Hat World</a>/p>
Code:<p id="breadcrumb" class="left-box">
<img src="http://whitehatworlds.com/icon_home.gif" alt="Home" width="13" height="12" />
<a href="./" title="White Hat World" accesskey="h">White Hat World</a>
</p>
I provided the code with an explicitly given closing tag for the image because the validator was complaining that it wasn't there.
Normally, you don't have </img>. But this time the validator seemed to want it because OMITTAG NO was specified.
It was happy after I 'd added </img>.
EDIT:
Sorry, I misread you. Yes, <img .../> is more commonly used for those cases.
On my website i have about 40-50 w3 errors ;/
How bad this errors affect on my site performance?