Answer the question
In order to leave comments, you need to log in
How to make an analogue of nofollow for a button?
Hello! In html , the rel=nofollow attribute is used
to prohibit the indexing of a link in a tag .
If a button ( ) is placed on the page and a click on it is processed by JS, redirecting to the page with the command<a>
<button>
$( ".button" ).on( "click", function() {
window.open("http://externalSite.ru/", '_blank')
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question