How to Create Web Pages Using HTML : How to Add a Link to a Web Page

By | February 2, 2020

Hello, my name is Luis Estrada, and I am a
software developer. In this video, I will show you how to add a link to a web page.
A simple link in html can point to several places. It can point to another web site,
to another page on your web site. It can point to another place on the same web page, to
an e-mail, etc. In this clip, we will start by writing a link to another web site. We
will leave the e-mail links for another clip. Now, in your html source file add a new opening
and closing tag. Inside the tags write an a. In the opening tag we write the word href.
That is the reference or place that this link will take you to. Let’s add a link to the
Yahoo website, so write Inside the tags write the text that appears as the
link in the browser. In this case, write go to the yahoo website, save the file, and refresh
the browser. When you click on the text, the web browser takes you to the Yahoo site. Let’s
say that instead of wanting your lick, link take you to a different site, you want it
to take you to another place on the same site. For this to happen, you need to have at least
two html files; one pointing to the other. Let’s say that the other page is called page
2.html. Then, on the link just write href equals page 2.html, save the file and refresh.
Click on the link, and you will see that now we are in your other page. You can add a link
inside page2.html to take you back to page1.html, save the file, refresh, and now click on the
I am Luis Estrada, and I’ve just shown you how to create web pages using html.

Leave a Reply

Your email address will not be published. Required fields are marked *