I want to bold some arbitrary text. I am not sure if <b> is still the way to do it but if I want use css is it to use <span> to enclose the text and apply the style to <span>? But, I heard that <span> is deprecated so what tag should be used to delimited arbitrary text?
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
6
posted
0
Span is not deprecated.
look into CSS font-weight
Eric
Alec Lee
Ranch Hand
Joined: Jan 28, 2004
Posts: 568
posted
0
OReilly HTML & XHTML: The Definitive Guide 5th ed, Chap 8.5:
Although it is now deprecated, the <span> tag became part of HTML so that you could apply style, display, and event management to an arbitrary section of document content. Define a style for the <span> tag as you would any other HTML or XHTML tag