Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: found 2 Errors

  1. #1
    Join Date
    Aug 2014
    Location
    BD
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default found 2 Errors

    I have a forum site but i am forum 2 html errors. see this - w3.org how to solved this errors please help.

  2. #2
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,380
    Thanks
    31
    Thanked 148 Times in 142 Posts
    Blog Entries
    33

    Default

    You have
    Code:
    <ul id="navigation-bottom">
    </ul>
    with nothing inside it.

    And you have
    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>
    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"></img> <a href="./" title="White Hat World" accesskey="h">White Hat World</a>/p>
    (because OMITTAG NO was specified)

  3. #3
    Join Date
    Aug 2014
    Location
    BD
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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>

  4. #4
    Join Date
    Aug 2014
    Location
    BD
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I am solved this but please help 1 error.

  5. #5
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,380
    Thanks
    31
    Thanked 148 Times in 142 Posts
    Blog Entries
    33

    Default

    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>&nbsp;</li>
    </ul>

  6. #6
    Join Date
    Aug 2014
    Location
    dhaka
    Posts
    3
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    P::firstchild{
    font-size=200%;
    }

  7. #7
    Join Date
    Aug 2014
    Location
    dhaka
    Posts
    3
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    provide with related css .please

  8. #8
    Join Date
    Mar 2010
    Location
    Florida
    Posts
    381
    Thanks
    6
    Thanked 35 Times in 33 Posts

    Default

    I am not sure why molendijk gave you this:
    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 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" />
    <a href="./" title="White Hat World" accesskey="h">White Hat World</a>
    </p>
    -DW [Deadweight]
    Resolving your thread: First Post: => EDIT => Lower right: => GO ADVANCED => Top Advance Editor drop down: => PREFIX:Resolved

  9. #9
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,380
    Thanks
    31
    Thanked 148 Times in 142 Posts
    Blog Entries
    33

    Default

    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.
    Last edited by molendijk; 08-10-2014 at 07:25 PM.

  10. #10
    Join Date
    Aug 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    On my website i have about 40-50 w3 errors ;/
    How bad this errors affect on my site performance?

Similar Threads

  1. please help...404 not found
    By coolclearwater in forum HTML
    Replies: 2
    Last Post: 05-03-2009, 08:43 AM
  2. CSS is found but not always used
    By McSak in forum CSS
    Replies: 1
    Last Post: 01-18-2007, 10:26 AM
  3. Have I found a bug??
    By lister in forum Dynamic Drive scripts help
    Replies: 9
    Last Post: 08-23-2006, 12:43 PM
  4. Have I found a bug??
    By lister in forum JavaScript
    Replies: 4
    Last Post: 08-21-2006, 05:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •