1.866.PIXELMILL (1.866.749.3564 US/Canada)

Search Support

Search our knowledgebase? Enter keywords or article id:

> go to search support


Support Index


Help and Support


Search

Go back to search results

Enter keyword or id#:




Promotions


Quick Links

Printable Article

Character Entity References

Article ID: KB101449

So, how do you insert an extra space in your text?

In the HTML code, type this code for each extra space that you want:

 

This will insert a non-breaking space into your text so that the browser knows to insert a space there.

Please note that "non-breaking space" means that these spaces will not "wrap" - that is, they will not break off onto another line. So if you put enough spaces all in a row, you might force your page to be too wide for the browser window, and users will get a horizontal scrollbar.

Other Character Codes...

There are other special characters that have a special meaning in HTML. For example, the angle brackets ("<" and ">") are used to help define an HTML tag. But, if you want to actually display an angle bracket in the browser window, you will have to learn the character code into your HTML.

Below are some of the most common character entity codes. For a longer list, see our reference sheet.

Common Character Entity Codes

Code

Display

Description

&nbsp;   non-breaking space
&lt; < less-than sign
&gt; > greater-than sign
&quot; " quotation mark
&amp; & ampersand
&copy; © copyright symbol

back to top

Putting it all together...

Here is an example of how to use character codes in your text...

<p>&quot;I like math,&quot; said the girl.</p>
<p>&quot;Really?&quot; said the boy. &quot;I personally have a hard time with inequalities.&quot;</p>
<p>&quot;They're easy!&quot; said the girl. &quot;3 &lt; 5.&quot;</p>
<p>&copy; Copyright 2002</p>

See live example!

In the next tutorial, we'll look at how to make bulleted, numbered, and other kinds of lists.


Was this helpful?

Please rate this article:

Not helpful Very helpful
1 2 3 4 5 6 7

Email address: (not required)

(Please provide your email address if you would like PixelMill support to follow-up with you about your comment. You're email address is NOT REQUIRED to submit a comment.)

Comments: (How can we improve this article?)


Clicking "Submit" will not clear this page.


link to this page: http://www.pixelmill.com/support/al1065/kb101449.htm
permalink to this article: http://www.pixelmill.com/support/kb101449.htm

Back to top

Items you recently viewed:


pm46519htdl1
$98.00

pm45887dwdl1
$94.00

pm45779fpdwtdl1
$87.00

pm46207fpdwtdl1
$98.00


PixelMill EDU

Introducing...

PixelMill EDU™ is an innovative and proprietary online training series designed to aid the do-it-yourself Web builder in transitioning to new Web editors, coding standards, and Web technologies.

Webinars and Seminars:

FrontPage to SharePoint Designer Series
This is a 6-Week series designed to give you strong exposure to the new SharePoint Designer web editor and interface, along with examples of working with Windows SharePoint Services and tips for transitioning from FrontPage.
Register Now!

Tables to Tableless CSS Series
This is a 6-Week series designed to help you transition from building Tables-based Web site layouts to working with CSS to edit and build Tableless Web site layouts. For all Web builders using Dreamweaver, Expression Web, or any other web editor.
Register Now!

FrontPage to Expression Web Series
This is a 6-Week series designed to give you strong exposure to the new Expression Web software and interface, along with tips for transitioning from FrontPage.
Register Now!

Learn more and register!

ADVERTISEMENT
adventisement