Most voted "link" questions
A link (or hyperlink) is a hypertext element with the function of transferring navigation to another resource or page. In HTML, anchors are used (tag <a>) to create hyperlinks.</a>
Learn more…160 questions
Sort by count of
-
11
votes2
answers51084
viewsSliding effect on anchor links
I have a page Onepage and the anchor links of the menus when clicked them only "jump" to the screen section further down, but I wanted them to slide smoothly up to the intended anchoring section. I…
-
10
votes2
answers14697
viewsWhy does the address of some sites contain number after www?
Why are there urls that contain some number after www? (www1, www3, www12) What does this influence? It is possible to create a link like this? Ex: http://www1.folha.uol.com.br…
-
10
votes2
answers327
viewsWhen to use underlining in web hyperlinks?
When I got on the web everyone hyperlinks were underlined. After this was no longer used, practically no longer used anywhere. Is there a reason not to use it anymore? Do you still have a situation…
-
8
votes3
answers1076
viewsIs anchoring a TR possible?
It is possible outside an element tr link some address as below? <a href="www.enderecodesejado.com.br"></a> If it is not possible, Javascript would solve this or better forget? I have…
-
8
votes2
answers176
viewsWhat is the forecast to support importing text/html content into modern browsers using the link tag?
Recently I came across the current TAG documentation <link> on the website W3.org - http://www.w3.org/TR/html-imports where you specify that you can import content with mime-type text/html, ie…
-
7
votes1
answer15634
viewsOpen Facebook app by a web link on Android
I have a mobile site that the user can only access by logging in with Facebook. O SDK Facebook para Web (Javascript) works well, but the user always has to log in, because he is not always logged in…
-
7
votes1
answer132
viewsHow to prevent pseudo-element (:before or ::after) within a <a> tag from being clickable?
Is there any way to prevent pseudo-element ::after or ::before one-link <a> become part of the link itself? My idea was to use one ::after in a link tag <a>, that ::after would be used…
-
5
votes4
answers169
viewsWhich way can I use regular expression to capture just a few link attributes
I need a basic example(s) of how I can make a tiny script to pick up only the contents of(s) attribute href. I’ll simplify the explanation into two groups, it’s them: To and B In the Group A we have…
-
5
votes1
answer232
viewsRedirect to previous page: PHP vs. Javascript
What is the most advantageous way to make the user return to the previous page. For example, in Frond-end would look like this: <a href="window.history.back()">Voltar</a> Already in the…
-
4
votes3
answers481
viewsHow to make preventDefault links at the angle?
I’m using a function called with ng-click, via a link (Anchor). However, because of the hash #, the page is "skipping" every time I click on this link. This is my code: <a…
-
3
votes2
answers1347
viewsHow to create a fixed link in wordpress?
I am implementing a site in html static for wordpress, are not all pages that need the cms to manage the content, my problem is the following! I cannot create a Menu link to a static page or any…
-
3
votes1
answer4920
viewsSmooth link anchor scrolling
The following JS aims to promote smooth scrolling when we click on anchors on a website one-page. There is how to restrict its performance only with resolutions higher than 760px?…
-
3
votes1
answer302
views"Run/Fly" Image by Site
How do I make a "Fly" or "Run" image by myself through my website? I’d like to put on my website a kind of "Puzzle", a Mystery. I will want to put a link in the Image. It has to be a little quick to…
-
3
votes4
answers1739
viewsExpire php link
I wonder how I do to expire a link after a use. We have a password recovery system that sends an email to recovery that is working perfectly. In this case, if the link is not opened in 30 minutes,…
-
3
votes1
answer1764
viewsClick on a link go to another page and show the desired id
Well, I need to make sure that when clicking a link from one page go to another and only show the content of the id indicated on the first page, can you do this? I’ve searched a lot of places and I…
-
3
votes2
answers1471
viewsHow to automatically link to words with javascript?
If the page contains the words "contact", "help" and others.. turn them into a link: <a href='http://meusite.com/pagina1.html'>contato</a> <a…
-
3
votes1
answer603
viewsHow to upload using PHP image in link BLOB?
I’m using a Github (xkeshi/image-compressor) project that compresses images using Javascript. It generates a download of the compressed file with the following link for example…
-
2
votes1
answer191
viewsLink opening in a new window
I have an image, which is a link to the index(home) page. It turns out that when I click on the link, the browser opens another window, but it should still open. How do I resolve this? Below my…
-
2
votes1
answer136
viewsHow to set `href` on a link in Knockoutjs?
I’m starting with Knockoutjs and would like to know if you have how to attach a link received by AJAX/JSON in a tag <a href="meu link aqui">Meu link</a>. HTML: <div data-bind="text:…
-
2
votes1
answer454
viewsCreate link with form data
I have an external search site ready where the search results generate a link similar to this: http://example.com/pesquisa?utf8=✓&search=itempesquisado&x=0&y=0. I would like to create a…
-
2
votes5
answers25953
views<input type="image" ...> with LINK and HOVER
I can not put an effect on a button, I have 3 images made in photoshop, one that is Normal (Link), another when you pass the mouse (Hover), and one when you click (Actived), however, I can not…
-
2
votes1
answer1407
viewsOpen links from iframe
How to prevent Iframe links that have the property target="_blank" and open these links in another iframe only on the same page? Example: Content of Iframe1: <a href="http://t.co/YJdEOEu8Dz"…
-
2
votes2
answers3134
viewsCheck if a link is active or broken
I wonder how I can use PHP to check if the link of download of servers such as Mega, Google, Filehero and others are active if they are not presenting the result of offline link. In this case URL…
-
2
votes2
answers2104
viewsHow to camouflage a page link
example I see many pages creating a file m3u and hosting but if you try to paste address in the browser to download the file the page redirects without downloading or show the file to another page.…
-
2
votes4
answers306
viewsHow to link to table?
I have a Table in PHP and in each tr I need a link <?php $con = mysqli_connect("localhost","root","", "saber"); mysqli_set_charset($con,"utf8"); $result = mysqli_query($con,"select id,nome,vista…
-
2
votes1
answer3577
viewsIs it possible to add a contact on the phone via code?
In a list of users on a mobile system it is possible to have a button that adds the contact on mobile ? Would be a button ADD that, when clicked, appeared that Android contact add screen, for…
-
2
votes1
answer1067
viewsFind out python link
I’m making a Scrapping web in python and sometimes I come across some links and/or Buttons that are not with the real address of the url so you will be redirecting if you click. In this case, if I…
-
2
votes3
answers117
viewsFunction on the hyperlink
I am running a function on the hyperlinks of my system, as shown in the code below: <md-menu-item ng-repeat="insumo in insumos"> <a href ng-click="verificar('mostrarInsumos',…
-
2
votes1
answer99
viewsHyperlink that when clicked open a particular application and if it is not installed, open the link of the same in Google Play?
The application in the case is the Telegram and it works with a simple system of reference to users, channels, groups. I would like to click on hyperlink (clickable textView) which has the user link…
-
2
votes0
answers148
viewsMarkdown - Links in page
With markdown the link in page: * [Minha localização](#minha-localização) points to ## Minha localização In the title, markdown automatically inserts the id="minha-localização" (accented), but when…
-
2
votes1
answer39
viewsImage on top of links
Good afternoon, you guys. I made a navbar and in the center put an image, only that in that image is on top of the links in the navbar, already tried some things like z-index but no objective…
-
2
votes1
answer3724
viewsHow to link files in different folders?
I’m having difficulty making a link between two HTML pages, the hierarchy of the folder is this: I want to link the file: J: Totem_app XPLACES acess cid_vitoria 1_acru.html that has a button in your…
-
2
votes1
answer2144
viewsButton to force Download without showing your way
Hello, I have a main html site meusite.com that can be found by the search engines' robots and made meusite.com/download.html with these parameters<meta name="robots" content="noindex, nofollow,…
-
2
votes3
answers1008
viewsHow to put a link inside a String?
How do I place a link inside a string? var results = [ { text: "Quero colocar um link aqui exemplo <a href="#"> Link </a>"; },
-
2
votes2
answers144
viewsProblem with Carousel HTML AND CSS
When I click on the link that directs me to the respective slide, it’s kind of anchoring and sliding the page down a little bit, how do I get it to slide without html understanding that as a link…
-
1
votes1
answer1124
viewsLink to a div on another page does not work
I have this code: <div id="text"><p>A Intertráfego está disponível a ser alcançada a qualquer momento. Saiba <a href="pedir_cotacao.html#map">onde estamos</a> e <a…
-
1
votes2
answers2001
viewsCreate a link with data and go through post
I do not know if it is possible, but I would like to create a link (or simulate one) where I need to pass data to the page of this link, but I would not like to pass this data by get rather than by…
-
1
votes1
answer1134
viewsManipulating links with accents
I am capturing news links posted on a particular site using the following code: function academia(){ function makeNews(res){ var soup = $(res.responseText).find('div [class~="tileImage"] h2');…
-
1
votes1
answer383
viewsPassing value from one view to another view - PHP
Guys, I need to pass a value from one View to another View, in case an ID. For example: In the Main View I have a list of vacancies, when I click on one of the vacancies will load the second View…
-
1
votes2
answers2410
viewsOpen link to facebook in iOS Safari
Setting: I own an app, which has a link to a particular page on facebook. When the user clicks on the link, it should be directed to the page and load it with Safari. But if you have the Facebook…
-
1
votes1
answer681
viewsHow to change the src of a <script> using jQuery
How can I change the value of the attribute href of a <link> and of src of a <script>. Real problem, I have two screens that are at different levels (different folders), where both are…
-
1
votes1
answer57
viewsLink does not click in small dimensions
I’m having a problem with the links (<a href=""></a>) because on normal screens (desktops) it is normal as it should be, now when the resolution is lower type mobile or tablets, the link…
-
1
votes1
answer1269
viewsOpen external link in Windows Media Player
I have an offline HTML page that contains a link to a video MP4, I would like that when you click on that link, open the Media Player or other software that you have installed and preset on the…
-
1
votes1
answer4355
viewsLink does not work when clicked
I have this code from a menu and when clicked on the item Bio the link does not work: <ul id="ul-menu"> <li class="li-menu"><a class="scroll"…
-
1
votes1
answer193
viewsProblem with HTML link with classic ASP
The following piece of code is giving me trouble: While not rsQuery.EOF If vStrCurso <> rsQuery("SIGLA") Then ind = ind & "<p></p>" ind = ind & "<span><b><a…
-
1
votes2
answers143
viewsJavascript does not take clicked link with the same ID
I am putting a script to copy the link to clipboard using the plugin ZeroClipboard. The problem is that I have a list with several links that comes from MySQL. And in the loop of the list comes…
-
1
votes1
answer9335
viewsHow to create html links that are directed to specific points on the page itself?
Lately I’ve noticed a few pages on html even being offline had links that directed the user to specific points of the page itself and would like to learn how to do this on Notepad++.…
-
1
votes2
answers791
viewsHow to create anchored links and darken all the rest of the page’s content except the intended section?
Here’s what I wanna do: <div id="ponto0"><a href="#ponto1"> Link </a></div> <div id="ponto1"> conteudo </div> By clicking on the link href="#ponto1" the person…
-
1
votes1
answer6725
viewsPHP - How to insert a variable link into a variable href?
I’m trying this way: <?php $link = "'index.php?id=echo ['post_id']; " ?> <?php while ($row = mysql_fetch_array($result)) { echo "<span class='survey-name'><a href='$link'>".…
-
1
votes4
answers168
viewsHow to redirect url with htaccess out of the domain?
I own a domain www.dominio.com.br. On a given page, I need to put a link to the customer’s google+ . I’m using: a href="www.google.com" target="_blank" For testing, and what is happening is that…