0
What is hr align
3 Answers
+ 4
<hr> was originally standing for Horizintal Rule.
In Html5 <hr> is mainly a content separator, semantically... It's still styled as horizontal line for ascending compatibility reasons, but this may change in future.
... And 'align' was a deprecated attribut, intended to be replaced with css rules ( by setting a ad-hoc text-align property on its container ).
+ 1
hr stands for horizontal line and by default it creates a horizontal line with a width of 100% across your page.
If you specify a width for the hr tag that is less than 100%, e.g 50%, then it will be default be aligned left. this is where align comes into play. You can then set align to right if you want the hr to be right of the screen.
+ 1
the <hr> tag is a horizontal line and has a width of 100% across your page
the <hr align=""> using this tag you will be able to shorten the line if you want to put i the left or just right
Keep Practacing