Have you ever heard about the non-breaking space (NBSP)?

While it looks just like the average space character we all use to separate words, the non-breaking space—also known as hard space—prevents an automatic line break at its position.
– Why does it matter?
In medicine and other related sciences, it's advisable to have numbers and symbols in the same line. Therefore, we must insert a non-breaking space between them.
– Can you give me an example?
If we had to write "18 mg of iron daily," we would insert a non-breaking space between "18" and "mg" to potentially avoid having them distributed in different lines.
– How can I insert a non-breaking space?
It depends!
Operating systems and application programs often have their own keyboard shortcuts for the non-breaking space. I suggest you check this link for more info.