| Name | Code | Output |
|---|---|---|
| Text formatting | This text is bold This text is strong This text is emphasized This text is italic This text is small This is subscript and superscript |
|
| Preformatted text (how to control line breaks and spaces) | This is preformatted text. It preserves both spaces and line breaks.The pre tag is good for displaying computer code: for i = 1 to 10
print i
next i
|
|
| Different computer-output tags | Computer code
Keyboard input Sample text Computer variable Note: These tags are often used to display computer/programming code. |
|
| Insert contact information |
Written by W3Schools.com Email us Address: Box 564, Disneyland Phone: +12 34 56 78 |
|
| Abbreviations and acronyms | The WHO was founded in 1948. Can I get this ASAP? The title attribute is used to show the spelled-out version when holding the mouse pointer over the acronym or abbreviation. |
|
| Text direction | If your browser supports bi-directional override (bdo), the next line will be written from the right to the left (rtl):
Here is some Hebrew text |
|
| How to mark deleted and inserted text | My favorite color is Notice that browsers will strikethrough deleted text and underline inserted text. |
Formatting in Html tutorial 4/8
Reviewed by Abdul hanan
on
08:25:00
Rating:
Reviewed by Abdul hanan
on
08:25:00
Rating:
