title: How does stackoverflow make its Tag input field?
body: <p>How does StackOverflow create its tag system. How can it format the html in a text area?</p>
  <p>I just don't know where to begin. If someone could guide me, then I can know what direction to take so I can write some code that someone can check.</p>
  <p><strong>Like this:</strong></p>
  <p><img src="https://i.stack.imgur.com/GPNq6.png" alt="enter image description here" /></p>
  <p><strong>EDIT:
  Basically, when I press space, how do i add a new element/div to the inside of the div?</strong></p>