Create a Web page that contains some text.

Q4. Create a Web page that contains some text. Now, link the text with another Web page. In addition, ensure that when you move the mouse pointer over the hyperlinked text, the name and information related to the hyperlink Web page is displayed.

Ans.

<HTML>

<HEAD>

<TITLE> Linking Web pages

</TITLE>

</HEAD>

<BODY BGCOLOR=”yellow”>

<CENTER> <B> Welcome to HTML </B> </CENTER>

<A HREF=”HTML_Doc.html” TITLE=” Linked with

HTML_Doc.html”> Click Here </A>

</BODY>

</HTML>

The output of the above mentioned code is shown in Figure 1:

Figure 1: Creating a Hyperlink

Leave a Reply

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

%d bloggers like this: