Write an HTML program segment that contains hypertext links from one document to another.
HTML permits any item to be placed as a hypertext reference. Therefore a single word, a phrase, a whole paragraph or an image can refer to other document. The HTML utilizes tags< A > and < /A > for the reference. Each item between the two is the part of anchor. Consider the following illustration:
This Article is written through
< A HREF = http: / /www. expertsminds.com >
IDEA NEWS, < /A >
One of the popular newspapers worldwide
Contains an anchor that references the URL
http: / /www.expertsminds.com
When displayed it produces the following:
This article is written by IDEA NEWS,
One of the popular newspapers worldwide.
When underlined text is selected, the document specified by the URL
http: / /www.expertsminds.com is opened.