InterviewSolution
Saved Bookmarks
| 1. |
write a html coding to display horizontal line of green color |
|
Answer» \xa0 Explanation :The\xa0HTML color Attribute\xa0is used to specify the color of a Horizontal rule. It is not supported by HTML 5.Syntax: Attribute Values:\tcolor_name:\xa0It sets the Text color by using the color name. For example “red”.\thex_number:\xa0It sets the text color by using the color hex code. For example “#0000ff”.\trgb_number:\xa0It sets the text color by using the rgb code. For example: “RGB(0, 153, 0)”. |
|