|
|
|
|
HTML Formatting Features
|
|
|
|
|
Just like there is an array of formatting options available in word processing applications like Microsoft Office, there is also a wide range of formatting features available in HTML.
Formatting becomes a necessary application especially when you start placing more & more elements onto your web site. This gives out a clear picture of the more important & the less important parts of your HTML document.
As mentioned earlier, HTML attributes play a vital role in adding flavor to the elements. It has also been discussed that the elements can also contain other elements. There are several formatting tags that can be used to amplify the text elements to make them appear italic, bold, super/subscripted & much more. The best part is that, the formatting tags can be used with any text type element. |
|
|
|
|
| Code |
Results |
| Example:
<p>An example of <b> Bold </b> </p>
<p>An example of <em> Emphasized </em> </p>
<p>An example of <i> Italic </i> </p>
<p>An example of <del>struckthrough</del> </p>
<p>An example of <strong>Strong</strong> </p>
<p>An example of <sub>subscripted</sub> </p>
<p>An example of <sup>superscripted</sup> </p>
<p>An example of <code>Html Code</code> </p>
|
An example of Bold
An example of Emphasized
An example of Italic
An example of struckthrough
An example of Strong
An example of subscripted
An example of superscripted
An example of Html Code |
There are several formatting tools available in HTML. Common tools include - HTML Output Formatter , HTML Data Set Formatter , Graph Applet HTML Generator , HTML Tabulate Formatter , Metaview HTML Generator , Constellation HTML Generator , Rangeview HTML Generator & Treeview HTML Generator .
However, one important thing to remember while using formatting tags is that, these should essentially be used sparingly. This means that, the formatting tags should be used to format just a word or two of the element & not an entire paragraph. A better option for formatting a complete paragraph is to use Cascading Style Sheets or CSS.
|
|
|
|
| |
|
|
| Use only hexadecimal #RGB values for colors. The behavior of named colors is browser-idiosyncratic and totally unpredictable. |
|
| |
|
|
|
|
| You can resize your images without a graphics program by changing the HEIGHT and WIDTH in your image tag. |
|
| |
|
|
|
| |
|
|
|
|
|
|