Email or username:

Password:

Forgot your password?
Top-level
Dan Fixes Coin-Ops

So here's how you make a link in HTML:

<a href="improbableisland.com">Click here to play Improbable Island, my text game</a>

So the "a" there is shorthand for "anchor," which I guess is what links were called for the five minutes between having the idea and deciding the spec and someone coming up with a better name. The "href" bit is where the link goes. The bit in between > and </ is the link text, and </a> means you're done talking about a link.

2 comments
lizard appreciator

@ifixcoinops specifically re: "anchor", the "link" was originally the connection between two anchors, which is why you can link to a named anchor by putting the name in the fragment part (after the octothorpe/hashtag) of a URL

Darius Kazemi

@bonzoesc @ifixcoinops yes! specifically, an "anchor" in real life is a thing that a chain link hooks on to on either side. So in graph terms the "anchor" is the node (which is what you are defining with <a>) and the link itself is the relationship or edge between the nodes. Of course it makes more sense when links are bidirectional...

Go Up