The HTML bold tag is used for specifying bold text
<html>
<head>
<title>Cooltuts.com</title>
</head>
<body>
Hello Friends <b>I am bold</b> Welcome
</body>
</html>
Few attributes you can use in this bold tag
Title: some browser displays this text when the user keeps his cursor on this text example as shown below.
<html>
<head>
<title>Cooltuts.com</title>
</head>
<body>
Hello Friends <b title="bold text">I am bold</b> Welcome
</body>
</html>
Like title you can use
class, dir, id, lang, style, onclick, ondbclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup.
No comments:
Post a Comment