HTML <tt> <i> <b> <big> <small> tags
Definition and Usage
The following elements are all font style elements. They are not deprecated, but
it is possible to achieve richer effects using style sheets.
| <tt> |
Renders as teletype or mono spaced text |
| <i> |
Renders as italic text |
| <b> |
Renders as bold text |
| <big> |
Renders as bigger text |
| <small> |
Renders as smaller text |
Differences Between HTML and XHTML
NONE
Example
| Source |
Output |
<tt>Teletype text</tt><br />
<i>Italic text</i><br />
<b>Bold text</b><br />
<big>Big text</big><br />
<small>Small text</small><br />
|
Teletype text
Italic text
Bold text
Big text
Small text
|
Standard Attributes
| id, class, title, style, dir, lang |
For a full description, go to Standard
Attributes.
Event Attributes
| onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown onkeyup |
For a full description, go to Event
Attributes.
Try-It-Yourself Demos
Text
formatting
This example demonstrates how you can format text in a document.
Want To Be A Web Master?
If you want to be a Web Master, you will have to host your web site with an ISP (Internet Service Provider).
MaximumASP offers seven different configurations of dedicated servers to meet your Windows and .NET hosting needs.
Hosted on our multi-tiered Enterprise Class network, these servers provide the performance, security and reliability
you need to host your high end web sites and applications.
Visit MaximumASP
|