Pages

My third Lecture

                                                  Hyper Text Markup Language


 Third Lecture About

In this lecture we will discuss about Some more tags and list

  • Superscript tag
  • Subscript tag
  • Unordered List
  • Ordered List

What is Superscript Tag?

The superscript tag is used to add a superscript text to the HTML document. And for making a power.

  • <sup></sup>

It will be write like this:


And then the output will be is:

                                           2 2=4

                                           2 3=8

                                           2 4=16

                                           2 5=32

                                           2 6=64

                                           2 7=128

                                           2 8=256

                                           2 9=512

What is Subscript tag?

The subscript tag is to half the character below the line /below the number and it sometimes write in a smaller font. Subscript tag is used for chemical formulas of chemistry like ....,


Then the out will be:

  • formula of water

             H2O

  • formula of Oxygen

            H2

  • formula of Sulphur Dioxide

           SO2

  • formula of Ammonia

          NH3O

  • formula of  copper sulfate

          CuSO4O

Some more example of subscript:


And then the output is:


What is unordered list?

Unordered list is also known as Bullet list ,its is marked with bullets.

And it starts with <ul>tag and end closed with </ul> tag. And the list starts with <li> tag and closed with</li> tag.


And then the output is:

  • First
  • second
  • third
  • forth
  • fifth

For more Example:


And the output is:

  • Apple is a red fruit
  • Banana is a yellow fruit
  • Mango is a yellow fruit
  • Orange is a orange fruit
  • Pineapple is a green fruit


What is Ordered list?

The <ol> tag known as ordered list. An ordered list is a numerical or alphabetical list.

the <li> tag is used to define each list items.


Then the out put is:

  1. Apple is a red fruit
  2. Banana is a yellow fruit
  3. Mango is a yellow fruit
  4. Orange is a orange fruit
  5. Pineapple is a green fruit
For more Example:

And then the output is:
  1. First
  2. second
  3. third
  4. forth
  5. fifth


No comments:

Post a Comment