ADD LINKS

HOW TO ADD HYPERLINKS IN YOUR WEB PAGES

Hyperlinks(or links in short)is one the most powerful feature of html and
web designing.usually a website consists of number of web pages and hyperlinks
provides a way to establish link between these web pages so that user can easily
navigate from one page of website to another.A hyperlink is simply a unidirectional
pointer from the source location to some destination location.hyperlinks can be
associated with text, images or anything else that you can place on the webpage. 
There are basically two types of links:-
INTERNAL LINK 
EXTERNAL LINK

INTERNAL LINK

Internal links are those links which redirect us to web pages of our own website.
Internal links are links which takes us to different web page of our own website.

EXTERNAL LINKS

External links in web designing are those links which redirect us to other web
pages of another sites.The take us outside our website that is why they are
known as external links in web designing.

ANCHOR TAG<a>

The anchor tag is used to create hyperlinks on the web page.<a>tells the browser
where the lunk starts and </a> tag tells that where the link ends. Although it supports
many attributes but href attribute must be specified along with it in web designing.
The href stands for hypertext reference that contains theURL of the destination
page to which link will move to.The URL’Saddress specified can point to any type
of file on the webpage such as HTML document,images,sounds,movies etc.
The general format for using <a> tag is….
<a href = “URL”>hyperlinked text</a>
Here hyperlinked text acts a hyperlink which when clicked by a visitor in a web
browser will activate the link and the URL specified in href attribute will open,if
link is active. 

EXAMPLE OF USING LINK TAG IN WEB DESIGNING
<HTML>
<HEAD>
<TITLE>
LINKS
</TITLE>
</HEAD>
<BODY>
<a href=” https://www.wikipedia.org/“>wikipedia</a>
</BODY>
</HTML>

AFTER RUNNING THIS CODE YOU WILL GET RESULT AS
                         DISPLAYED BELOW










AFTER CLICKING ON THIS WORD WIKIPEDIA YOU WILL GET RESULT
                            AS DISPLAYED BELOW


0 comments:

Post a Comment

ABOUT BLOGGER

DIKSHA
CURRENTLY BLOGGING FOR YOU PEOPLE
HAPPY TO HELP

IMPORTANT TOPICS

VERSIONS OF HTML
HOW TO CREATE TABLES
HOW TO ADD IMAGES
HOW TO ADD LINKS
HOW T0 FORMAT TEXT

STAT COUNTER

Contact Form

Name

Email *

Message *

SCHEMA

CHANDIGARH,
Chandigarh,
160022,
India