Everything2
Near Matches
Ignore Exact
Full Text
Everything2

HTML Special Characters

created by zetes

(idea) by SharQ (3.9 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
The best nodes of all time:
You can do anything
What if architecture was like web design?
Fine paintbrush, light strokes, special paint
Ashurbanipal
Ripping off soda machines
Stay Gold, Ponyboy
Intacto
OBD-II
Driving in Europe: A guide for Yanks
Stanley Kubrick
Hydrogen engine
A Snarl in the Darkness
The Raven (The Edgar Allan Porn version)
New Writeups
aneurin
Hilary Armstrong(person)
giantcactus
The Power of Electricity(personal)
TheLady
Eggs and tomatoes(recipe)
TheLady
Don't get me wrong - I'm a feminist(essay)
Scaevola
Scissors murder(person)
Yakushin
Green Chile Pecan, Red Chile Apple Pies(recipe)
TenMinJoe
BookMooch(idea)
Yakushin
Merlin(review)
Apatrix
Editor Log: May 2008(log)
Apatrix
Eggs and tomatoes(recipe)
locke baron
Sverdlov class cruiser(thing)
arcanamundi
IN THE GRIM FUTURE OF HELLO KITTY, THERE IS ONLY WAR.(fiction)
Glowing Fish
Northern Effect(idea)
Jet-Poop
Why I love Everything2(essay)
Rancid_Pickle
Old Scrotch Xmas(fiction)
This page courtesy of The Everything Development Company