Page 94 - CodePilot V5.0 C7
P. 94
BRIDGE BACK
1. What are some common ways to improve the appearance of a web page?
2. Discuss with your teacher which HTML tags are used to embed multimedia content on a web page.
You are already familiar with basic HTML formatting using tags and attributes. You also learnt
about styling using CSS. In this chapter, you are going to learn how you can add links, images and
insert videos and audio in web pages.
HYPERLINKS
A website is a collection of web pages. These web pages are linked with the help of a feature of
HTML called a hyperlink.
An HTML link or hyperlink, contains a URL and lets you jump from one web page to another.
It can be text, an image or a button and typically navigates between pages on the same site or
to different websites.
In browsers, links appear as underlined blue text when unvisited and purple after being clicked.
You can also use the Tab key to focus on a link and Enter to open it. When hovering over it, the
mouse pointer turns into a hand. HTML supports two types of links:
Internal linking connects sections within a web page. For example, a table of contents with
links at the top allows readers to jump to sections, bypassing the need to scroll.
External linking connects your page to another, either on your local disk or the Internet.
It directs visitors to additional resources on other sites, useful for sharing sources or references
in blogs or research papers.
ANCHOR TAG
The Anchor tag is used to insert hyperlinks in HTML. It is a container tag. You can place images,
text, audio, video or buttons between opening and closing tags.
The following table summarises the attributes that can be used along with this tag to create
hyperlinks:
Attribute Name Value Description
HREF URL It is also known as Hypertext Reference.
It contains the URL to which the hyperlink
points. It can be an external or internal link.
TARGET _blank, _self, _parent, _top It is used to define where to open the new
web page.
92
CodePilot (V5.0)-VII

