Bootstrap class: .border-dark

<span class="border border-dark">Hello World</span>

Preview

Hello World

More in Bootstrap Borders