Skip to content

Instantly share code, notes, and snippets.

@callezenwaka
Created January 19, 2022 09:05
Show Gist options
  • Save callezenwaka/6b850afeda30e43bd8f2104ce9b7a5c0 to your computer and use it in GitHub Desktop.
Save callezenwaka/6b850afeda30e43bd8f2104ce9b7a5c0 to your computer and use it in GitHub Desktop.
Add space in html file
<!DOCTYPE html>
<html>
<head>
<title>
How to insert spaces/tabs in text using HTML/CSS?
</title>
</head>
<body>
<h1 style="color: green">GeeksforGeeks</h1>
<b>How to insert spaces/tabs in text using HTML/CSS?</b>
<p>This is a &nbsp; regular space.</p>
<p>This is a &ensp; two spaces gap.</p>
<p>This is a &emsp; four spaces gap.</p>
<a href="https://www.geeksforgeeks.org/how-to-insert-spaces-tabs-in-text-using-html-css/">Copied From</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment