HTML

Special characters

  - Non-breaking space

Hello   there!

× - HTML entity for close buttons. Alternative to the unicode ×

// an example of the close button with React handler and Bootstrap styles
<button
  type='button'
  onClick={() => onRemove(id)}
  className='btn btn-outline-danger btn-sm'
>
  &times;
</button>

Last updated

Was this helpful?