HTML Text Formatting | Comments in HTML 5

In this lecture, we are going to discuss HTML Text Formatting | comments. In the previous tutorials, we discussed HTML headings and their importance.

HTML Text Formatting

HTML defines the different styles of Text Formatting and every single Element has a special meaning. Like, Elements is used to define Bold text, and Elements is used to define Italic text. HTML contains many elements to use in text formatting.

HTML Comments

In the Source Code, Comments are used to write the description. It is very helpful to read the source code. Comments in HTML start with Elements and End with –>. The browser ignores the comments at runtime. The Browser does not show it in the output result. You can also use multiline comments in HTML.

The source code of Text Formatting | Comments




Text Formatting






 This is Bold text 
This is Italic Text
This is strong Text

This text is Deleted


This is superscripts text

This is suberscripts text

Detailed of Example Program

[mks_pullquote align=”left” width=”848″ size=”15″ bg_color=”#83d648″ txt_color=”#ffffff”]
Bold Text in HTML

The HTML Tag is used to define bold Text, and have no extra priority.

This is Bold text

Output: This Bold text

[/mks_pullquote] [mks_pullquote align=”left” width=”848″ size=”15″ bg_color=”#d8c047″ txt_color=”#2d2d2d”]
Italic Text in HTML

Elements is used to define Italic Text.

This is italic Text

Output: This is italic Text

[/mks_pullquote] [mks_pullquote align=”left” width=”848″ size=”15″ bg_color=”#83d648″ txt_color=”#ffffff”]
Strong Text in HTML

The HTML Tag is used to define strong Text, and have some semantic extra priority.

This is Bold text.

Output: This strong text.

Deleted Text in HTML

The HTML Tag is used to define Deleted Text.

This   text is deleted.

Output: This  text is deleted.

[/mks_pullquote] [mks_pullquote align=”left” width=”848″ size=”15″ bg_color=”#83d648″ txt_color=”#ffffff”]
SuperScripts Text in HTML

The HTML Tag is used to define superscripts Text.

This   text is superscripts.

Output: This  text is superscripts.

[/mks_pullquote] [mks_pullquote align=”left” width=”848″ size=”15″ bg_color=”#d8c047″ txt_color=”#2d2d2d”]
SubScripts Text in HTML

The HTML Tag is used to define subscripts Text.

This   text is subscripts.

Output: This  text is subscripts.

[/mks_pullquote]

To get the list of Text formatting Elements, write a simple query on your search engine.

I hope this article is very helpful to understand the basic concept of HTML Text Formatting | Comments. You can also learn about CSS3, PHP7, and Computer Graphic. Give your Feedback. Thanks.

Categorized in: