Free Tutorials | Certifications | Definitions | LearnthatQuick | ExplainThat | Links | Forums  
Learnthat.com Free Certification and Computer Online Courses
HomeFree Online Courses and TutorialsLearnthat.com Certification ResourcesWhat is definitions, Define technical termsFree Tutorial Links and Resources
 Home : Courses : Computer : Intro to HTML : How to Link

Linking Using HTML

Basic Commands / Tables

What would the world wide web be without links? Links make the web go 'round, millions of links and websites linking each other.

Links are created using the <a> tag. The <a> tag has a required attribute of href which is equal to what you are linking to. For example, to link to Learnthat.com, you can type this on your page:

<a href="http://www.learnthat.com">Click here for free training!</a>

As you see, the <a> tag is like all others, it has a close tag </a> to tell it when to stop linking. This links to another page on a different site, or one that is not easily linked to on your site. You can also link to a local page easily, here is an example:

<a href="about.html">Click here to learn about us.</a>

This would assume the page "about.html" is in the same directory as the page you are linking from. To link to a page in a deeper directory, you can specify the directory first:

<a href="about/index.html">Click here to learn about us.</a>

This would link to a document in a subdirectory off the one you are in.

Linking to a directory is easy once you get linking down. Instead of text, just put an img source tag in there, for example:

<a href="http://www.learnthat.com"><img src="image.gif"></a>

The last thing to learn about linking is how to create one of those links where it opens a new mail message. I'm sure you've seen "Send me a message: Click here!" and wondered how they did that, here's an example:

<a href="mailto:webmaster@learnthat.com">Click here to email me!</a>

If you substitute your email address in there, whenever your visitors clicks on the link, it will open a mail message in their mail program!

Now that we've learned links, let's move on to a more advanced topic, Tables!

Basic Commands / Tables

 

 
Course Outline
Popular Tutorials

Discuss this page in our Free Discussion Forums
Discussion Forum

 

 

More Certification Tutorials

Network+ Certification Tutorial
Network+, a CompTIA industry neutral networking certification is very popular among networking professionals and companies. Learn the concepts you need for this certification!

[+] MORE CERTIFICATION TUTORIALS

certification online classes courses get certified

More Lifestyle Tutorials

Microsoft Word XP
Learnthat.com's free Microsoft Word 2002 online courses. Learn the basics for using this popular word processing software package.

A+ certification free resources and online courses
All Learnthat.com Courses & Tutorials

All Courses All Courses

Money & Financial courses Money & Financial
Business Tutorials Business Courses New courses & tutorials New Tutorials
Computer Courses Computer Courses New courses & tutorials Software Help
Fun Tutorials Fun Tutorials Web Design Courses Web Design Tutorials
Home & Garden Tutorials Home & Garden Basic Windows Tutorials Windows Tutorials
Lifestyle and Family tutorials Lifestyle Tutorials Submit a Tutorial Submit a Tutorial
A+ Certification

 

Learn: Free Tutorials - LearnthatQuick - Links to Free Tutorials
Understand: Free Technical Definitions - ExplainThat Whitepapers
Use: Certification Section - Discussion Forum

Visit Our Network Sites:

DefineThat.com Technical Defintions Romancetips.com
Free Gift Ideas - GiveThat Planthat.com Free Unique Business Ideas
PublishOnDemand.net - Learn about Print on Demand (POD) - Self Publishing Seekthat.com - Technical Search Engine
ThatNetwork.com  

About Us : Contact Us : Advertise : Privacy Information

© 1998-2003 Learnthat.com