To make a link yourself, start with the a tag, both the starting and end tags.
Begin: <a>
End: </a>
As you might have noticed, the end tag has a / added.
Now you put the attribute href in the starting tag.
There should be a space between the a and the href
We now have
<a href></a>
We tell the browser to go… somewhere.
To make it go somewhere however, we need to put in a destination.
The destination in our example is this website’s “example” page.
To tell the browser that, we put the http:// in there first, so your browser knows it should go to a location on the internet.
As href is a sort of function, that can have different values, we have to put in an = to tell the browser what the value is.
Values are placed between ” “.
In our link, the “value” is the internet address that is the target, or destination, the http:// included.
We tell the browser where to go to:
clickanotherlink.wordpress.com/example
We now have
<a href=”http://clickanotherlink.wordpress.com/example”></a>
We now have the link itself, but it isn’t clickable as yet.
We now can, however, make it clickable by putting in any text we like!
Any text?
Yes, any text.
The text goes
<a href=http://clickanotherlink.wordpress.com/example>here</a>