Does using tags instead of " " good for SEO purposes?
-
I'm currently using <pr>tags for paragraphs and came across an article that said it is better for search engines to see the</pr>
tag than
tag to separate paragraphs. -
You can see that from the W3schools article I linked above: "Even if
works in all browsers, writing
instead is more future proof."HTML worked with the idea that certain tags could be opened but did not need to be closed such as the and
tags. The XHTML standard requires all tags be closed. As I understand the idea, it's just a better means of presenting that every tag is closed.Functionally there is currently no difference BUT it can lead to different behaviors in various browsers if you use invalid code.
-
The HTML5+ will in some years (maybe 5-6 yrs) only support
and similiar tags. You can read more about this at http://www.w3schools.com/html/default.asp -
Whats the difference?
-
I must say that you absolutely should use
instead of- it's more future-friendly.
-
Where did you get this information though?
-
I was just wondering if any one at SEOmoz has ever heard about it because I couldn't find anything else on the subject online. This was a very helpful answer thank you.
-
I have never heard that theory before today. It does make a bit of sense so I decided to Google it. When I typed in "p tag vs" the auto-complete came up with "p tag vs br tag" and I added in "seo" to the search. There were only two related results.
1. http://www.seo-works.com/p-tags-in-seo.php While the article presents an interesting idea, they offer absolutely no references for the discussion at all. The author's name is not listed, no date, etc. This is where I begin to look at the site itself and it seems like a "build your website in 30 minutes" type of creation where I keep the idea (good ideas can come from anywhere) but I lend absolutely no weight to this article as evidence.
2. http://www.pitstopmedia.com/sem/br-hr-p-pre-tag-seo This page isn't that great either, but it is a huge improvement over the other result. We can see an author name "TraiaN" but it is not a link and there is no information about the author. It has a publish date of Nov 2010 which is good.
What bothers me is the information is presented as factual. It is presented in the same was as if I was to say "the sun is hot". Sure the sun is hot. Everyone knows the sun is hot. But I am not willing to accept the theory that p tags are superior to br tags on the same level.
The second site does reference a search patent from 2004 as evidence to support the statement. The particular section of the patent that is referred to only talks about the desire to apply weighting to words near header tags (h1-h6). Never once is the p tag nor br tag mentioned.
These type of articles really muddy the SEO world by presenting one person's theory as a fact. Neither author has presented even one shred of evidence to support this theory. Neither claimed to have worked at Google and seen the algorithm or have performed any testing. There is no evidence whatsoever that either author has any knowledge about SEO. This is the SEO equivalent of snake-oil sales.
Summary: I am not aware of any evidence linking any weighting to text contained within a
tag versus text separated with a
tag. I suggest you use the best programming practices within your site. Follow the W3 industry standards when coding your site and use tags appropriately. -
tag is the proper formatting for paragraphs and will in theory make it easier for search engines to understand your content.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Homepage "personalisation" - different content for different users
Hi Mozians, My firm is looking to present different content to different users depending on whether they are new, return visitors, return customers etc... I am concerned how this would work in practice as far as Google is concrened- how would react to the fact that the bot would see different content to some users. It has the slight whiff of cloacking about it to me, but I also get that in this case it would be a UX thing that would genuinely be of benefit to users, and clearly wouldn't be intended to manipulate search rankings at all. Is there a way of acheiving this "personalisation" in such a way that Google understands thay you are doint it? I am thinking about some kind of markup that "declares" the different versions of the page. Basically I want to be as transparent about it as possible so as to avoid un-intended consequences. Many thanks indeed!
Technical SEO | | unirmk0 -
Is "commented out" text still read by the SEs?
A site I reviewed was showing up in Google rankings for key phrases specific to a city, however the page that was showing up had the 'city' key phrases commented out. Does Google still read and utilized commented out text? Or is it more likely that the page in question got indexed before the key phrases were commented out and it's just still appearing for the related search queries?
Technical SEO | | MLTGroup1 -
How Google can interpret all "hreflag" links into HTML code
I've found the solution. The problem was that did not put any closing tag into the HTML code....
Technical SEO | | Red_educativa0 -
Meta data & xml sitemaps for mobile sites when using rel="canonical"/rel="alternate" annotations
When using rel="canonical" and rel="alternate" annotations between mobile and desktop sites (rel="canonical" on mobile, pointing to desktop, and rel="alternate" on desktop pointing to mobile), what are everyone's thoughts on using meta data on the mobile site? Is it necessary? And also, what is the common consensus on using a separate mobile xml sitemap?
Technical SEO | | 4Ps0 -
"Fourth-level" subdomains. Any negative impact compared with regular "third-level" subdomains?
Hey moz New client has a site that uses: subdomains ("third-level" stuff like location.business.com) and; "fourth-level" subdomains (location.parent.business.com) Are these fourth-level addresses at risk of being treated differently than the other subdomains? Screaming Frog, for example, doesn't return these fourth-level addresses when doing a crawl for business.com except in the External tab. But maybe I'm just configuring the crawls incorrectly. These addresses rank, but I'm worried that we're losing some link juice along the way. Any thoughts would be appreciated!
Technical SEO | | jamesm5i0 -
Does google "see through" php/asp redirects?
A lot of the time I see companies employing a technique like this: <a target="_blank" href="/external/wcpages/referral.aspx?URL=http%253a%252f%252fwww.xxxx.ca&ReferralType=W&ProfileID=22&ListingID=96&CategoryID=219">xxxxxa> Or similarly with php. In an attempt to log all the clicks that exit their site from certain locations. When google bot comes along and crawls this page, does it still understand that this page links to www.xxxx.ca?
Technical SEO | | adriandg0 -
Should we use "and" or "&"?
Our client has an ampersand in their brand name. The logo has "&", their url is spelled out. I'm trying to get them to standardize the use of the name for directories/listings. Should we use "and" or "&"?
Technical SEO | | vernonmack0 -
I can buy a domain from a competitor. Whats the best way to make good use of these links for my existing website
I can buy a domain from a competitor. Whats the best way to make good use of these links for my existing website
Technical SEO | | Archers0