PRACTICAL NO. 13:- USE OF COLORS FOR LINKS IN WEB PAGE
✯ ( VIII ) EXERCISE
✧ Write a HTML code to link an external page of W3schools.com using URL.Apply tags to change colors of links.
✯ ( IX ) 'HTML CODE'
✯ ( XXXI ) Output ( Take screen shot of the webpage created as output and attach in here)
✯ ( XV ) Pracrical Related Questions
✧ (1) Differentiate between active link and visted link
✯ ANSWER
1.Active Link:
An active link is a hyperlink that is currently being clicked or interacted with by the user.
It is typically styled differently from other links, often changing color or appearance to provide visual feedback to the user that they are interacting with it.
Active links are usually styled using CSS pseudo-classes like :active.
Visited Link:
2.Visited Link:
A visited link is a hyperlink that the user has previously clicked on or visited.
Once a user clicks on a hyperlink and visits the corresponding webpage, the link typically changes color or style to indicate that it has been visited.
Visited links are often styled differently from active and unvisited links to help users keep track of which pages they have already visited.
(2)List different types of URL?
✯ ANSWER
1. HTTP/HTTPS URLs:
2. TP URLs:
3. Mailto URLs:
4. File URLs:
5. Data URLs:
(3)Explain the use of Title attributes of anchor tag.
✯ ANSWER
You should use the title attribute for anchor tags if you wish to apply descriptive information similarly as you would for an alt attribute. The title attribute is valid on anchor tags and is serves no other purpose than providing information about the linked page.
END