Text Formatting

Posted on

HTML Text Formatting Elements

  • Content Formatting
  • This content is striking
  • This content is italic
  • This is superscript

HTML Formatting Elements

In the past section, you found out about HTML styling, utilizing the HTML style trait. HTML additionally characterizes exceptional components for characterizing content with a unique significance.

HTML utilizes components like < b > and < i > for arranging yield, similar to strong or italic content.

Arranging components were intended to show exceptional sorts of content:

• Bold content

• Important content

• Italic content

• Emphasized content

• Marked content

• Small content

• Deleted content

• Inserted content

• Subscripts

• Superscripts

HTML Bold and Strong Formatting

The HTML < b > component characterizes strong content, with no additional significance.

Illustration

< p > This content is normal. < / p >

< p > < b > This content is bold < / b > . < / p >

The HTML < strong > component characterizes solid content, with included semantic “solid” significance.

Case

< p > This content is normal. < / p >

< p > < strong > This content is strong < / strong > . < / p >

HTML Italic and Emphasized Formatting

The HTML < i > component characterizes italic content, with no additional significance.

Sample

< p > This content is normal. < / p >

< p > < i > This content is italic < / i > . < / p >

The HTML < em > component characterizes underlined content, with included semantic significance.

Sample

< p > This content is normal. < / p >

< p > < em > This content is emphasized < / em > . < / p >

Programs show < strong > as < b > , and < em > as < i > .

In any case, there is a distinction in the significance of these labels: < b > and < i > characterizes intense and italic content, yet, < strong > and < em > implies that the content is “imperative”.

HTML Small Formatting

The HTML < small > component characterizes little content:

Sample

< h2 > HTML < small > Small < / small > Formatting < / h2 >

HTML Marked Formatting

The HTML < mark > component characterizes checked or highlighted content:

Sample

< h2 > HTML < mark > Marked < / mark > Formatting < / h2 >

HTML Deleted Formatting

The HTML < del > component characterizes erased (evacuated) content.

Sample

< p > My most loved shading is < del > blue < / del > red. < / p >

HTML Inserted Formatting

The HTML < ins > component characterizes embedded (included) content.

Sample

< p > My most loved < ins > color < / ins > is red. < / p >

HTML Subscript Formatting

The HTML < sub > component characterizes subscripted content.

Case

< p > This is < sub > subscripted < / sub > text. < / p >

HTML Superscript Formatting

The HTML < sup > component characterizes superscripted content.

Case

< sup > superscripted < / sup > text. < / p >

For more details and queries please feel free to email, visit or call us. Wishing you the very best for all your future endeavors.

Helpline: 9814666333, 8699444666

Email:info@technocampus.co.in

**************************************************************************************************************

Please fill the FORM and we shall contact you soon.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s