What does href do in html




















Active 7 years, 9 months ago. Viewed 17k times. Improve this question. DarthVader DarthVader My guess is, on it's own, nothing. The site probably makes use of the ID to do something with JS, like load a specific colour scheme randomly? DarthVader if possible give more details — Arun Chandran C. Add a comment. Active Oldest Votes. Improve this answer.

Jukka K. Korpela Jukka K. Korpela k 33 33 gold badges silver badges bronze badges. This does actually absolutely nothing except staying on the same page. Community Bot 1 1 1 silver badge. Jerska Jerska DarthVader Edited to answer that question. No I was not.

It's then just a reminder, and the link is here for the coder. The css stylesheet will obviously not be loaded, because not existing. When I wrote "show links", it's was not only client-sided. Very true, no disagreement there. Provides a nice placeholder though. Probably some stylesheet that is to be loaded later on. Gustav Gustav 1, 1 1 gold badge 12 12 silver badges 24 24 bronze badges.

Rubyist Rubyist 6, 8 8 gold badges 47 47 silver badges 83 83 bronze badges. This doesn't answer his question — naththedeveloper. TomCollinson TomCollinson 44 2 2 bronze badges. Swarnamayee Mallia Swarnamayee Mallia 1, 12 12 silver badges 11 11 bronze badges. Vinit Kadkol Vinit Kadkol 1, 11 11 silver badges 11 11 bronze badges. Aravind Aravind 9 9 silver badges 21 21 bronze badges. HTML href attribute works based on which href tag we are using.

All available href tags purpose is the same for accessing web URLs, but there is a slight difference. Have you ever think about how would we access this website URLs? Because of href tag we can access any website URLs. This is a guide to the href tag in HTML. Submit Next Question.

By signing up, you agree to our Terms of Use and Privacy Policy. Forgot Password? This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy.

Popular Course in this category.



0コメント

  • 1000 / 1000