The original document uses
pairs of single quotes for quote marks. For instance, part of the
first paragraph looks like this:
over its head. ``Very uncomfortable for the Dormouse,'' thought Alice;
``only, as it's asleep, I suppose it doesn't mind.''
Notice that pairs of characters are used to open and close
each quotation. Your browser renders it like this:
over its head. ``Very uncomfortable for
the Dormouse,'' thought Alice;
``only, as it's asleep, I suppose it doesn't mind.''
We can improve the appearance of quotes by using the
“ and ” entities instead. The HTML will
look like this:
over its head. “Very uncomfortable for the Dormouse,” thought Alice;
“only, as it's asleep, I suppose it doesn't mind.”
Which your browser renders as:
over its head. “Very uncomfortable for the Dormouse,” thought Alice;
“only, as it's asleep, I suppose it doesn't mind.”
Use the Edit/Replace facility of notepad to replace
each `` with
“,
and each ''
with
”:
- From the Edit menu, choose Replace.
- Enter
`` as the “Find What”.
That's two left single quote characters, not a double quote!
Look in the upper left corner of the keyboard.
- Enter “ as the “Replace With.” Don't forget
the semicolon!
- Click “Replace All”
Repeat the procedure to replace
'' with ”.
The Mad Hatter sings an unusual version of Twinkle, Twinkle,
Little Star which involves bats. In the downloaded page, this section
looks like this (after the quote substitutions mentioned above):
“We quarrelled last March — just before <i>he</i> went mad, you know — ”
(pointing with his tea spoon at the March Hare,) “ — it was at the
great concert given by the Queen of Hearts, and I had to sing</p>
<p> `Twinkle, twinkle, little bat!
How I wonder what you're at!'</p>
<p>You know the song, perhaps?”</p>
<p>“I've heard something like it,” said Alice.</p>
<p>“It goes on, you know,” the Hatter continued, “in this way: — </p>
<p> `Up above the world you fly,
Like a tea-tray in the sky.
Twinkle, twinkle — ' ”</p>
<p>Here the Dormouse shook itself, and began singing in its sleep
In the browser, the line breaks are lost, the section looks like:
![[Song lines run together]](badflow.gif)
The <pre> tag is used to tell the browser to keep the original spacing.
Replace the <p>…</p> surrounding each section of the song with <pre>…</pre>
tags, and arrange the lines so the page looks like this:
![[Lines Arranged]](goodflow.gif)