InterviewSolution
Saved Bookmarks
| 1. |
If you analyse web pages you can see different colors to links, visited links, background etc. Suggest how tLIs can be done in HTML with example. |
|
Answer» We can use the attributes of <Body>tag (1) Bgcolor-species background color for the document Body Eg. < BODY BGCOLOR = "RED"> (2) Background- Sets the image as background for the document body Eg. <BODY BACKGROUND= “C:/page1 .jpg”> (3) Text- Specifies the color of the text content of the page Eg. <BODYTEXT= “Blue”> (4) Link Specifies colour of the hyperlinks that are not visited by the viewer (5) Alink Specifies the colour of hyperlinks (6) Vlink- Specifies the color of hyperlinks wLIch are already visited by the viewer. Eg. <BODY ALINK = "Blue" VLINK="cyan"VLINK="Yellow"> |
|