How to format in HTML


How to formatting in the HTML

HTML language give tags to the user to format the text used on the web pages.

 The tag syntax is the same as for the same tags in HTML.

Following are the some tags used on the HTML to format the text.


Bold tag :

    Used to bold the text.


Syntax:


<b>


Example:

<b>bold</b>


Output:

bold

Strong  tag :

    Used to show the important words.

Syntax:


<strong>


Example:

<strong>strong</strong>


Output:

 

strong

italic tag :

    Used to show italic style of text.

Syntax:


<i>


Example:


<i>bold</i>


Output: 

bold

Emphasized tag :

    Used to emphasized the text.

Syntax:


<em>


Example:

<em>Emphasized</em>



Output:

Emphasized

Mark tag :

    Used to mark the text.

Syntax:


<mark>


Example:

<mark>Mark</mark>



Output:

 

Mark 

 

 

small tag :

    Used to smaller text.


Syntax:



<small>


Example:

<small>Small</small>


Output: 

 

Small

del tag :

    Used to delete the text.


Syntax:



<del>


Example:

<del>delete</del>


Output:

 

delete


inserted tag :

    Used to insert text.


Syntax:



<ins>


Example:

<ins>Inserted</ins>


Output:

 

Inserted


subscript tag :

    Used to subscript the text.


Syntax:



<sub>


Example:

<sub>subscript</sub>


Output:

subscript

 

superscript tag :

    Used to smaller text.


Syntax:



<sup>


Example:

<sup>superscript</sup>


Output:

 

superscript

Comments

Popular posts from this blog

Diferrence between flutter and react native

Flutter Widgets

Flutter layout