Currently, I am coding an HTML calendar using HTML5 and attempting to include a colored horizontal line. Although I have been utilizing the <hr>
tag, I am facing difficulties in making most attributes function properly.
Here is my desired style:
<hr color="purple" align="left" width="120%" size="6">
I have discovered that some attributes do not work in HTML5... with only the width attribute functioning as expected. Unfortunately, the others seem to be ineffective!
How can I resolve this issue? Is there a more effective approach I should consider?