HTML rel Attribute


Senzon
Member
Registered: 25.05.12 19:13
Timezone: UTC +3
Posts: 17

I'm working on making a website and I was wondering if anybody knows anything about the rel attribute in HTML? I want to make my site very search-engine-friendly so I have better SEO, and it seems like using the rel attribute is one way to do that, but I'm unsure about what the benefits are of adding rel attributes to anchors and link tags.

Also I was looking up rel="next" and rel="prev" and I'm a bit confused about it. Some places seem to say you can only use them on <link> in the page head, but some places say you can use it on <link> and <a>. Does it do anything for search engines on <a> tags?

I'm also confused about rel="author". It looks like it's just a google+ thing, but some sites I saw made it look like you can just add it to links to a person's profile page.

Is there anyone experienced with SEO and/or web development who can clarify the rel attribute?

Thanks in advance,
Senzon


FakeMessiah
Member
Registered: 15.01.12 20:07
Timezone: UTC +2
Posts: 14

Not going to write long responce cos posting this from phone, but you should take a look at what w3schools tells about rel

i.imgur.com/JJQwa.png


ynori7
Administrator
Registered: 24.08.11 12:16
Timezone: UTC +2
Posts: 130

I don't know anything about those specific rel tags, but I don't think they're really important for SEO (at least not at the moment anyway). It looks like they were just ideas that search engines had to improve crawling.

I think the only one that really does anything is rel="nofollow" to prevent a crawler from crawling a link. You want to use that because when you're fairly high-ranked, linking to low-ranked sites can hurt your ranking.

i537.photobucket.com/albums/ff338/ynori77/archenemysig1.jpg