Home >> HTML 5 >> What is Text Formatting in HTML 5

What is Text Formatting in HTML 5

HTML Text Formatting Elements 
<b> - Bold text
<strong> - Bold with Important text
<i> - Italic text
<em> - Emphasized text
<mark> - Marked text
<small> - Smaller text
<del> - Deleted text
<ins> - Inserted text
<sub> - Subscript text
<sup> - Superscript text

Example

<!Doctype Html>  
<html>
<head>
</head>
<body>
      <b>This text is bold.</b><br>
      <strong>This text is strong.</strong>
</body>
</html>

Output

This text is bold.
This text is strong.

Post Your Comment

Next Questions
What is Comments
What is Colors
What is CSS
What is Links
What is Images
What is Favicon
What is Tables
What is Table Borders
What is Table Sizes
What is Table Headers
What is Table Padding and Spacing
What is Table Colspan and Rowspan
What is Table Styling
What is Table Colgroup
How many type of Lists
What is Unordered Lists
What is Ordered Lists
What is Block and Inline Elements
What is HTML class Attribute
What is HTML id Attribute
What is HTML Iframes
What is HTML JavaScript
What is HTML File Paths
What is HTML Head Element
What is HTML Layout

Copyright ©2022 coderraj.com. All Rights Reserved.