What if we need a horizontal line aligned to left or right with width 50% | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What if we need a horizontal line aligned to left or right with width 50%

6th Dec 2018, 5:38 PM
Uttkarsh Kumar Saini
2 Answers
+ 1
Do you mean in HTML? <hr style="width:50%" align="left" />
6th Dec 2018, 5:43 PM
Etabeta1🇮🇹
Etabeta1🇮🇹 - avatar
+ 1
You can use a class or id inside hr tag and according to class you can decorate your horizontal lines with CSS!! https://code.sololearn.com/WKH5sdE75Hs3/?ref=app
6th Dec 2018, 8:17 PM
AL Araf
AL Araf - avatar