Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
HTML DOM Bold object
The HTML DOM bold object is associated with the html (bold) tag. The tag is used to make the text inside the tag bold .Using the bold object we can access the HTML tag.
Syntax
Following is the syntax for ?
Creating a bold object ?
var x = document.createElement("B");
Example
Let us see an example for the HTML DOM Bold object ?
Click the below button to create a element with some text
Output
This will produce the following output ?

On clicking CREATE ?

Advertisements
