Computer Science, asked by ashishnarigara2046, 1 year ago

Explain hr tag with its attributes

Answers

Answered by Ankitchotukumar
12

it's attribute are following:------_---_----_
align

left
center
right

Not supported in HTML5.
Specifies the alignment of a <hr> element

noshade

Not supported in HTML5.
Specifies that a <hr> element should render in one solid color (noshaded), instead of a shaded color

size

pixels

Not supported in HTML5.
Specifies the height of a <hr> element

width

pixels
%

Not supported in HTML5.
Specifies the width of a <hr> element

Example of hr tag
insert inside html page

<hr size="29px" width="100%" height="30%" color="#fff"/>

hope it's help..

Answered by aryangupta78901
47

Answer:

The <hr> tag is draw a horizontal line across the document frame or window. It can be used to visual divide information all section of a document. The HR tag does not have a end tag thus it is a empty tag.

Syntax-

<hr align ="left/right/center/no shade size="thickness " Width = "width" Color="color of the line "

Attributes of hr tag -

1. Align- It specific the horizontal alignment of the line it can accept any three value left, right or center .

2. No shade- this attributes produce a solid black line has no shading.

3. Size- It indicate the thickness of the line in pixel. The default size is 2 pixels.

4. Width- It define the horizontal width of line which mean length of line.

5. Color - This attributes specify the color of line in web page.

Hope it will help you...

Mark my answer brainless if it help...

Similar questions