Why do I write that the path path does not take effect and has no style?

quotation text
The

code is as follows:
https://www.w3cplus.com/svg/s.

<path d="M0 0" stroke="black" />
<path d="M0 0 H50" stroke="black" />
<path d="M0 0 V50" stroke="black"/>
<path d="M0 0 L50 50" stroke="black"/>

write these can not be displayed, document description of the effect, ask for help, thank you


specify stroke-width try


you try

<svg width="100px" height="100px" viewBox="0 0 100 100"> 
    <path d="M0 0 L50 50" stroke="black"></path>
</svg>
Menu