Web text: html character entities: white space

The tutor shares a way to generate white space with html.

Just typing the space bar repeatedly, in a web document, doesn’t necessarily produce that many spaces on the screen.

This sentence has ten spaces (space bar presses) in front of it.

However, the entity character   will produce a blank space.  It needs the semicolon included, and needs to be typed as plain text.

          This sentence has ten   characters in front of it.

I’ll be discussing html white space in future posts:)

Source:

dev.w3.org

Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Leave a Reply