How to Make Text Bold in HTML Simple Tutorial

 How to Use the HTML <b> Tag for Bold Text (With Examples)

How to Make Text Bold in HTML Simple Tutorial for Beginners

✅ 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 

<!Doctype html>

<html>  

<head>                                        

   <title>Bold Body Tag </title>

</head>

<body>

<b>This is  BOLD Body Tag</b>

</body>

</html>

✅ how to bold with html

Explain Program
Step 1 ]

<!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.

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...

Step 4]  

Bold text

 bold tag use

 

Displays the text in bold using the <b> tag.


✅ Bold  Tag  HTML

Output 


How to Make Text Bold in HTML Simple Tutorial for Beginners



Related Post :-

Comments

Popular posts from this blog

HTML Tag

CSS Text Color Explained with Syntax and HTML Examples

html script tag attributes

CSS text-emphasis-color Property

HTML Input Type Submit Syntax and Example

CSS Padding Property Explained

How to Display T Pattern in C with Star (*) – Step-by-Step