How to Create HTML Tags for Links

By Dicky Leonardo

Rate: (0 Ratings)

Creating a link in HTML is a fairly easy step.

Instructions

Difficulty: Easy

Things You’ll Need:

  • Notepad
  • Webhosting account
  • FTP program (I recommend CuteFTP)

Step1
Open up your notepad or any other HTML editor of your choice. If you use HTML editor, make sure you are in the edit mode since we want to see the HTML tag.
Step2
Since eHow won't allow HTML tag then I will replace smaller and greater than symbols with curly braces. An HTML page always begin with {HTML} tag then there will be a {HEAD} and {BODY} tag, make sure you have the enclosing tag too. So put this in your notepad/html editor:

{HTML}
{HEAD}
{TITLE}My links{/TITLE}
{/HEAD}
{BODY}

{/BODY}
{/HTML}
Step3
Now we want to put our link in the body. HTML tag for link begin with {a href=""} tag. Inside the quotes will be the link you want the browser to go when they click on the text. Say that you want to have a link to Google website then you want to add this tag inside betwen the {BODY} tag.

{a href="http://www.google.com"}Google Homepage{/a}
Step4
Once you append the code inside the body tag then you will have the full code as follow:

{HTML}
{HEAD}
{TITLE}My links{/TITLE}
{/HEAD}
{BODY}

{a href="http://www.google.com"}Google Homepage{/a}

{/BODY}
{/HTML}
Step5
Now save the file as "index.html" (without the quotes). Remember where you save the file.
Step6
Double click on the file and your default web browser (IE/Firefox) will launch and display the page.
Step7
If you want to publish the page then you need to use FTP program and upload it to your hosting account.

Tips & Warnings

  • If you update your page but it doesn't display the changes in your web browser, press CTRL + F5 in your browser to "force refresh" the page
  • Remember to replace open and close curly braces with smaller and greater than symbol
  • Make sure you have close the bracket, tag and quotes properly otherwise it will give you a weird looking page

Post a Comment

POST A COMMENT

Request a New How-To Article

Looking for more How To information? Chances are there’s an eHow member who knows how to do what you’re looking to do. Submit an article request now!

eHow Article:  How to Create HTML Tags for Links

eHow Member: Dicky Leonardo

Dicky Leonardo

Authority Authority | 4113 Points

Category: Internet

Articles: See my other articles

Related Ads

Internet

Veesites
Meet Virginia DeBolt eHow’s Internet Expert.