Text Bold tag in HTML5

Text Bold tag in HTML5

We Can add Text bold tag formatting to your text to Important Keywords and set them off from other text in a passage. For example, You Might make a Website name bold in a paragraph or add bold formatting to important terms in a list of items.

We can add bold text to a page by surrounding the text with <b> and </b> tags. In most Web browsers, the <strong> tag has the same effect as a bold tag.

Text Bold Tag

Step 1; Type <b> tag in font the text you want to make bold.

Step 2: Type </b> tag at the end of the text.

Note: We can also bold text using the font-style property in CSS,

Result Output

We can see the text that appears in the browser is bold

<!DOCTYPE html>
<html>
    <Head>
        <Title>Coding thai</Title>
    </Head>
    <body>
        Type of Web Developer 
        <hr>
        <p>
         A <b>front end developer</b> has one general responsibility: to 
          ensure that website visitors can easily interact with the page. 
       </p>
       <!--This is comment -->
       <p>
         A <b>Back-end developers</b> are the experts who build and maintain
         the mechanisms that process data and perform actions on websites. 
       </p>
    </body>
</html>

Follow us on Social Media For More

FacebookInstagramPinterest

Leave a Comment