<b> HTML Tag

In this article I explain the<b> tag,which is used for specifying bold text.
  • 1720

Introduction

The HTML <b> tag is used for specifying bold text.<b> tag is a font-style tag.

Attributes of <b>tag

Attributes Description
class Specifies a classname for an element
dir Specifies the text direction for the content in an element
id Specifies a unique id for an element
Style Specifies an inline style for an element
title Specifies extra information about an element
lang Specifies a language code for the content in an element

Lets take an example of <b> tag

<html>

<head>

    <title></title>

</head>

<body>

    The HTML is a <b>HYPERTEXT MARKUP LANGUAGE</b>

</body>

</html>

 

Output

 

The HTML is a HYPERTEXT MARKUP LANGUAGE

 
Ask Your Question 
 
Got a programming related question? You may want to post your question here
 
© 2018 DotNetHeaven. All rights reserved.