<b> - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:b

Introduction

<b> element can denote Keywords and product names.

The b element marks a span of text without indicating any extra emphasis or importance.

The b Element summary.

Item Value
Element b
Local AttributesNone
Contents Phrasing content
Tag StyleStart and end tag required
New in HTML5 No
Changes in HTML5 HTML5 b has the semantic meaning

Style Convention

b {
   font-weight: bolder;
}

Using the b Element

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
   <head></head>
   <body>
       I like <!-- w ww.  j a  v  a2 s . com-->
      <b>CSS</b>
       and 
      <b>HTML</b>
      .  
   </body>
</html>

Related Tutorials