<a href="http://example.com" >Link text</a>
<head>
<link rel="stylesheet" type="text/css" href="theme.css">
</head>
<a href="https://www.google.com/">Google
Actually href is a html attribute, which is used for passing page url to the a tag.
Example
<a href="url">Click here</a>
<!-- This is how you use a <a> tag in html -->
<a class="nav-link" href="Story.html">Story</a>
<!-- href is an "attribute" in html used in <a> tag etc..-->
<a href="https://dg-games.godaddysites.com">WEBSITE</a>
<link rel="stylesheet" href="./styles.css">
<a href="#"><!-- The "#" to be replaced with filename or website address -->Go Somewhere</a>
<!-- this href tag link to the top of the current page -->
<a href="#">text</a>
Code Example |
---|
Html :: one image html |
Html :: input field with add button that creates another input |
Html :: transparent navbar |
Html :: change css angular binding |
Html :: html input invalid |
Html :: ignor < in html |
Html :: The <select Element |
Html :: html table prevent text wrap |
Html :: how to make common header and footer in html |
Html :: replit iframe |
Html :: boostrap input tag |
Html :: how to make email required in html |
Html :: JSPL loop through map keys |
Html :: loading screen svg and css animation |
Html :: react select, option |
Html :: remove extra space in code html |
Html :: h2 in html |
Html :: twig lower |
Html :: group checkbox html |
Html :: how do you make a link to the top of a page |
Html :: html <input |
Html :: how to call html.action in asp.net core |
Html :: divs in html |
Html :: html elements list |
Html :: drag and drop angular |
Html :: html title tag |
Html :: emoji css |
Html :: tag field |
Html :: soundcloud player html5 |
Html :: how todownload exe file html |