b is an HTML tag that is used to specify bold text within an HTML document. While not deprecated in the W3C HTML specification, it is suggested that webmasters separate style from content by using cascading style sheets instead of the b tag. It is, however deprecated in the newer XHTML specification, where it is replaced by the strong tag (i.e., strong emphasis).

See also: em, i, strong, s, strike, tt, u.

Attributes

There are no required HTML attributes for the b tag, and in fact, attributes are seldom used with this element. Regardless, the following are all valid options for the bold tag in your HTML documents:

Usage

To use the b tag, simply place opening and closing HTML tags around the letters or words. For example:

I like to use <b>bold text</b> in my sentences.

On browsers that support this tag, this will cause the words "bold text" to appear darker and thicker than the surrounding text.

Everything2 Support?

E2 does provide limited support for the b tag. E2 does not provide support for any of this tag's HTML attributes. Below is how your browser displays the example above here on Everything2:

I like to use bold text in my sentences.

If you would like to use this tag with any or all of its attributes, you can do so in your Notelet Nodelet.

Common Browser Implementations*

Most web browsers support this tag, as it has been around since at least HTML version 2. Nearly every browser displays bold text in a similar manner, however you may see some very slight differences depending on your browser or operating system.

Previous HTML Tag: area (previous E2 supported HTML tag: acronym)
Next HTML Tag: base (next E2 supported HTML tag: big)
See Also: HTML tags and HTML attributes


* Please feel free to send me information if you know of any browsers that implement this tag in an unusual manner.