H I O X INDIA
FREE ADVANCE HTML Tutorial
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Directories 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)   Bookmarks :-)  
Español  Français  中文  Deutsch 
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

HTML Basic
Introduction
How To
HTML Tags
html, head, body
Text Manipulation
IMAGES
Special Effects
Using Tables
Forms
Other Topics



ADVANCED HTML
Introduction
Media
Meta Tag
Frame tags
Fieldset
Tooltip
DTD
Image tags
Subscript & Superscript
Bullet styles
Canvas
Other tags
Ask Your Doubts
More about HTML
Feedback




HTML Text Properties


Topic

How to create bold text in html?
How to create underlined text in html?
How to create italic word aligned center in html?



Explanation

Now we are going to see how to decorate the text

bold font: <b></b>
Any text given in between the "b" tag will appear as bold


underline tag: <u></u>
Any text given in between the "u" tag will appear underlined


italics: <i></i>
Any text given in between the "i" tag will appear in italics


Align Center
: <center></center>
Any text given in between the "center" tag will be aligned center


Line Break: <br>
This is a tag which is used to break the line and move to next line.
This tag does not require closing tag.
When ever you want the text to start in a new line give the tag <br>

Combining Things:
<html>
<head>
<title> My Page
</title>
</head>

<body bgcolor="green" background="./test.jpg">
<center> <b> <u> <i>This is my first page </i> </u> </b> </center> </body>
</html>

Please note that the order of opening and closing tags.
That is <center> <b> .....</b> </center>
It is like putting a box inside a box. So inner tag should be closed first then next
Test It:
Copy the code or type the code in to the textbox shown under subtopics and click show.






privacy policy     license     sitemap
© 2004-2005 HIOX INDIA - hioxindia.com

Other Links