Changing color in XML table.

Q13. Consider the table shown in Question 12 and create a style-sheet for it, prescribing the color for Book_Name, Author and Price as red, green, and blue respectively. In addition, the font attribute is in bold style.

Ans.

Book_Name

{ color:Red;

font-weight:bold; }

Author

{ color:Green;

font-weight:bold; }

Price

{ color:Blue;

font-weight:bold; }