Is this possible to write something inside the horizontal line <hr/>? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Is this possible to write something inside the horizontal line <hr/>?

Like this: ________________OR________________ .

10th May 2020, 4:27 PM
Tamim Maruf
Tamim Maruf - avatar
9 Answers
+ 4
you can try use fieldset maybe.. https://code.sololearn.com/WUHpswgHbhXY/#html
11th May 2020, 3:43 AM
Dimar Hanung
Dimar Hanung - avatar
+ 5
I think you can not do that with the <hr> tag. However, it is not at all recommended to use it anymore :)) You can make a custom one like this : https://code.sololearn.com/W21SCb7z1eu2/?ref=app
10th May 2020, 4:32 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
+ 4
Ipang To me, it’s a bad practice to use <hr> and <br> ;)
10th May 2020, 4:52 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
+ 2
Arb Rahim Badsa But why it is not at all recommended to use <hr> anymore? is it deprecated?
10th May 2020, 4:50 PM
Ipang
+ 2
you can use after and before https://code.sololearn.com/W8uuJE6Y6VOM/#
11th May 2020, 9:04 AM
amin aligholi
amin aligholi - avatar
+ 1
10th May 2020, 4:36 PM
Tamim Maruf
Tamim Maruf - avatar
+ 1
Arb Rahim Badsa Alright, Thanks for sharing bro 👌
10th May 2020, 4:59 PM
Ipang
0
Not at all
14th May 2020, 12:33 PM
Mohsin Ali
Mohsin Ali - avatar
0
Yes, you can specify the color and width ...etc
19th May 2020, 4:23 AM
Ahmed Muhammed
Ahmed Muhammed - avatar