===========================================================================
Today on The World Vol. 4 #156 Monday, June 15, 1998
===========================================================================
Here's a simple (yet cryptic) addition to your HTML toolkit: entities.
You can skip this section if you don't feel like tackling them --
it's filled with warnings along the lines of "these don't always work right"
and they don't do anything spectacular anyway. But if you read this section
you'll know how to put that umlaut on "fahrvergnugen".
Also, there's one timely announcement.
(kibo)
---------------------------------------------------------------------------
URL: Big Ride Across America
http://www.gtebigride.com/
This site is about an American Lung Association fundraising event - Big Ride
Across America - a bike ride from Seattle, WA to Washington, DC which will
begin tomorrow, June 15th. The ride will end August 1st and the web site
will be updated throughout that period so that progress of the participants
can be tracked hourly.
The "What Is It?" page says:
"In June 1998, 1,000 bike riders from all walks of life--most of whom have
never done anything like this before--will come together to push their
limits, inspire the nation with their dedication and drive, and help raise
over $8 million for a worthy cause. The race will last for 6 1/2 weeks but
the friendships, memories and self-knowledge gained will last a lifetime.
This is where you can learn everything you need to know about the GTE Big
Ride--from the basic facts of the race to sponsorship information and
highlights of the trip."
Many of the participants will be people who suffer from some form of lung
disease. One of the riders, Mary Pierce, had a double lung transplant a few
years ago and has ridden as a competitor in bicycle events worldwide since
then. Another rider, Shirley St. Cyr, who is originally from New Hampshire,
suffers from genetic emphysema. Shirley will be riding with her oxygen tank
strapped to her bike. These two women as members of TeamAlpha1 participate
in ALA sponsored cycling events across the country, to raise awareness of
lung disease and the importance of organ donation as well as to raise funds.
There is more information about TeamAlpha1 and about genetic emphysema at
http://www.alphaone.org/teamalpha1/BigRide.htm and at
http://www.alphaone.org/
(contributed by Mary E. Sayre)
---------------------------------------------------------------------------
HTML TUTORIAL -- CHAPTER 8 -- ENTITIES
8.1 Entities
Entities are used for inserting special characters (such as accented vowels,
non-breaking spaces, or copyright symbols) into HTML files. They begin with
"&" and end with ";", as in "&entityname;" and are one of the few things in HTML
which is case-sensitive; in other words, "ö" and "Ö" are different
(lowercase and capital O with an umlaut.) Try adding this HTML to your
practice page:
This is ä test. © 1998. 2+2<5
If everything works you should see an "a" with an umlaut (two dots),
a circled "C" copyright symbol, and a "less than" symbol (you wouldn't
normally be able to put a "<" on your page because it's a "meaningful
character" in HTML.) Entities give you ways of putting in exotic characters,
and referring to things like "<" and ">" that you couldn't otherwise use:
If you want your text to look like this,
type <B>this<B>.
Some browsers support wide ranges of named entities (like "©" for
copyright), some support hundreds of numbered entities (like "©"
for copyright), some support both. If you use exotic entities, it is best
to test your HTML file with every version of every browser you can find
for Mac OS, Windows, and UNIX, as the support for entities varies widely.
Nonetheless, some entities are fairly standard:
non-breaking space
© copyright (circled C)
® registered trademark (circled R)
(some browsers also do ™ for a "TM" symbol -- note: it's not "&tm;")
" double quotes (")
& ampersand (&)
< less than (<)
> greater than (>)
is used when you want two words to stick together and not split
up at the end of a line when the browser wraps it to fit in the window.
For instance,
Hello, my name is J. P. Morgan, and my phone
number is (555) 123-4567."
Try that and make your browser window several different sizes
(narrower and narrower) to see where the line break occurs.
(In addition to making names and phone numbers stick together, I often
put between the last two words of each paragraph so that I won't
see the last word on a line by itself. You can also use it to make big
spaces, by stringing 's together.)
Space: The Final Frontier
© and ® make symbols. They were specified in an early version
of the HTML standard, and are supported by the major browsers. There
are hundreds of other symbols (all of which have named and numbered
entities) but these do not always display correctly currently. Some of
this is due to differences in the browsers, and some of it is due to
different kinds of computers having different character sets to start
with. More on the problems of entities later.
The last four listed above, ", &, <, and > are "escapes"
that let you put special characters in your HTML without having them actually
do something. For instance, if you want to say "I hate