Answers for "html a href example"

20

html a href

<a href="http://example.com" >Link text</a>
Posted by: Guest on May-16-2020
1

html links

<!-- How to link to a website? -->
<a href="url"> Some text... </a>


<!-- How to create a link to another file? -->
<a href="path to de file"> Some text... </a>


<!-- How to create a link to a subsection within the document? -->
<!-- Example: object to which we want to jump to: -->
<h1 id="some id"> Title </h1>
<!-- linked text: -->
<a href="#some id"> Some text... </a>


<!-- How to associate a link to an image? -->
<a href="url">
<img src="path to image" alt="" style="width:42px;height:42px;">
</a>
Posted by: Guest on July-29-2020
0

a href code

<a href="link">Text</a>
Posted by: Guest on March-09-2020
3

a href

<a href="#"><!-- The "#" to be replaced with filename or website address -->Go Somewhere</a>
Posted by: Guest on June-24-2020

Browse Popular Code Answers by Language