[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

BGonline.org Forums

Better way to enter pound sign

Posted By: Taper_Mike
Date: Saturday, 10 May 2014, at 8:02 a.m.

In Response To: Better way to enter pound sign (David Levy)

The HTML encodings that begin with an ampersand (&) are called character references. There are two kinds. When they use numbers, they are called numeric character references. When they use alphabetic descriptions, they are called character entity references. There are an enormous number of them. You can see many on the following pages:

http://dev.w3.org/html5/html-author/charref
http://www.w3.org/TR/2011/WD-html5-20110113/named-character-references.html

I am no expert, but what I have read usually recommends against using character references except for a handful of characters such as & and < that are central to HTML. If the document font includes a character such as £, best practice is to enter it without using a character reference. This produces HTML source that is much easier to read and maintain.

For a simple post at BgOnline, however, concerns about creating a maintainable source do not apply. By all means, use & p o u n d ; instead of £, if that is your preference.

Mike

Messages In This Thread

 

Post Response

Your Name:
Your E-Mail Address:
Subject:
Message:

If necessary, enter your password below:

Password:

 

 

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

BGonline.org Forums is maintained by Stick with WebBBS 5.12.