<a href="url">link text</a>
<a href="https://www.google.com/">Link to google</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="https://app.revature.com">Visit our learning platform</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>
<a href="mailto:mhmd.shrydh1996@gmail.com">Send me Email</a>
<a href="link">Title of link</a>
<!-- Change link, change link title, add target="_blank" in anchor tag(<a></a>) if you want it to open in new tab. -->
<a href="https://htmlg.com/" target="_blank" rel="nofollow">Click here</a>
<a href="enter the link in here" title="enter the mini title">enter the title of link</a
Code Example |
---|
Html :: how to add number input field with default value |
Html :: cross site scripting |
Html :: name attribute in html |
Html :: html how to start a page |
Html :: how to use unicode in html |
Html :: html marquee tag |
Html :: html select color |
Html :: website in html |
Html :: html tooltip attribute |
Html :: cant pass multipule select input bootstrap |
Html :: html5 audio |
Html :: registration form bootstrap |
Html :: svelte if block |
Html :: a tag download csv save download |
Html :: bulma cdn |
Html :: html table prevent text wrap |
Html :: vue-date-pick |
Html :: How do I change the default text in dropzone.js? |
Html :: ion select |
Html :: vue js v-for array index |
Html :: bootstrap navvar |
Html :: HTML <article Element |
Html :: bootstrap hamburger |
Html :: what is span in html |
Html :: input type options html |
Html :: email validator hmtl |
Html :: divs in html |
Html :: load a html page inside another |
Html :: mobile navigation bar |
Html :: attribute select option html |