- Computer Using
- Windows
- Browser
- How-To
- Microsoft Office
- MS Word
- MS Excel
- MS Outlook
- MS PowerPoint
- Graphic / Design
- Photoshop
- Illustrator
- Server & Network
- Computer Networking
- Internet
- Windows Server
- Web Development
- HTML
- Javascript
- CSS
- ASP.NET
- PHP
- Animation
- Flash
- Silverlight
- Database
- Database System
- SQL Server
- T-SQL
- XML
- XML
Formatting Text
HTML defines a lot of elements for formatting text output, like bold text, italic text, superscript text, subscript text, etc. Below are a examples of formating text that you can try out yourself:
Write HTML Code
1. <html> 2. <head> 3. <title>Format Font</title> 4. </head> 5. <body> 6. ` <b>b tage </b> 7. <big>big tag</big> 8. <em>Emphasized text tag</em> 9. <i>Italic tag</i> 10. <small>small text tag</small> 11. <strong>strong text tag</strong> 12. <sub>subscripted text tag</sub> 13. <sup>superscripted text tag</sup> 14. <ins>inserted text tag</ins> 15. <del>Deleted text tag</del> 16. </body> 17. </html>
Explain
Line: 6.<b> use to Defines bold text
Line: 7.<big> use to Defines big text
Line: 8.<em> use to Defines emphasized text
Line: 9.<i> use to Definces italic text
Line: 10.<small> use to Definces small text
Line: 11.<strong> use to Definces strong text
Line: 12.<sub> use to Definces subscripted text
Line: 13<sup> use to Definces superscripted text.
Line: 14.<ins> use to Definces Inserted text
Line: 15.<del> use to Definces deleted text
Result
b tagbig tag
emphasized text tag
Italic text tag
small text tag
strong text tag
subscripted text tag
superscripted text tag
Inserted text tag

