+ 2
What is stroke in html5?
2 ответов
+ 1
stroke is used in HTML5 Canvas. while you draw something ( line, shape, path etc.) you can fill the whole shape or set a stroke.
......
context.stroke()
stroke is like a border in css. it doesn't fill the whole shape.
+ 1
If you mean horizontal stroke (<hr>):
It is just a horizontal stroke. Often used as a seperator