Home Tutorial Html Html5 HTML5 bold tag, Definition of bold <b> tag in html5.

 
 

HTML5 bold tag, Definition of bold <b> tag in html5.
Posted on: September 2, 2010 at 12:00 AM
Advertisement
Definition of bold tag in HTML5.

HTML5 bold tag, Definition of bold<b> tag in html 5.

In this illustration we will discuss use of <b> tag in html5 and its implementation in the html document.

The <b> tag is used for setting the words in bold style. The <b> tag specifies the text in the document for clarifying  with the surrounding text. The use of <b> tag will highlight the text/ title. 

This tag convey extra importance on the text such as Keywords, Abstract, Headings etc.  

This tag is used as last option when no other tag is found suitable.

Declaration syntax:

The syntax for declaring the tag is:

            <b>Content</b> .

The text which we want to show in bold format is written within the <b></b>tags.

Here is the example of implementing the <b> tag.

Example:

BoldTagExample.html.

<!DOCTYPE html >
<html>
 <head>
  <title> Example Bold(<b>tag </title>
  </head>
 <body>
  you work on <b>JAVA</b> Technology.
 </body>
</html>

Output.

 

Note: See the browser compatible page for successfully rendering the program.

Download This Example.

Advertisement

Related Tags for HTML5 bold tag, Definition of bold <b> tag in html5.:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: September 2, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com