HTML BOLD tag is Delineated by <b> Tag.
The HTML <b> Tag is employed to show the written communication in daring format. it’s strictly a display part. If you would like to indicate your text in daring letters and not have real linguistics that means, then place it among <b>…….</b> Tag.
Difference between hypertext markup language <b> and <strong> Tag
The <b> Tag is specific whereas the sturdy tag is linguistics. The <strong> Tag adds further linguistics desiring to the hypertext markup language document.
It is suggested to use the sturdy tag for a Strong format currently.
Example:- The B and Strong tags are used to highlight certain text in a paragraph as shown below.
B tag
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>B and Strong TAG </title>
</head>
<body>
<p>This is normal text - <b> and this is bold text </b>.</p>
<p><b>Amitabh Bachchan</b> born Amitabh Srivastava;<b> 11 October 1942</b> is an Indian actor, film producer, television host, occasional playback singer and former politician known for his work in Hindi cinema. He is regarded as one of the most influential actors in the history of Indian cinema. <b> During the 1970s–1980s,</b> he was the most dominant actor in the Indian movie scene; the French director François Truffaut called him a <b>"one-man industry".</b></p>
</body>
</html>
Output:-
This is normal text – and this is bold text .
Amitabh Bachchan born Amitabh Srivastava; 11 October 1942 is an Indian actor, film producer, television host, occasional playback singer and former politician known for his work in Hindi cinema. He is regarded as one of the most influential actors in the history of Indian cinema. During the 1970s–1980s, he was the most dominant actor in the Indian movie scene; the French director François Truffaut called him a “one-man industry”.
Strong Tag
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>B and Strong TAG </title>
</head>
<body>
<p>This is normal text - <strong> and this is bold text </strong>.</p>
<p><strong>Amitabh Bachchan</strong> born Amitabh Srivastava;<strong> 11 October 1942</strong> is an Indian actor, film producer, television host, occasional playback singer and former politician known for his work in Hindi cinema. He is regarded as one of the most influential actors in the history of Indian cinema. <strong> During the 1970s–1980s,</strong> he was the most dominant actor in the Indian movie scene; the French director François Truffaut called him a <strong>"one-man industry".</strong></p>
</body>
</html>
Output:-
This is normal text – and this is bold text .
Amitabh Bachchan born Amitabh Srivastava; 11 October 1942 is an Indian actor, film producer, television host, occasional playback singer and former politician known for his work in Hindi cinema. He is regarded as one of the most influential actors in the history of Indian cinema. During the 1970s–1980s, he was the most dominant actor in the Indian movie scene; the French director François Truffaut called him a “one-man industry”.
One thought on “HTML B and Strong Tag”