Everything2
Near Matches
Ignore Exact
Full Text
Everything2

HTML Special Characters

created by zetes

(idea) by SharQ (3.1 wk) (print)   ?   1 C! I like it! Tue Feb 19 2002 at 8:43:06

HTML is a quite versatile language. This means that pretty much whatever you want to express is expressable by using HTML. Some times, however, the regular character sets don't support certain letters. This is where the special characters come in.

History

As far as I have been able to trace, special characters have been around since HTML 1.0 - all the way, in other words. This was necesary too, as the greater than and less then (> and <) symbols were used both in the HTML code itself, and by people writing about it. To solve this problem, entities were invented.

Usage

To use one of these entities, you begin with an ampersand (&), then the entity, and finally the semicolon (;) sign. That way, the browser knows to interpret the sign you are using as something else than regular text, namely HTML entities.

If you want to write the actual ampersand sign, you would wite "&amp;" in your code. When the web browser reads this, it shows an "&" sign, and everybody is happy.

As you can see from the listings, often the entity shows up as &something; instead of what you want it to show up as. Sadly, this is because not all browsers support all the entities, because you are missing a font, etc. You might try the ASCII code (looks like &291;) instead, but if it then doesn't show up, this makes your code even less readable. :)

Source

http://www.w3.org/TR/REC-html40/sgml/entities.html

For a complete list of HTML special characters, check out the HTML symbol reference. For info on how to use them on E2, you might want to look at E2 FAQ: Using Special HTML Characters


printable version
chaos

HTML symbol reference How to make ASCII characters in HTML """""'"" E2 HTML tags
Table of ASCII Characters Special Alt key characters & accents HTML /me misses happiness
Money: A Suicide Note Unicode Hebrew alphabet Man was created in God's image
Chocolate Jesus ASCII characters International Phonetic Alphabet modal musical scales
writing skills Sleater-Kinney Predicate Logic Everything logic symbols
SGML W3 Bjork True neutral
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Things you could have written:
I like the way he reads poetry
Nobel Prize in Physics
Gerontion
Irish Wake
Middle English
Using Unicode on E2
Lesbians! Monkeys! Soy! Google!
Eminem
Everything Stops for Tea
morphine
Home Life in Ancient Greece
Alcibiades
Boris Johnson
New Writeups
locke baron
Moskva class antisubmarine cruiser(thing)
Wuukiee
May 15, 2008(idea)
locke baron
Kuznetsov class aircraft carrier(thing)
_lesra
for abby(thing)
Adaptive Child
Annie's garden salsa(recipe)
Simulacron3
Zig-Zag(thing)
Ouzo
Special Grilled Cheese(fiction)
Noung
Tiananmen Square Massacre(idea)
aneurin
Lord St Clair(person)
artman2003
Assholes and Douchebags: A Comparison(person)
locke baron
Tyan Thunder K8WE(thing)
locke baron
Udaloy class destroyer(thing)
Scaevola
Same-sex marriage(idea)
SteveMurrayFromNZ
British Standard Handful(idea)
nailbiter
nerve stapling(thing)
Everything 2 is brought to you by the letter C and The Everything Development Company