svg path in html ,not woring correctly | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

svg path in html ,not woring correctly

<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <svg width="500" height="500"> <path d="M0 0 L0 100 L100 100 L100 0 Z" /> </svg> </body> </html>

1st Jan 2022, 3:05 PM
Debashish Das
Debashish Das - avatar
2 Answers
+ 4
It's working fine here. Or you're looking for a square something like this? <path d="M0 0 L0 100 L100 100 L100 0 Z" style="stroke:#000;fill:none;" />
1st Jan 2022, 3:30 PM
Simba
Simba - avatar
+ 1
Yes it work,my bad!
1st Jan 2022, 3:37 PM
Debashish Das
Debashish Das - avatar