![]() |
|
Super script, Sub script and Centering Text in HTML, Free online HTML Tutorial, Learn HTML online for free... |
| Lessons | Basic Text Formatting in HTML 2 |
|
|
Making text appear BIGGER: <big>This text is BIG</big> Output: This text is BIG Making text appear smaller: To make your text appear smaller, enclose your text with <small> and </small> tags. <small>This text is small</small> Output: This text is small Super Script: In mathematical equations we often need super script text. To add super script <sup> and </sup> tags are used. This text is <sup>super script</sup> Output: This text is super script Sub Script: In mathematical equations, like super script text, we also need sub script text. To add sub script <sub> and </sub> tags are used. This text is <sub>sub script</sub> Output: This text is sub scriptCentering The Text: If you need to center the text, simply put your text within <center> and </center> tags. <center>This Text is Centered</center> Output: This Text is Centered Apart from just text, you can make anything (images, tables etc.) appear in the center of your web page by surrounding it with the <center> and </center> tags.
Next >>> Lesson No. 5: The Font Tag
|
|