Level no.3

 Lecture 3

In this lecture I study about tags which are used in html.

Bold: 
To do text bold in html. we use tags <b> </b>. For example <b> Hello World </b>.Hello World

Italic:
To do text  italic in html.we use tags <i> </i>. For example <i> Hello World < /i>.Hello World 
 
Underline:
To place line under any text. we use tags <u> </u>. For example <u> Hello World </u>  Hello World

Strike:
To use Strike tag in html for unimportant and inaccurate text. For example <strike> 100 </strike>.100 

How to create random paragraph in html?
We use "lorem" keyword to create random paragraph in html.          


How to use ?
<p> lorem <p>.

To keep paragraph  on  one page:
To keep paragraph on one page in html we use "Alt+Z" keyword. 

Superscript and Subscript in html

We use superscript and subscript in html to write any formula's and power of a number.

Superscript:
 Superscript  is used in html for Exponents and Superior lettering.To define superscript, <sub> tags are used.
For example: 2<sup>4</sup>


Subscript: 
Subscript is used  for half of the character below the normal line. To define subscript, <sup> 
tags are used.
For example:
H<sub>2</sub>SO<sub>4</sub>.

How to produce line break in html?
To produce line break in html we use <br> tag. This tag have no closing tag.
For example:
<p> Apple is a fruit</p> <br>

Comments

Post a Comment

Popular posts from this blog

Level no.4

Level no.21