In this article we are discussing about Html internal and external links, how can we use Html internal and external links.
Example: Html Link’s
link can be referred as <a href=”#Step.1″>Step.1</a> automatically.
Example : HTML Internal Link Example
<html> <head> <title> HHTML Internal Link Example </title> </head> <body> <!-- Now we are using HTML Internal Link Example --> <a href="#Lesson.1"> Lesson.1 </a> <a href="#Lesson.2"> Lesson.2 </a> <a href="#Lesson.3"> Lesson.3 </a> <a name="Lesson.1"> Introduction of Lesson.1 </a> <p>This is sub topic.1 </p> <p>This is sub topic.2 </p> <p>This is sub topic.3 </p> <p>This is sub topic.4 </p> <a name="Lesson.2"> Introduction of Lesson.2 </a> <p>This is sub topic.1</p> <p>This is sub topic.2</p> <p>This is sub topic.3</p> <p>This is sub topic.4</p> <a name="Lesson.3"> Introduction of Lesson.3 </a> <p>This is sub topic.1 </p> <p>This is sub topic.2 lt;/p> <p>This is sub topic.3 </p> <p>This is sub topic.4 </p> </body> </html>
Output :
Lesson.1
Lesson.2
Lesson.3
This is sub topic.1
This is sub topic.2
This is sub topic.3
This is sub topic.4
This is sub topic.1
This is sub topic.2
This is sub topic.3
This is sub topic.4
This is sub topic.1
This is sub topic.2
This is sub topic.3
This is sub topic.4
HTML External Link Example
<html> <head> <title> HTML Internal Link External </title> </head> <body> <!-- Now we are using HTML External Link Example --> <a href="http://www.phpkida.com/category/html-tutorials/"> HTML TUTORIAL </a> <a href="http://www.phpkida.com/category/css-tutorials/"> CSS TUTORIAL </a> <a href="http://www.phpkida.com/category/php-tutorial/"> PHP TUTORIAL </a> </body> </html>
Output :
My name is Mukesh Jakhar and I am a Web Application Developer and Software Developer, currently living in Jaipur, India. I have a Master of Computer Application in Computer Science from JNU Jaipur University. I loves to write on technology and programming topics. Apart from this, I love to travel and enjoy the beauty of nature.