How to Make Text Bold in HTML Simple Tutorial
How to Use the HTML <b> Tag for Bold Text (With Examples)
✅ Bold Tag HTML
The HTML <b> tag which represent bold text in HTML webpage.<b> and <strong> Elements The <b> tag should used to markup text as the bold without conveying any extra importance.The <b> tag is written as <b> .....</b> with the text to be bold inserted between the start and end tags..
The HTML <strong> element defines text with strong importance. The content is inside is type.
<strong>This text is important!</strong>
✅<b> Bold Tag
Syntax :
<b> Text here</b>
✅how to bold with html
Example
✅ how to bold with html
Explain Program
Step 1 ]
<!DOCTYPE html>
- document type declaration.
- browser help this is an HTML5 document.
<!DOCTYPE html>
- document type declaration.
- browser help this is an HTML5 document.
Step 2 ]
. <html> ... </html>
- root element of the HTML document.
- <html> tag is part of the web page.
. <html> ... </html>
- root element of the HTML document.
- <html> tag is part of the web page.
Step 3 ]
<body> ... </body>
- HTML document that holds visible content on the page.
- A heading (<h2>)
- An input button (<input type="button">)
- list tag
- ext...
<body> ... </body>
- HTML document that holds visible content on the page.
- A heading (<h2>)
- An input button (<input type="button">)
- list tag
- ext...
Step 4]
|
Bold text |
|
Displays the text in bold using the <b> tag. |


Comments
Post a Comment