Written by Philip
|
< Previous
|
Next >
|
|---|
HTML Text can mostly be placed anywhere within a HTML page, but it is usually placed between HTML Div Tags, HTML P Tags, or within HTML Tables.
HTML Text can be formatted using HTML Formatting Tags, the most common HTML Tags used to format HTML are Bold Tags <b></b> or Italic Tags using the HTML Italic Tag <i></i>
Try it: Format Text As Bold
<div>I am <b>Bold</b> text.</div>
Format Text As Italic
<div>I am <b>Bold</b> text.</div>
Below is the list of commonly Text Formatting Tags used on HTML pages
| HTML Tag | HTML Tag Description |
| i | Tag Displays text as italic text style |
| b | Tag Displays text as bold text style |
| big | Tag Displays text in a large font |
| small | Tag Displays text in a small font |
| em | Tag Indicates the emphasis of text. |
| strong | Tag Indicates stronger emphasis of text. |
Below is the list of other Text Formatting Tags that maybe used on HTML pages
| HTML Tag | HTML Tag Description |
| tt | Tag Displays text as teletype or monospaced text |
| strike or s | Tag Deprecated. Render strike-through style text. Use del |
| u | Tag Deprecated. Tag Renders underlined text |
| cite | Tag Displays a citation or a reference to other sources |
| dfn | Tag Used to indicate a defining instance of the enclosed term |
| code | Tag Identifies a piece of computer code |
| samp | Tag Displays sample output from programs |
| kbd | Tag Identifies text to be entered by the user |
| var | Tag Indicates a variable |
| abbr | Tag Indicates abbreviated letters |
| abbr | Tag Indicates abbreviated letters |
| acronym | Tag Indicates acronyms |
| blockquote | Displays long quotations |
| q | Displays short quotations not requiring paragraph breaks |
| sub | Displays subscript |
| sup | Displays Superscript |
| sup | Displays Superscript |
| ins | Tag Defines text that has been inserted |
| del | Tag Defines text that has been deleted |
| bdo | Tag Changes text direction |
| Address | Supplys contact information for a document |
| listing | Deprecated. Use pre instead |
| plaintext | Deprecated. Use pre instead |
| xmp | Deprecated. Use pre instead |
|
< Previous
|
Next >
|
|---|