SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Key Words

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2011
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Key Words

    My key words end with this "> begin with <meta name="keywords" content="....................(Is this correct?)

    The w3 validator does not pick it as an error.
    I've checked against other websites they have "/>

    Which is correct?
    Thanks,
    Barry www.see360degrees.com.au

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,207
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by Barry360 View Post
    Which is correct?
    Either is fine. The "> ending is for HTML, the " /> ending is for XHTML, but the browser doesn't care which you use. Because you are using an HTML doctype, it's best to use "> in this particular case ... just to keep the validator happy (... not that the validator matters much).


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
  •