Tag Archives: HTML

How to Link Text in HTML

OK, I know this is dumb. But mainly this post is for me. When I write things down, and especially in a public facing place like a blog, it helps me remember. Which goes to one of my tenants:

A blog can simply be a repository of things you want to remember, and if that thing isn’t something private, it might possibly be also helpful to someone else.

It’s kind of like that teaching is really a way for the teacher to remind themselves, or ditto for writers, although writers often have the extra benefit of learning while they write. One of the best arguments for writing is that (for folks who are “readers and writers” as opposed to “Talkers and Listeners”) writing is the best educational instrument there is. Writing is the best, most efficient way to learn.

Anyway on to the subject.

How to Link Text in HTML

You simply wrap your text with the “a” tag in this code:

<a href=”insert your link here“>this would be your text</a>

Simple as that, but today I had to “hot” link some text, and I wrote href=”” and forgot the “a” tag. Had to “Google” the code for the billionth time. Sick of that. Felt like I needed to remember simple code that I use all the time without having to Google it all the time. So you see linking is essentially an “a” tag with that little “href=” bit added in there also you must make sure your link is in quotation marks.

So here’s for helping me learn writing and blog. Maybe one day I can learn the code to make this blog look prettier and sparkle!

Have any questions? Who knows, if I can figure out your problem, maybe I’ll learn something.