helloworld001 Posted January 15, 2015 Share Posted January 15, 2015 For a long time, I think I have been using heading tags wrong on websites. They always show like this on Google. Websitename websitename.com/category?name=mystery Posted by Night Flyer; 7 days ago; 5 views. « first; « prev; 1 of 1; next »; last ». Contact Us; @ 2014 websitename Inc. All Rights Reserved. As you can see, Google takes all the heading tags on my page and puts them in the description of the search result. So I have finally come to the conclusion that I should not be using heading tags for those things. Am I correct on that? Link to comment https://forums.phpfreaks.com/topic/293926-whats-the-best-way-to-use-heading-tags-and-show-them-on-google-search-engine/ Share on other sites More sharing options...
cyberRobot Posted January 15, 2015 Share Posted January 15, 2015 For me that type of information shouldn't be in a heading tag. Perhaps the following quote from the Mozilla Developer Network documentation (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) will help: A heading element briefly describes the topic of the section it introduces. Assuming that you have a blog, the <h1> tag should probably be applied to the blog title. And <h2> tags would be applied to any headings that may be in the blog post...assuming the post is broken into sections. Link to comment https://forums.phpfreaks.com/topic/293926-whats-the-best-way-to-use-heading-tags-and-show-them-on-google-search-engine/#findComment-1503019 Share on other sites More sharing options...
helloworld001 Posted January 17, 2015 Author Share Posted January 17, 2015 For me that type of information shouldn't be in a heading tag. Perhaps the following quote from the Mozilla Developer Network documentation (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) will help: Assuming that you have a blog, the <h1> tag should probably be applied to the blog title. And <h2> tags would be applied to any headings that may be in the blog post...assuming the post is broken into sections. Yes I am going to do that from now on. Link to comment https://forums.phpfreaks.com/topic/293926-whats-the-best-way-to-use-heading-tags-and-show-them-on-google-search-engine/#findComment-1503236 Share on other sites More sharing options...
QuickOldCar Posted January 19, 2015 Share Posted January 19, 2015 You could use opengraph data per page and google use that instead. Link to comment https://forums.phpfreaks.com/topic/293926-whats-the-best-way-to-use-heading-tags-and-show-them-on-google-search-engine/#findComment-1503390 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.