CSS: How do I insert a line between two words?

Wort1 <span style="width: 100px">&nbsp;</span> Wort2
span {
  display:inline-block;
  border-bottom: 1px solid black;
  line-height:0
}
Without cookies
This website does not use cookies or tracking. More information can be found in the privacy policy.