Check out example codes for "how to include a dash in html". It will help you in understanding the concepts better.

Code Example 1

To display a dash on browser, uses in html "—" , "—." 
or Unicode numeric entity of U+2014. eg. ajmal—the—developer instead
ajmal-the-developer. -keepCoding:)

Learn ReactJs, React Native from akashmittal.com