ad

Showing posts with label html link text. Show all posts
Showing posts with label html link text. Show all posts

Thursday, November 6, 2025

how to Create Text links in html

 

How to Create Text Links in HTML (With Examples)

https://webdesigningtheory.blogspot.com

how to Create Text links in html  

Text link is called hyperlink is a piece of text  use click go to another webpage file or section within same page 

 Text links created using <a> tag (is called anchor tag)

how to Create Text links in html 

Example 


<!DOCTYPE html>
<html>
<body>
<h4>Click  Following link</h4>
<a href="https://webdesigningtheory.blogspot.com" target="_blank">HTML Program </a>
</body>
</html>

how to Create Text links in html 

Explain Program

Step 1 ]

<!Doctype html>

<!doctype html>  always be the first line of any HTML document.

Step 2 ]

   <html> and </html>

   html  is the root element.

Step 3 ]

<body> and </body>

body  is  main content area.

All visible content inside to  the <body> tag

Step 4]

<h4>Click  Following link</h4>

<h4> heading tag   make text bold text 

webpage a heading 


<a href="https://webdesigningtheory.blogspot.com" target="_blank">HTML Program </a>

anchor tag (<a>) use to create a hyperlink

<a> 

 anchor tag use for links 
href =  (hypertext reference) attribute URL  to link is clicked 

target = "blank"


 target attribute  browser to open  link a  new tab (window), current page.
HTML program 
This is text shown user clickable link.
</a>  close the anchor tag 

Step 5] 

</body> and </html>

</body>  close the body section

</html>  close the HTML document 

how to Create Text links in html 
 output 

how to Create Text links in htmlhow to Create Text links in html



Related Post :-

how to use image tag in html

html heading tags explain structure

how to use pre tag html with example