Tutorials

KodeKite Tools

HTML
Flexbox
SVG
Canvas
HTML Tutorial

More


HTML Bold Text
Formatting Elements

Formatting elements are used to format the html documents and display special types of texts, each element has different format and style.


  • Bold
  • Italic
  • Underline
  • Monospaced
  • Strike
  • Subscript
  • Superscript
  • Inserted
  • Deleted
  • S
  • Small
  • Large

You can apply these elements to any element to decorate it.

Bold Element

Bold is a formatting element used to make font's weight bold, bold means make font weighted, bolded text or content has no any extra importance.

Syntax

<b>Content</b>

Or

<tag><b>Content</b></tag>


You can apply bold element to any element and use any where within a HTML document.


Example

Bolded Text


Bold is a pair tag and output of bold element is weighted text like you can see in above example.


Practice Task

Open notepad or any other text editor, follow the following points.


  • Create any HTML element
  • Make it bold by using <b> element

save file with name task.html or task.htm and then open it using any browser and see results.


Solution

heading 5 with bold element

Don't forget bold is less important element than Strong Element