Saturday, April 03, 2010

Non-breaking Space

just so i don't forget and lose this. i use it for paragraph indentation.

Non-breaking Space

The most common character entity in HTML is the non-breaking space.

Normally HTML will truncate spaces in your text. If you write 10 spaces in your text HTML will remove 9 of them. To add lots of spaces to your text, use the &nb sp; character entity. i inserted a space in there for display. &# 160; is the number.

ampersand nbsp semi-colon is the character entity name.

ampersand pound 160 semi-colon is the character entity number.

info comes from this page.
http://www.w3schools.com/html/html_entities.asp

No comments:

Post a Comment