No products in the cart.

write a html coding to display …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

write a html coding to display horizontal line of green color
  • 1 answers

Gaurav Seth 4 years, 3 months ago

 <hr color=”green”>

Explanation :

The HTML <hr> color Attribute is used to specify the color of a Horizontal rule. It is not supported by HTML 5.

Syntax:

<pre> <Hr color= "color_name or hex_number or rgb_number"> </pre>

Attribute Values:

  • color_name: It sets the Text color by using the color name. For example “red”.
  • hex_number: It sets the text color by using the color hex code. For example “#0000ff”.
  • rgb_number: It sets the text color by using the rgb code. For example: “RGB(0, 153, 0)”.
http://mycbseguide.com/examin8/

Related Questions

5 uses of mouse
  • 0 answers
What do you mean by computer
  • 0 answers
Give two feature of internet
  • 0 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App