Web Development Course - Class #2 - CS Expert

Latest

Random Posts

Seo Services

Thursday, October 11, 2018

Web Development Course - Class #2



Bold And Italic Tags
Bold Tag:

This tag is used to bold the character to appear bold by enclosing that character with <b> and </b>
For Example:
<p>This is how we make a word appear <b>bold.</b>  </p> <p>Inside a product description you might see some   <b>key features</b> in bold.</p>
Italic Tag:
This tag is used to Italic the character to appear Italic by enclosing that character with <i> and </i>
For example:
<p>This is how we make a word appear <i>italic</i>.  </p> <p>It's a potato <i>Solanum teberosum</i>.</p> <p>Captain Cook sailed to Australia on the   <i>Endeavour</i>.</p>
Superscript & Subscript:

Superscript:

The <sup> element is used to contain characters that should be superscript such as the mathematical concepts like raising a number to a power such as x2

Subscript:

The <sub> element is used to contain characters that should be subscript. It is commonly used with foot notes or chemical formulas such as H20.

For Example:
<p>On the 4<sup>th</sup> of September you will learn   about E=MC<sup>2</sup>.</p> <p>The amount of CO<sub>2</sub> in the atmosphere   grew by 2ppm in 2009<sub>1</sub>.</p>


Line Break Tag

If you wanted to add a line break inside the middle of a paragraph you can use the line break tag <br />
For Example:
<p>The Earth<br />gets one hundred tons heavier   every day<br />due to falling space dust.</p>
Horizontal Lines Tags
Horizontal line tag is used to draw horizontal lines to separate one topic from other topics.
For example:
<p>Venus is the only planet that rotates   clockwise.</p> <hr /> <p>Jupiter is bigger than all the other planets   combined.</p>


No comments:

Post a Comment