70 likes | 183 Views
Creating Links. Links that you normally encounter on a webpage are…. Links created by using text Links created by using images Links for email address The tag used for creating link is <a> </a> (Anchor Tag).
E N D
Links that you normally encounter on a webpage are… • Links created by using text • Links created by using images • Links for email address The tag used for creating link is <a> </a> (Anchor Tag). An anchor can link to any resource on the Web: an HTML page, an image, a sound file, a movie, email address etc.
Links that you normally encounter on a webpage are… For example:- <a href= “url”>This is hypertext link to this url</a> The url is the targeted link. E.g. ? The text between the open and close of the anchor tag will be displayed as a hypertext. If you put an image in between the tags instead of text, then the image will contain link.
<a> </a> Tag • To create an anchor / bookmark for link on the same page, rather than to other html page, here are the steps:- • 1) Create an anchor point, <a name=“airlines”>Airline Section</a> • 2) Link your text (e.g. Airlines) to that anchor, <a href=“#airlines”>Airlines></a>
Do it now (15 minutes) Create one html file which contains the following links:- • 1) MMU Logo (an image) links to mmu’s website. • 2) A link to the bottom of your html page. From the bottom, you are able to create a link to the top of the page. • 3) Create an email link to your email.