Formatting in html

In this part of the tutorial you will learn how make different formats for html. There are many formatting for html but the main three are underlining, bolding, and italics.

Underlining

To under line in html you have to use the code <ins>. <ins> stands for inserting and you can do anythings with it. To end it you have to use </ins>

Ex.
<p>My favorite <ins>color</ins> is red.</p>

Bolding

To make a word or words bold, you have two choices to choose from. One is just simply  <b> and the other option is <strong>. To close the the bold for <b> it is </b> and to close it from <strong> it is </strong>

Ex.

<p><b>This text is bold</b>.</p>

<p><strong>This text is bold</strong>.</p>

No comments:

Post a Comment