<B> Tag & its Attribute

HTML Tag <B>

<B> Indicates text that should appear in boldface.

Attribute of <B> Tag

CLASS

Indicates which style class applies to the <B> element.

<B CLASS="casual">Cs-Tutorial</B>


Possible Values

Any Class name that you define.



ID

Assigns a unique ID selector to an instance of the <B> tag. When you assign a style to that ID selector, it affects only that one instance of the <B> tag.

I work for <B ID="123">Cs-Tutorial.com</B>


Possible Values

Any ID name that you define.



STYLE

Specifies Style Sheet commands that apply to the contents within the <B> tags.

<B STYLE="background: red">


Possible Values

Any css property with value.



TITLE

Specifies text assigned to the tag. You might use this attribute for context-sensitive help within the document. Browsers may use this to show tool tips over the boldface

<B TITLE="Species">Dog Species</B>


Possible Values

Any Text Message.




CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz