Computer Science, asked by gmoumita460, 11 months ago

Date
Write HTML statement for the following
Display a horizontal line with blue color​

Answers

Answered by Debangamanab
0

Answer:

(1)<hr>

(2)The most common way of coloring HTML text is by using hexadecimal color codes (Hex code for short). Simply add a style attribute to the text element you want to color – a paragraph in the example below – and use the color property with your Hex code.

Explanation:

(1) The <hr> tag in HTML stands for horizontal rule and is used to insert a horizontal rule or a thematic break in an HTML page to divide or separate document sections. The <hr> tag is an empty tag and it does not require an end tag. Used to specify the alignment of the horizontal rule.

(2)Eg:<body>

 <p style="color:#FF0000";>Red paragraph text</p>

</body>

Similar questions