<b> tag is used for specifying bold text.
The intention with this tag is to markup text as bold without conveying any extra importance. For example, this could be useful in article abstracts, where the beginning of an article is set in bold text.
According to the HTML 5 specification, this tag should be used as a last resort when no other tag is more appropriate. In particular, headers should use the
<h6> tags, stress emphasis should use the
<em> tag, importance should be denoted with the
<strong> element, and text marked or highlighted should use the
You can also use the CSS
'font-weight' property to set bold text.
HTML tags can contain one or more attributes. Attributes are added to a tag to provide the browser with more information about how the tag should appear or behave. Attributes consist of a name and a value separated by an equals (=) sign, with the value surrounded by double quotes. Here's an example,
There are 3 kinds of attributes that you can add to your HTML tags: Element-specific, global, and event handler content attributes.
The attributes that you can add to this tag are listed below.
The following table shows the attributes that are specific to this tag/element.
The following attributes are standard across all HTML 5 tags.
Event handler content attributes enable you to invoke a script from within your HTML. The script is invoked when a certain "event" occurs. Each event handler content attribute deals with a different event.
Here are the standard HTML 5 event handler content attributes.
|Glassy Chat Box Code with Reaction Emojis|
|Dark Neo Brutal Resume Template|
|Bootstrap Timeline with Colorful Lines and Icons|
|Simple Dark Vertical Timeline with Bootstrap|
|Nvidia RTX 3070 Graphic Card Hashrate and Mining Profitability|
|Nvidia RTX 3080 Graphic Card Hashrate and Mining Profitability|
|Flat Photo Frame Template|
|Cute Photo Frame Template|