0

How to color horizontal line?

3rd Feb 2019, 8:03 AM
Muhammad Afzal
Muhammad Afzal - avatar
8 odpowiedzi
+ 4
To color hr in CSS hr { border-color: red; }
3rd Feb 2019, 8:57 AM
Calviղ
Calviղ - avatar
+ 2
Satnam Singh, Niush Sitaula what is HTML5 alternative to <hr>
3rd Feb 2019, 8:36 AM
Maneren
Maneren - avatar
+ 2
Maneren hr tag is not deprecated, it's supported by HTML5. However all layout attributes of hr tag (align, noshade, size, and width) which was supported in HTML4, are no longer supported in HTML5. Use CSS to style hr tag in HTML5 instead.
3rd Feb 2019, 8:50 AM
Calviղ
Calviղ - avatar
+ 2
Calviղ thanks
3rd Feb 2019, 8:54 AM
Maneren
Maneren - avatar
+ 1
3rd Feb 2019, 8:44 AM
Maneren
Maneren - avatar
0
Hmmm... Try css
3rd Feb 2019, 8:05 AM
Hackerman
Hackerman - avatar
0
Thanks All of you
4th Feb 2019, 3:42 AM
Muhammad Afzal
Muhammad Afzal - avatar
- 2
Suck russian pidor
3rd Feb 2019, 10:04 AM
Regedit