Hyperlink in HTML
How to Hyperlink in HTML
What is Hyperlink??
Hyperlink is a process in which one document is attached with another document ,eg. suppose if we have to make a text responsive which means if we click on that text that time that text should redirect the another document which we have link to the text.
Use of Hyperlink :
Most web pages are filled with dozens of hyperlinks, each sending the visitor to some related web page, picture, or file. Search results are another easy way to observe hyperlinks; search for anything in Bing, Google, DuckDuckGo, or another search engine, and every result is a hyperlink to the different web pages that show up in the results.
A hyperlink can even point to a specific section of a web page (and not just the primary page) using what's called an anchor.
Which tag is used to hyperlink a text??
Hypertext Anchor <a href =" "> </a> tag is used to hyperlink a text. If the element has a href attribute, then it represents a hyperlink labeled by its content.
In href section add source of page which you want to link to the current page
Source Code:
<html>
<head>
<title>TJ5 Server</title>
</head>
<body>
This is a
<a
href="https://learnwithtj5.blogspot.com/2022/07/add-images-using-html.html"
>
Hyperlink</a
>
Example
</body>
</html>
output :
This is a Hyperlink ExampleIf you found this helpful do let me know in comment section below👇👇
Tejas Dhodi👦,
9 July 2022.
Comments
Post a Comment