big tag
i tag
small tag
tt tag
TAG: b
<b> ... </b>
The
b
tag causes the designated text to be displayed in a bold weight. If bold is not available for a particular font, the browser may impose some other physical change to the text, such as underline.
This can also be done using the style sheets
font-weight
property.
The separate closing tag is mandatory.
Core attributes:
class
dir
id
lang
onclick
ondblclick
onkeydown
onkeypress
onkeyup
onmousedown
onmousemove
onmouseout
onmouseover
onmouseup
style
title
Attributes
None
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="eng">
<head>
<title>DevGuru XHTML b Tag Example</title>
</head>
<body>
<
b
>DevGuru<
/b
> products are great!
</body>
</html>
Output:
DevGuru
products are great!
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information