Questions tagged [hyperlink]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
62
votes
8answers
69k views

Anchor tag inside <h1> or <h1> inside anchor tag: which is better?

I am trying to use <h1> tags on my blog for the post title and came across one problem. Title is hyperlinked. Case 1: <h1> <a href=""> xyz </a> </h1> case 2: <a ...
6
votes
3answers
937 views

Can a <link /> element's href attribute be relative?

Can I use: <link rel="alternate" hreflang="en" href="?l=en" /> to link pages with different languages for SEO (recommended for example by Google)? Can that URL be relative as in the example ...
10
votes
1answer
1k views

Internal links to pages vs. sitemap.xml links to pages

I have a page that is not linked to from anywhere, but it is listed in sitemap.xml. It will be crawled and display in the SERP. Would it be preferable, from a SEO perspective, to have the page ...
5
votes
2answers
3k views

What if using rel=“dofollow” and rel=“nofollow” together for a link?

How does google consider these links? for example : <a href="url" rel="nofollow" rel="dofollow">text</a> Is it a dofollow link or nofollow? Which one has more priority over the other one?...
4
votes
1answer
1k views

Does Googlebot crawl items that look like URLs in HTML5 data-* attributes?

Google is discovering some URLs in GWT which I'm surprised it could discover. The only place these are linked from are as follows: <li class="multiselect__item" data-key="filter__brand--...
1
vote
1answer
70 views

hreflang tags for language folders (in URL) - only when content is translated?

An SEOer that has some experience with TLDs and language folders told me the following: If you use language folders in site (like example.com/en/, for all English pages), I should also give hreflang ...