<a href="link" > name of the link </a>
<a href="url">link text</a>
<a href="link.html"> text link </a> <!-- link to html -->
<a href="google.com" URL> Google </a> <!-- link to site -->
<a href="link.html"><button> Link </button></a> <!-- Button link -->
<a href="www.google.com">Google</a>
<a class="class" href="link" id="id">Text</a>
<!--Short for “anchor” tag, the "a" tag is simply a link! The attribute you MUST have
for it to work is the href= (short for hyper reference) attribute, the value is a url (link)
to the website you will redirect your users to. An example of the a tag is:-->
<a href="https://www.w3schools.com/tags/tag_a.asp">Click me!</a>
<!--Like the img tag, the link can be relative or absolute but instead of linking to an image,
you link to the url! The target= attribute specifies if the url should be opened in a new tab
(_blank), the current tab (_self, by default), etc (these are target attribute values).
Example:-->
<a href="https://www.w3schools.com/tags/att_a_target.asp" target="_blank">
<!--The example shows that the a tag will link to the url (which is a tutorial on target
attribute) in a new tab because the attribute value is _blank!-->
<a href="URL">Text</a>
<a href = "url.png"> Text that is shown</a>
<!-- Website Link -->
<a href="URL HERE">Click here!</a>
<!-- Another html file link (if it's in the same file) -->
<a href="[YOUR FILE].html">Page 2</a>
Code Example |
---|
Html :: centering in html |
Html :: mailto in html |
Html :: how to write 2 class in html |
Html :: how to add underline in markdown |
Html :: html how to move element to the bottom right of page |
Html :: change font size of h1 in html |
Html :: how to include the trademark symbol in html |
Html :: trash icon html |
Html :: link to external site html |
Html :: how to write code in html |
Html :: angular 2 input file change value |
Html :: placeholder in date input html |
Html :: address tag in html |
Html :: span html |
Html :: html fieldset |
Html :: filled input in form |
Html :: tag img |
Html :: how to increaase font size on html |
Html :: metadata |
Html :: bootstrap starter code |
Html :: show google map in html |
Html :: how to call a script from another script in javascript |
Html :: html bitcoin symbol |
Html :: del html |
Html :: readme.md relative link |
Html :: datatable src |
Html :: html left quote |
Html :: difference between tag and element |
Html :: modal pop up html css |
Html :: Uncaught TypeError: Bootstrap |