| In our last episode, <
[email protected]>, the lovely and
talented
| Looney broadcast on alt.html:
|
| > I recently noticed that I have a lot of span-s in html code of my
website.
| > Every third sentence is marked like this: <span lang="en">.
|
| > What should I do? To erase all span tags or to leave it like that?
|
| I think the question turns on whether there is any useful purpose being
| served. How are foreign words and phrases treated in print in your
| language?
|
| In English, it is customary to use italics for foreign words and phrases.
| Marking them with EM is wrong because a italic font in this case does not
| indicate emphasis. Marking them with I is not logical markup. So it
might
| be useful in English to use SPAN for logical markup and to style it in
| accord with the conventions of English typography so that <span
| lang="de">gift</span> would be both logically and typographically distinct
| from gift. Of course, <span lang="fr">hôtel</span> would be
pointless
| in most contexts because hotel is now a thoroughly naturalized English
word.
|
| You may wish to consider the typographical conventions of your own
language.
| These tags do seem to represent some information that would be easy to
| destroy and difficult to restore. If it is useless information, delete
it,
| but think whether it is useless first.
|
| --
| Lars Eighner <
http://larseighner.com/> (e-mail address removed)
| Countdown: 232 days to go.
Thanks for telling me this.
But the reason of spans in my case is:
"If you set the page language to a language different from the keyboard
language, any text that you type on the page is encapsulated with the
following tag:
<span lang="keyboard language code">"
Thx all!
Looney