Log in

View Full Version : Resolved found 2 Errors



whitehatworld
08-09-2014, 03:10 PM
I have a forum site but i am forum 2 html errors. see this - w3.org (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.whitehatworlds.com%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1&group=0&No200=1&verbose=1&st=1&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w3.org%2Fservices#line-103) how to solved this errors please help. :confused:

molendijk
08-09-2014, 04:43 PM
You have

<ul id="navigation-bottom">
</ul>
with nothing inside it.

And you have


<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>

where it should be, in this case:


<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>

(because OMITTAG NO was specified)

whitehatworld
08-09-2014, 06:21 PM
I think code is wrong -


<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>

whitehatworld
08-09-2014, 06:25 PM
I am solved this but please help 1 error.

molendijk
08-09-2014, 07:01 PM
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:


<ul id="navigation-bottom">
<li>&nbsp;</li>
</ul>

iliasahmed20
08-09-2014, 08:04 PM
P::firstchild{
font-size=200%;
}

iliasahmed20
08-09-2014, 08:08 PM
provide with related css .please

Deadweight
08-10-2014, 05:47 PM
I am not sure why molendijk gave you this:

<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 this is the correct 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>

molendijk
08-10-2014, 07:08 PM
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.

GamesHacks4u
08-31-2014, 08:22 PM
On my website i have about 40-50 w3 errors ;/
How bad this errors affect on my site performance?

jscheuer1
08-31-2014, 08:44 PM
Probably not or very little at all.

Pluscheats
03-14-2015, 08:44 AM
On my website i have about 30-40 w3 errors
How bad this errors affect on my site performance?

Thank you for answer :D

molendijk
03-14-2015, 10:49 AM
That depends on the nature of the errors. Please provide a link to your site.