Everything2
Near Matches
Ignore Exact
Full Text
Everything2

E2 HTML tags : Chapter 3

created by N-Wing

(idea) by N-Wing (2.2 d) (print)   ?   1 C! Fri Feb 11 2000 at 7:27:48

All parts of this HTML guide for Everything 2 include:
(all chapters)   |   Overview/Contents/Index   |   Tags and Starting New Lines   |   Character Formatting   |   Special Characters   |   Lists   |   Giving Credit Where Credit is Due   |   Miscellaneous Tags   |   EOF: Index and Information   |   (Quick Start)


3: Special Characters



3.1: Special Normal Characters

If you've been experimenting with drugs, I mean, HTML, you may have been having trouble displaying things like a less-than sign, < . There is a simple reason for, and solution to, that problem.
The reason: < and > are reserved for denoting a tag (that should be obvious enough by now) and & starts a character entity reference. What is that, you ask? Well, just read on for an answer...

These character entities allow numerous symbols to be inserted into normally ASCII-only HTML files. Always use these entities instead of just typing them:

  • &amp;   to show   &   (ampersand)
  • &lt;    to show   <   (less than)
  • &gt;    to show   >   (greater than)

     You may find &nbsp; useful when spacing is important. For example, I started this paragraph with "&nbsp; &nbsp; &nbsp;" to give the first line a slight indentation. I also stuck in several non-breaking spaces in the above unordered list to align the elements better.



3.2: Using square brackets in Everything

A specific "problem" with Everything is the inability to insert the square brackets, [ and ], without forming a link. The best way that I've found to deal with this by using

  • &#91;   to show   [   (left/opening square bracket)
  • &#93;   to show   ]   (right/closing square bracket) (this generally isn't needed, but makes runaway links easier to spot, and provides balance with the required way to escape in open square bracket)



3.3: Math symbols

There are many other cool symbols you can include using character entities, like ² ³ (superscript 2 (&sup2;) and 3 (&sup3;)), α × β ÷ γ ∫ δ ‾ ◊ ‰ € ∇ , but not all browsers support all these characters, so you may want to just stick with & < > [ ] .
Of course, if you're feeling adventurous, a full list of character entities allowed in HTML 4 is available from the W3C at
http://www.w3.org/TR/html4/sgml/entities.html
and in the writeup HTML symbol reference.


previous: Chapter 2: Character Formatting     |     next: Chapter 4: Lists


printable version
chaos

E2 HTML tags : Chapter 4 HTML symbol reference E2 HTML tags : Chapter 2 E2 HTML tags : Chapter 1
E2 HTML tags : Chapter 5 E2 HTML tags E2 HTML tags : Chapter 0 E2 HTML tags : Chapter 6
E2 HTML tags : Quick Start A-Wing cool How to give a blow job
color sic HTML Special Characters B-Wing
nest center right That's My Band!
E2 HTML tags : Chapter 7 palm tab character entity reference
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
Look at this mess the Death Borg made!
How to determine whether a number is divisible by 3
Fear and Trembling
Walking Man, An Annotated Index
literature like acorns
avisodomy
Thrasymachus
Zephyrhills
Benoit Mandelbrot
Tortoise
beekeeping
The Lovecraftian compulsion to keep writing even as one is being devoured
Japanese Kanji
monitor
New Writeups
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)
locke baron
Multiple Myeloma(thing)
Everything 2 is brought to you by the letter C and The Everything Development Company