In order for Google to recognize a hyper-link on your website, does it have to be written in a specific java script?
-
Does it have to read as the following script?
-
Not a problem I find that all too often, if the question is a bit ambiguous - people will ignore it. If there are only a handful of interpretations, I will still try to answer
-
Thank you, that was extremely insightful and helpful.
-
Just so you are aware, the code-sample which you supplied is HTML and not JavaScript (or for that matter, any type of script. Scripting languages include JavaScript, Python, Ruby, Perl etc).
You may be asking one of two things (I think!):
1) Is there a set HTML format for hyperlinks which Google knows how to read?
Yes, and you can find **information all about ** conventional use of the <a></a><a>(HTML) tag here:</a>
<a></a>
<a></a>
HTML is a static language and is not (unlike many scripting languages) 'object oriented'. You don't define "<a>" and as such</a> <a>is not interpreted based upon your programmed parameters.</a> <a>always means the same thing (to a a web browser). Sure stuff like CSS can style links in different ways, JavaScript can modify</a> <a>tags by injecting event-tracking attributes etc (also a common use of jQuery) but fundamentally the usage of</a> <a>is</a> <a>(mostly) universally agreed. So yes - links are coded according to conventions and Google will interpret those widely accepted conventional use-cases, as well as a few more experimental deployments (possibly through error handling in Google's algorithms). In general, you should follow W3C / W3 Schools guidelines. There are many forms of link (no-followed links, text links, image links) and all are valid but yes - they are predetermined</a>
<a>2) This is the HTML which my JavaScript will output - is it ok?
Yeah it's fine dude. If you can handle JS, you can handle HTML (it's way simpler). One thing though, although Google can deploy rendered (JS-enabled) crawling, that involves using headless browsers and such to render the 'modified' source code (so, what you see in 'inspect element' is the modified source. What you see in "view page source" is different, that's the pre-modified or base-source code).
Usually speaking this takes 10x longer than simple DOM / base-source scrapes. As such if Google were to deploy that tech on every crawl for every page on the web, the efficiency hit to their 'index the web' mission would be colossal. Many studies show that Google will not render JS on all sites (especially one perceived to be low value). Even on sites where they will use this tech, they won't deploy it all of the time. There really is no substitute for forcing your links and content to be readable in the base-source code (un-modified). It's way better for crawlers, way more efficient for them to work with. Just because Google ' can' do something, it doesn't mean they always will. It doesn't mean it's a good idea to ignore basic SEO principles!
Hope that helps</a>
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
-
Will short linking to my site affect SERPs attribution of inbound link?
Some brand partners are using their short links to link back to our site (like bit.ly but they have their own). They have a high domain authority and trust so we want that link back to be read by Google. When I downloaded all inbound links from Moz, this brand's site was not listed, making me worried that the inbound link isn't being seen or considered! Haven't been able to find any info on this...
Link Building | | PAC31350 -
Link building strategy - my weak link!
Please help me understand link building. I've read the articles on Moz, but they seem vague to me. Specific questions: 1. How do I get my webpage on good quality sites? 2. Guest blogging? Good or not? 3. What about when people pick up one of our blog stories and publish it on their site with a link back? Is that bad now because it is duplicate content??? 4. Forum posts with a link in the signature? Good or not? 5. Directories - I get it that these are no longer good... are they severely negative? Should I take them down. 6. PR - Looks like this is bad... right??? 7. Youtube - any value? 8. Pinterst, LinkedIn, Twitter, Facebook, Instagram? Any value to backlinks here? 9. What about sites like redit? 10. Anything else I should consider?
Link Building | | CalicoKitty20000 -
Is there any link building value to design showcase websites?
I am interested to hear people's opinions on this. We are launching a microsite that is for branding purposes only, no real SEO strategy beyond optimizing for branded terms on it. However the design of the site is strong in my opinion. I think it could get picked up by "sites of the day" websites, showcases, galleries, etc. Would there be SEO benefit of in being featured on those sites since they tend to be curated lists of only the best sites and therefore editorial links? Or is there danger of those not being seen as quality links that could get you into trouble?
Link Building | | IrvCo_Interactive0 -
Link Relevance vs Link Authority ?
Hi guys, I have a quick question regarding some low quality links my site is getting. From the information in Open Site Explorer, the website Im talking about has a page authority of 16 while the domain authority is 11\. These are very low quality scores in my oppinion and Im thinking of removing them with Google Disavow Tool. The thing is that, although the domain is low quality, the links have relevance as they're in the same business sector as us. More exactly, the name of the domain is taxisavona and the company I work for is also a taxi company. So, now I`m thinking, should I disavow the link because of it's low scores or should I leave it because it is relevant to our business ? Thank you in advance! Best regards, Tiberiu Iavorenciuc
Link Building | | Tiberiu0 -
Is it worth it to link to sites that link to you in guest posts?
Suppose you published a guest post on a quality site and you link to a previous guest post you have written for another site (which links to you). In theory you could send link juice to the page that links to you for a second order effect. Has anyone seen results from this tactic?
Link Building | | ProjectLabs0 -
Is there a tool available to identify whether you already have a link for a specific blog/website?
Hi there, There are a couple of us in the office that are involved in link building - and sometimes it's difficult to keep track of where everybody is trying to build links. Does anybody know if there is a tool available where users can input both website addresses to check whether you already have a link from the desired website? Thanks in advance for your help.
Link Building | | James770 -
Links to my website don't show up on OSE
Hello folks, I made some links to my website: www.mediavatar.com.br , but on OSE it doesn't appear. Such as: http://www.meusdownloads.com.br/p.jsp?ppID=0128 Why this above link does not appear on OSE? Probabbly its a newbie question, but my knowledge about link building is not that much. Thanks.
Link Building | | augustos0 -
Panda Update: Isn't a link still a link?
I was doing some link building and some SEO's said that the Panda update affected many websites. I am going to use eZineArticles.com as my example. EzineArticles was affected by the Panda update and does not show up in the SERPs as much as before. But they still have doFollow Links coming from the articles I am submitting. QUESTION: Regardless if EzineArticles was affected by the Panda Update, isn't a "Follow Link" still a "Follow Link" OR am I completely wasting my time on this devalued website? Edit: Yes I know a PR 0 page is not as valuable as a PR 9 page. I am asking from the standpoint of the affected Panda Update domains overall.
Link Building | | Francisco_Meza0