Welcome to the IMTalk - Internet Marketing & SEO Forum.
  • Login:
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    luigar007 is offline IM & SEO Quiet One luigar007 is on a distinguished road
    Join Date
    May 2011
    Posts
    7
    Thanks Given
    0
    Thanked 0 Times in 0 Posts

    Errors found while checking this document as HTML5!

    Hi, Guys!!

    I use Markup Validation Service to run a test to my wordpress websites and I found..
    155 Errors, 19 warning(s)

    This are the data of the site
    Server: Apache mod_fcgid/2.3.6 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
    Size: 9603
    Content-Type: text/html
    Encoding: utf-8
    Doctype: HTML5
    Root Element: html

    Now what I need to know is where exactly to go to fix the errors..For instance here several erros.
    ================================================== =============================
    HTML5 Validator Error

    Syntax of link type valid for <link>:
    A whitespace-separated list of link types listed as allowed on <link> in the HTML specification or listed as an allowed on <link> on the Microformats wiki without duplicate keywords in the list. You can register link types on the Microformats wiki yourself.

    Line 8, column 2329: Bad value EditURI for attribute rel on element link: Keyword edituri is not registered.

    …reign.com/successblog/xmlrpc.php?rsd"/><link rel="wlwmanifest" type="applicati…
    cont....

    Line 8, Column 3418: Bad value image_src for attribute rel on element link: Keyword image_src is not registered.

    …content/uploads/2011/05/yeptext1.jpg"/><link type="text/css" media="all" href=…
    Syntax of link type valid for <link>:
    A whitespace-separated list of link types listed as allowed on <link> in the HTML specification or listed as an allowed on <link> on the Microformats wiki without duplicate keywords in the list. You can register link types on the Microformats wiki yourself.

    Error Line 8, Column 3885: Bad value home for attribute rel on element a: Keyword home is not registered.

    …" title="Send SMS Messages" rel="home">Send SMS Messages</a> </span></h1><div …
    Syntax of link type valid for <a> and <area>:
    A whitespace-separated list of link types listed as allowed on <a> and <area> in the HTML specification or listed as an allowed on <a> and <area> on the Microformats wiki without duplicate keywords in the list. You can register link types on the Microformats wiki yourself.

    ================================================== =================================

    I do not know where to go to fix this....

    Also they gave me the source listing and they show me the Cleaned-up Source Listing with "HTML-Tidy" but I do not know where to find this in my WP blog to place the new source listing..

    It's pretty important I find the where exactly to go to fix this because I would like to have a better website running...

    Thanks in advance

    Felicita/Luis

  2. #2
    wink0r's Avatar
    wink0r is offline Moderator wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold
    Join Date
    Oct 2010
    Location
    East Coast, USA
    Posts
    2,183
    Thanks Given
    941
    Thanked 651 Times in 491 Posts
    Is the page actually HTML5? My WP blogs all show as being written in XHTML1.0. Check your doc type in the source code and set the validator to the doc type that you are actually checking if it is not HTML5. The doc type is at the very top of the page, like:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">

  3. #3
    luigar007 is offline IM & SEO Quiet One luigar007 is on a distinguished road
    Join Date
    May 2011
    Posts
    7
    Thanks Given
    0
    Thanked 0 Times in 0 Posts
    I just check and change the type in the W3C as you suggest but I do not know still where to go to find it...
    I have notice that on my file in my cpanel are php file and I don't have any html file..I'm really lost with this situation..

    Please help me...

  4. #4
    wink0r's Avatar
    wink0r is offline Moderator wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold
    Join Date
    Oct 2010
    Location
    East Coast, USA
    Posts
    2,183
    Thanks Given
    941
    Thanked 651 Times in 491 Posts
    The quick way to check is to open your site in your browser. Right click on an open area of the page. In the context menu you will see something like 'View Page Source' (FF) or 'View Source' (IE). Click on that and the doc type will be at or very near the top of the page.

    There are different specifications for each doc type, so things that are errors in one doc type may be ok in another. HTML5 is the newest specification, but as far as I know it is not yet complete. The latest versions of browsers support parts of the new specification, so some of the new features can be used but may not be rendered properly by older browsers. Usually when HTML5 code is used now there is some fall back code also used to support the older browsers.

  5. #5
    luigar007 is offline IM & SEO Quiet One luigar007 is on a distinguished road
    Join Date
    May 2011
    Posts
    7
    Thanks Given
    0
    Thanked 0 Times in 0 Posts
    Thanks Wink0R...I found the source..
    However I still don't know where to go to modify the source.
    Since all my files in the cpanel are in php..what file should I use to change the source..?
    Header.php, footer php or index.php?

  6. #6
    wink0r's Avatar
    wink0r is offline Moderator wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold
    Join Date
    Oct 2010
    Location
    East Coast, USA
    Posts
    2,183
    Thanks Given
    941
    Thanked 651 Times in 491 Posts
    You don't want to change the doc type, that would require changing the code to comply with the doc type.

    When you use the W3C Validator just leave both the character encoding and the doc type boxes on detect automatically. The validator will then detect the doc type and check the page according to the doc type listed in the document.

    With a CMS (content management system) like WordPress the pages of your site do not actually exist until there is a request for the page. The php parser then builds the page on demand and feeds it to the browser. The php files that you see are basically instruction sets telling the php parser how to build the html that it then hands off to the browser. Html, itself, is code that tells the browser how to build the page.

    Just for your information, because you don't want to change it, the doc type is in the header.php file.

    A point of interest: My one WP.com blog shows three errors, and I have absolutely no control over that code. It also appears that the theme that I use as a basis for my sites has a minor error - an id that is capitalized (ID) and the validator does not like this at all even though browsers render the page without problem.
    Last edited by wink0r; 09-08-2011 at 10:58 PM.


 

Similar Threads

  1. Fun simple tool I found
    By SeoHosting in forum Photo, Video & Audio
    Replies: 20
    Last Post: 01-13-2013, 03:08 PM
  2. Found Scrapebox for 57$
    By proseocontent in forum Products
    Replies: 16
    Last Post: 11-05-2011, 01:54 PM
  3. Checking to see if your web site content has been copied
    By whitegyr in forum Legal, Copyright, Payment Processing
    Replies: 0
    Last Post: 09-22-2010, 08:04 PM

Tags for this Thread

Posting Permissions

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