--- [EMAIL PROTECTED] wrote:
> i have a page with text that i
> want highlighted. i
> currently have the text in "<a>text</a>" and styled
> with css. what is
> the best practice, semantically, to achieve this, as
> <strong> is not
> what i want, because i don't want someone to get
> yelled at by their
> screen reader. i guess what i am looking to do is
> emphasize the text so
> it will stand out on the page and be treated the
> same by a screen
> reader. is this what the <em> tag is for?
Without knowing more about the context, I think a
<span> tag would be appropriate. As usually, give the
tag a meaningful class name that describes the text
being highlighted and use that consistently, and then
style the tag in CSS as needed:
<span class="errormsg">You have an error in your form
input.</span>
<style>
span.errormsg { color: red; }
</style>
Do you have any specific examples?
-Sam
--
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************