www.webdeveloper.com
Results 1 to 12 of 12

Thread: Help me, meta name error in html 5

  1. #1
    Join Date
    Dec 2013
    Location
    San Diego
    Posts
    3

    Unhappy Help me, meta name error in html 5

    I am converting an HTML4 website to HTML5.
    Bad value Distribution for attribute name on element meta: Keyword distribution and copyright

    <meta name="Distribution" content="Global" />

    <meta name="copyright" content="www" />

    you have a solution, to fix this code?

  2. #2
    Join Date
    Oct 2013
    Posts
    554
    Both of those are junk tags, delete them. The only meta tags you need in HTML5 are:

    Code:
    <meta charset="UTF-8">
    <meta name="description" content="your page description here">
    All the others are a waste of bytes, bandwidth and your time.

  3. #3
    Join Date
    Oct 2013
    Location
    3rd planet from the sun
    Posts
    177
    Try this for copyright

    <meta name="dcterms.rightsHolder" content="name of website">
    <meta name="dcterms.dateCopyrighted" content="2013">

  4. #4
    Join Date
    Aug 2013
    Posts
    57
    Quote Originally Posted by Kevin2 View Post
    Both of those are junk tags, delete them. The only meta tags you need in HTML5 are:

    Code:
    <meta charset="UTF-8">
    <meta name="description" content="your page description here">
    All the others are a waste of bytes, bandwidth and your time.
    <meta name="keywords" content="YOUR_KEYWORDS"> is useful too.

  5. #5
    Join Date
    Dec 2013
    Posts
    63
    'keywords' and 'descrition' don't have any impact on your position in google's search results. 'description' is in some circumstances used as page description in search results (but it doesn't have impact on position in search results).

  6. #6
    Join Date
    Oct 2013
    Posts
    554
    Quote Originally Posted by blasphemy View Post
    'description' is in some circumstances used as page description in search results (but it doesn't have impact on position in search results).
    You are absolutely correct, blasphemy. The only reason I left it in my "list" of necessary meta tags was that Google Webmaster Tools complains if it isn't there or is too long or too short. What's frustrating is that probably 90% of the time Google doesn't use the 'description' anyway. I don't really stress over it, usually just throwing up a very quick 1 sentence description of the page.

  7. #7
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,407
    All search engines will use the keywords, whoever says they are not needed or junk needs a kick up the rear, have you ever searched the internet for something to find you are looking for a specific item and up pops several sites that you then visit based on the purple and green widget you are trying to buy to only find that the site not only does not sell the purple and green widget but never has sold that item.

    Keywords.

    You get keyword injection by some web sites because they want to capture your custom in the hope that the purple and green gadget will suffice.

    I find that it is very annoying and a practice that should be prohibited because it really hinders people searching for widgets and not gadgets.
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

  8. #8
    Join Date
    Mar 2011
    Posts
    1,148
    Google has officially acknowledged for many years now that they don't use the 'keywords' <meta> tag for ranking. See Matt Cutts' blog post. In fact, of all the major search engines, only Bing pays any attention to this tag and even they only give it a very small amount of weight.

  9. #9
    Join Date
    Oct 2013
    Posts
    554
    @ \\:\

    Quick quiz:
    Code:
    <!DOCTYPE html>
    <html lang="en">
        <head>
    	<meta charset="utf-8" />
    	<meta name="description" content="Buy your Purple and Green Widget here!" />
    	<title>Purple and Green Widgets</title>
        </head>
    
        </head>
    
        <body>
    
    	[A bunch of content]
    
    	<img src="photo.jpg" alt="Gadgets and Widgets"/>
    
    	[some more content]
    
        </body>
    </html>
    Here's the question:
    Where does the "keyword" Gadget appear?

    For an absolute fact Google reads and uses the contents of the alt attribute both in descriptions and SERP titles. It also appears, from personal experience and empirical (not anecdotal) evidence, that Google doesn't compare the content of that alt with the actual page content or what the image actually depicts.

    Now, if you had another 10 images on your page that included Gadget in their alt attributes what do you think is going to happen?

    And that's just one way of stuffing unrelated keywords into a page without using a 'keywords' <meta> tag. I'm not smart enough or knowledgeable enough to know any more methods.

    @ Rick:

    Thanks for covering my ... um ... posterior, yeah, that's it -- posterior.
    Or at least deflecting the kick.
    Last edited by Kevin2; 01-02-2014 at 03:30 PM.

  10. #10
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,407
    That only happened recently, keyword data is still valid, end of.
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

  11. #11
    Join Date
    Oct 2013
    Posts
    554
    "Recently" is future. Get used to it.

  12. #12
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,407
    You have to pay google for them to read your keyword data, like listing fees. Otherwise they will ignore anything, this does not stop you from using keyword data for other search engines to use.

    Fact, get used to it.
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •  
HTML5 Development Center



Recent Articles