HTML Text

In this tutorial, we learn how to perform different type of operation on the text. Here list of areas which we covers:

  • Entities

  • font

  • formatting

Entities:

An entity is a symbol that is displayed on a webpage in a different format.

It is a combination of three parts:

  • &

  • number or name or #

  • ;

For Ex: If we want to print greater than symbol then we write it as

             >

Result:

            >

List of Important Entities: 

 , <, >, ", ', ÷, ×(for multiplication), ©(copyright symbol), ®(trademark symbol).

Font:

<font> tag used to set the size, color, and face of text.

  • size - Takes a numerical value

  • face - Specifies the font of the text

  • color - Specifies the color of the text with a color name, hexadecimal value, or RGB value.

Example.

                        

                        <font size="4">font size 4</font>
                        <font size="4" face="Georgia" color="green">This is codersarts</font>

Formatting:

​In this, we will learn many different types formatting styles:

  • <b> for bold

  • <i> for italic

  • <u> for underline

  • <h1> for big, <h2><h3><h4><h5>, <h6> for small

  • <center> for align text center

 

  • <abbr> for abbreviation

 

Result:

      Intro.

     Move your mouse over 'Intro.' to find out what it is an abbreviation of.

  • <code> display computer coding style font 

There are many other tags but here we cover all important and basically used in HTML page developing.

Example.

                          

                           <abbr title="Introduction">Intro.</abbr>

Example.

                          <center> hello </center>

Conclusion
In this we have covers all text related activity and something other we find then add soon to give perfect tutorials.

Powered  by Codersarts