Javascript AJAX jQuery HTML PHP Example MORE
Need a Website Or Web Application.Contact : +91 9437911966 (Whatsapp) Note: Paid Service

Non-breaking Space HTML

As it is create space without break a line so it is called as non-breaking space or  

In HTML non-breaking space is used to create space without breaking a line.

Sometimes we need some more space between two words. If we want more than one space we have to use non-breaking space.

Examples:
  • 10 km
  • 10 pm
  • 10 am

If you write 10 spaces in your text, the browser will remove 9 of them. To add real spaces to your text, you can use the   character entity.

Example:

<!DOCTYPE html>
<html>
<body>
<p>10   AM</p>
<p>7   PM</p>
<p>50   Km</p>
</body>
</html>

	

Run it yourself