title: Creating a centre dotted line in HTML
body: <p>I'm working on a pong game and currently, for a design, I'm trying to create a vertical dotted line on the centre of the canvas but I couldn't figure out how is it possible to do so in HTML.<a href="https://i.stack.imgur.com/ep5iG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ep5iG.png" alt="enter image description here"></a></p>
  
  <p>the HTML code I currently have is </p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;style&gt;
          @import url(style.css);
          p.highlight {
              color: red;
          }
          svg {
              background-color: rgb(41, 41, 36);
          }
      &lt;/style&gt;
      &lt;script src="svgelement.js"&gt;&lt;/script&gt;
      &lt;script src="observable.js"&gt;&lt;/script&gt;
      &lt;script src="pong.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;h1&gt;Pong&lt;/h1&gt;
      &lt;svg id="canvas" width="600" height="600"/&gt;
  
  &lt;/body&gt;
  </code></pre>
  
  <p></p>
  
  <p>Would appreciate some help on this.</p>