WebsiteGear Logo Log In
New User? Sign Up
About | Contact | FAQ
  Home Content Site Development Website Technology Sunday, December 17, 2017 
Print| Email| Save| Discuss| Feeds


HTML Link
Published: Wednesday, November 05, 2003






















Check

What is an HTML link?


HTML link (or hyperlink or weblink) provides a way of linking other web pages
or other web resources like images,
audio, etc. If you have a multiple page website, you need the ablility to navigate the user
to the other HTML pages on your website or other webpages on the internet. This can be done
using HTML links. For example, the
navigation pane on this website to the left has a link for all the tutorial pages.

Example :



<a href="index.htm">WebsiteGear.com Home</a>


This link shows like this: WebsiteGear.com Home
Check

Creating an HTML link.



  1. Start the anchor with <a (include a space after the a).

  2. Specify the document you're linking to by entering the attribute href="filename"
    followed by a closing right angle bracket (>)

  3. Enter the text that will serve as the hypertext link in the current document.

  4. Add the ending anchor tag: </a>.


Check

Some commonly used <a> attributes


Here is a list of commonly used attributes.



  1. href :


    This attribute specifies the location of a Web resource like another html web page.






  2. target :


    Vertical Alignment attribute - Aligns the element in vertical direction.

    Values - top | middle | baseline | bottom

    Some related elements - <th>, <td>, <tr>, <tbody>.





  3. name :


    Width attribute - Specifies the width of an element.

    Values - pixels | % of parent width

    Some related elements - <table>, <hr>, <iframe>, <img>,
    <td>, <th>.





  4. lang, dir :


    Height attribute - Specifies the height of an element.

    Values - pixels | % of parent height

    Some related elements - <table>, <hr>, <iframe>, <img>,
    <td>, <th>.





  5. id, class :


    Width attribute - Specifies the width of an element.

    Values - pixels | % of parent cell

    Some related elements - <table>, <hr>, <iframe>, <img>,
    <td>, <th>.






Previous Article HTML Body
Print| Email| Save| Discuss| Feeds
RELATED ARTICLES
Nav HTML Tutorial - Introduction
HTML stands for Hyper Text Markup Language. It is the publishing language of the World Wide Web (WWW). Learn about HTML in this tutorial.
Nav Favicon - Create Icon For Your Website
A favorite's icon can make your website stand out from the rest. Learn how to create a favicon for your website.
RELATED NEWS
News Post Switzerland, Singapore and Finland Take Top Three Spots in the First Global Knowledge Index
DUBAI, UAE, December 17, 2017 /PRNewswire/ -- - Results announced at the Knowledge Summit 2017 in Dubai.  - Index covers 131...
News Post Two day Course: Process Validation with Qualification (London, United Kingdom - March 6th-7th, 2018)
DUBLIN, Dec. 15, 2017 /PRNewswire/ -- The "Process Validation with Qualification" conference has been added to Rese...
News Post Tektronix Honored with Seven EDN Hot 100 Products of 2017 in Test & Measurement Category
Strongest Showing by Any Test and Measurement Manufacturer
News Post FM Broadcast Transmitter Market to Rise at Nearly 8.05% CAGR to 2021 | ReportsnReports
PUNE, India, December 15, 2017 /PRNewswire/ -- FM Broadcast Transmitter Market - 39 page of industry research report is now a...
News Post Netflix to Announce Fourth-Quarter 2017 Financial Results
LOS GATOS, Calif., Dec. 15, 2017 /PRNewswire/ -- Netflix, Inc. (NASDAQ: NFLX) today announced it will post its fourth-quarter...
Submit News | View More NewsView more news
RELATED CLASSIFIED ADS
Classified Ad HTML TAGGING PROJECT CONVERSION AVAILABLE
We have developed HTML Tagging Conversion software which can convert any TIFF Frech Srcipt Image to ...
Classified Ad Grabar pantalla
Grabar pantalla formato wmv - Free Screen To Video 1.2: Tu Escritorio en vídeo en varios formatos y ...
Classified Ad Get OpenCart E-commerce Website with 20 % Discount
Inception System is the Leading E-commerce solutions Provider Company which has vast experience in O ...
Classified Ad Web-Software Development | Mobile App | Ecommerce
Rightway Solution started off with servicing clients in Responsive Web Development and E-commerce De ...
Classified Ad Opencart Development Services at Affordable Price
Inception System is premium eCommerce Web Development Company offering the efficient Opencart web de ...
Post Free Ad | View More View more classifieds
RELATED FORUM POSTS
Forum Post How to convert psd into html?
Please let me know how to convert psd into html? I want to create a design from photoshop! ...
Forum Post html code help
I have been trying to use a code for media on my website however the Window media player comes up on ...
Forum Post HTML to enhance my javascript menu
To anyone that can help me I would really appreciate it! I have a javascript menu on a couple of ...
Forum Post HTML TAGGING PROJECT CONVERSION 100% QUALITY
We can process Image/TIF/GIF files to html format. We have developed HTML Tagging Conversion Softwa ...
Forum Post How to setup link tracking?
Here are the simple steps to create a link and test the tracking feature. Setting up links in you ...
Add New Post | View More View more forum posts
POPULAR ARTICLES
Nav How To Sell A Website
Nav Subdomain Configuration - How To Setup A Sub Domain
Nav Domain Configuration - How To Setup A Domain Name
Nav Website Layout - Tips & Tricks
Nav Round Robin DNS Load Balancing
Nav Introduction To Server Load Balancing
Nav Website Traffic & Revenue
Nav Tips On Using SubDomain
FEATURED NEWS | POPULAR NEWS
View More News View More News