<svg width="500px" height="500px"> 
  <line x1="100" y1="100" x2="400" y2="400" stroke="black"/>

</svg>
svg{
  border:1px solid black; 
} 

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.