Top "Anchor" questions

An anchor (<a>...</a>) is a HTML element used to define the link between the current element (the anchor) and the destination (URI).

Smooth scrolling when clicking an anchor link

I have a couple of hyperlinks on my page. A FAQ that users will read when they visit my help …

javascript jquery scroll hyperlink anchor
How to open link in new tab on html?

I'm working on an HTML project, and I can't find out how to open a link in a new tab …

html hyperlink anchor browser-tab
How can I create a link to a local file on a locally-run web page?

I'd like to have an html file that organizes certain files scattered throughout my hard drive. For example, I have …

html anchor local-files
Make a div into a link

I have a <div> block with some fancy visual content that I don't want to change. I want …

css html xhtml anchor
How can you check for a #hash in a URL using JavaScript?

I have some jQuery/JavaScript code that I want to run only when there is a hash (#) anchor link in …

javascript jquery anchor fragment-identifier
offsetting an html anchor to adjust for fixed header

I am trying to clean up the way my anchors work. I have a header that is fixed to the …

javascript html css anchor offset
How to remove the default link color of the html hyperlink 'a' tag?

The default link color is blue. How to remove the default link color of the html hyperlink tag <a&…

html css anchor html-helper
HTML anchor tag with Javascript onclick event

On using Google I found that they are using onclick events in anchor tags. In more option in google header …

javascript hyperlink onclick anchor
How to scroll HTML page to given anchor?

I’d like to make the browser to scroll the page to a given anchor, just by using JavaScript. I …

javascript jquery html scroll anchor
Select <a> which href ends with some string

Is it possible using jQuery to select all <a> links which href ends with "ABC"? For example, if …

jquery string anchor href