Text display in HTML

In order to displaying a text like "This is my first html page", you should place this line between < body >...< /body > html tags.

first-page

HTML Source Code :

How to display HTML text as Bold ?

< b >...< /b > html tags display Bold text in html page

< b > This is HTML Bold text < /b >

The above code will display the text as Bold in your html page.

How to display HTML text as Italic ?

< i >...< /i > html tags display text as Italic in html page

< i > This is HTML Italic text < /i >

The above code will display the text in italic in your html page.

How to underline HTML text ?

< u >...< /u > tags will underline HTML text

< u > This is HTML underline text < /u >

The above code put an underline the above html text.

You can use the above tags (bold, italic and underline) together in a single line.

bold-italic-underline

HTML Source Code :

You can use these three tag (bold, italic and underline) together in a same word .

bolditalicunderline

HTML Source Code :

How to html text strikethrough ?

Sometimes you need to draw a line in the middle of the text , you can called it strikethrough or html Deleted Text.

you can use < del > ... < /del > tag for displaying deleted text or strikethrough text

strikethrough

HTML Source Code :

How to display html content at the center of a page?

Html text is left aligned by default, if you want to display your content at the center of the page , you can use < center > .. < /center > html tag.

html-center-page

HTML Source Code :