ng**********@rediffmail.com wrote:
<ABBR title="foo">f</ABBR>
Just consider the situation like the above. If we use such markup,
search engines (tried only Google) don't access the "foo". Is there
anyway to make it accessible for search engines too? TIA
This isn't about CSS but HTML. F'ups set accordingly.
Both <abbr> and <acronym> are rather useless, for several reasons, see
http://www.cs.tut.fi/~jkorpela/html/abbr.html
Search engines probably don't use content of title attributes much (not to
be confused with <title> elements, which are very important). There's no
reason why they couldn't or shouldn't, but they probably don't. And, after
all, those attributes aren't part of the normal textual content, which is
what really matters to search engines.
The simple way to make the expansion of an attribute accessible to search
engines, and to human beings, is to explain them in normal text. For
example,
.... foo, abbreviated "f", ...
or
.... foo (f) ...
ObCSS: If you use <abbr> or <acronym>, it's best to include at least
@media print { abbr, acronym { border: none; } }
to remove the default bottom border that many browsers draw (and that might
be useful on screen, but hardly on paper), and
abbr, acronym { font-variant: inherit; letter-spacing: inherit; }
as a cheap insurance against future browsers that might apply the clueless
"sample style sheet for HTML" contained in the CSS 2.0 specification
(and preserved even in the CSS 2.1 draft, now named as "default style
sheet!").
--
Yucca,
http://www.cs.tut.fi/~jkorpela/