Highliting of Key Word in text

L

Larry

What HTML coding should I use to highlite just one key one in a
paragraph?

In addition to posting to this newsgroup, would you please e-mail to
me your response at:

(e-mail address removed)

Thanks

Larry S.
Los Angeles, CA
 
N

Nicolai P. Zwar

Larry said:
What HTML coding should I use to highlite just one key one in a
paragraph?

I'm not sure what you mean by "one key". One letter? One sentence? Or an
explanation key? You could use <em>X</em> and set the em tag (stands for
"emphasis") via stylesheets to whatever you want it to look like.
If it shouldn't be an "emphasis" but rather a neutral highlighting made
for design purposes, I'd suggest using <span>X</span>. You could use
<span style="background-color: yellow;">X</span>, for example.
 
J

Jukka K. Korpela

What HTML coding should I use to highlite just one key one in a
paragraph?

Assuming "key" means "key word" as in the Subject line, <strong> is
normally best for highlighting. It is rendered in bold face by default by
most browsers. This is a bit of a problem, since bolding is not
typographically good for serif fonts. But you can suggest a serif font
(using CSS), or suggest a different method for hightlighting, e.g.

strong { font-weight: normal;
background: #ffc;
color: black; }

(I just realized this is something new to the discussion <strong> vs.
<b>, which isn't very fruitful in general. There's nothing illogical in
suggesting a different presentation for <string>. There's a lot of
In addition to posting to this newsgroup, would you please e-mail to
me your response at:

No, that would be unfriendly since it would teach you bad habits. See
http://www.cs.tut.fi/~jkorpela/usenet/mail-responses.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,438
Messages
2,571,699
Members
48,796
Latest member
Greg L.
Top