Webkiller Posted September 20, 2010 Report Share Posted September 20, 2010 W3C is telling me to close the meta tags like this /> and not like this >. Even websites all over the web say close like this > including major search engines like google and bing and yahoo. I mean would it throw off your meta tag in SEO to close it like />. I bet it wouldn't but you never know with all the little stuff these days??? Quote Link to comment Share on other sites More sharing options...
Wickham Posted September 20, 2010 Report Share Posted September 20, 2010 (edited) It depends whether your doctype is HTML or XHTML. HTML strict and transitional and framesets should have only > to close meta tags and several other tags like img br hr input etc. XHTML doctypes must have the above tags closed with /> and must have lower case for code markup (tag names). Using the wrong closing tag will raise errors in a validator, but the page may still display OK as browsers often disregard errors. I doubt if it affects SEO. Edited September 20, 2010 by Wickham Quote Link to comment Share on other sites More sharing options...
Webkiller Posted September 21, 2010 Author Report Share Posted September 21, 2010 It depends whether your doctype is HTML or XHTML. HTML strict and transitional and framesets should have only > to close meta tags and several other tags like img br hr input etc. XHTML doctypes must have the above tags closed with /> and must have lower case for code markup (tag names). Using the wrong closing tag will raise errors in a validator, but the page may still display OK as browsers often disregard errors. I doubt if it affects SEO. Just gave your rep for a great comment. Quote Link to comment Share on other sites More sharing options...
Kyle Undefined Posted September 25, 2010 Report Share Posted September 25, 2010 I know it's an old post (kinda), but wanted to clarify that how you close a tag doesn't affect SEO. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.