Guidance portal

World of Guidance and Education

Text formats (bold ,italic,underline):

In chapter 4 you will learn how to change format of text.There are several questions in formating text like, how to text bold ? how to text italic ?how to text underline?

How to text bold:
<b>

Texting Bold is usually used to distinguish some important concepts from rest of the content. The text can easily be bold using <b> tag. Syntax of bold is written below, please note that <b> opening tag is closed by </b> closing tag.

How to text italic:
<i>

lets move to next concept, its time to learn how to itaic text.The text can easily be italic using <i> tag. Syntax of italic is written below, please note that <i> opening tag is closed by </i> closing tag.

Note

If text is required to be italic and bold at the same time; insert both bold and italic tags and Remember first end the last open tag and then so on.

How to text underline:
<u>

Texting Underline is normally used to distinguish some important concepts from rest of the content. The text can easily be underlined using <u> tag. Syntax of Underline is written below, please note that <u> opening tag is closed by </u> closing tag.

Now lets put the whole coding togather to see how it looks in browser

    <!DOCTYPE HTML>
    <html>
    <head>

    <title>OUR FIRST WEB PAGE</title>
    </head>

    <body>
    <b>WELCOME</b> TO OUR WEB SITE<br>
    <i>welcome </i>to our web site
    <br>
    <u>welcome</u> to our web site
    </body>
    </html>

      Browser view

 

comments powered by Disqus