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
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).
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:- Internal link
- 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:
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> <head> <title>Demo of hyperllink</title> </head> <body> <A href="http://tutorialpointsolution.blogspot.in/2017/12/what-is-html.html">HTML</A> </Body> </html>
0 comments:
Post a Comment