Link to External Pages with Anchor Elements

What is Anchor Elements:-
Anchor element is uesd also to link to content outside of your webpage. for this, you need a destination web address(same as- href="htttps://www.wikibooster.com") called an href attribute and a anchor text(wikibooster) also. To Link to External Pages with Anchor Elements follow the below steps:
Step1: Open your text editor or Notepad.
Step2: Write the below code in your editor or notepad.
Step3: Save your document in etc.html format.
Step4: Open in Browser.

For Example:

<html>
<head>
<title> wikibooster </title>
</head>
<body>
<h1><a >This is wikibooster </a> </h1>
<p><a href="htttps://www.wikibooster.com" >  wikibooster</a> is website learning platform , you can learn here how to create a website.</p>
</body>
</html>



Output:















Please Share To Other:

Post a Comment

0 Comments