Recent Posts

Thursday 28 December 2017

How to add Hyperlink in HTML

HTML is a web based language which is used for web page designing and web applications.In the previous post we learnt about what is HTML and what is Web Browser.In this post we will learn about Hyperlink 
The topics we will cover in this topic are

  • what is Hyperlink.
  • Type of Hyperlink.
  • How to add Hyperlink in HTML.

What is Hyperlink:

A Hyperlink is a word or image in which you click and you can go to another document. Hyperlink is used to link another document to our document.Hyperlink can be found in all websites.websites allowing users to click and jump to another page within current page. Hyperlinks when you move the pointer to a hyperlink's text or image then pointer is changed to a small hand pointing.You can create a hyperlink on web page by using text or images.

The hyperlink or anchor can be created using <A HREF="URL">.....</A>.The link document is specified in place of URL.We can link text or image as a hyperlink.The text which is enclosed in between <A> and </A> is displayed with underline,so when we click on that text then link will be open in another document(text or image).


Types of Hyperlink:

Hyperlinks are of two types:

  1. Internal link
  2. External link
1.Internal link:
This is the link to our own website If we create a link to our document then it is called as internal link.for example you can see following links:

HTML
PHP

2.External link:
This is a link which link to another web page.If we create a link to another web page or web site then it is called as external link..you can see the following example:

W3Schools

How to add Hyperlink in HTML:


<html>
<head>
<title>Demo of hyperllink</title>
</head>
<body>
<A href="http://tutorialpointsolution.blogspot.in/2017/12/what-is-html.html">HTML</A>
</Body>
</html>

The output of above code is below
HTML

0 comments:

Post a Comment

Followers

Popular Posts

Categories

social media

Text Widget

Powered by Blogger.

About Me

My name is junaid khan and i am a full time blogger and author of a blog tutorial called tutorialpointsolution.

String function

In the previous post we learn about what is String .we know that string is a collection of two or more characters.In string we can store al...

Search This Blog

Technology

Adbox

Recent Post

Breaking

Recent In Internet

Comments

Facebook

Pages

Comments

Pages

Recent

Pages

Technology