| The JMBG is your source for software, source code, services, web design/hosting and more! |
There are various elements that can be used for formatting text. However, it is always best to use the style attribute or CSS to specify how your elements should appear as different browsers will interpret and display code differently. Below are some examples of different types of elements you may want to use. Please note that in the example a <br /> tag is included to make each element appear on its own line. These elements are NOT 'block' elements by default and will not create line breaks automatically.
Code: |
Result: |
<b>bold text</b><br /> <big>big text</big><br /> <cite>citation text</cite><br /> <code>code text</code><br /> <del>deleted text</del><br /> <dfn>definition text</dfn><br /> <em>emphasized text</em><br /> <i>italic text</i><br /> <ins>inserted text</ins><br /> <kbd>keyboard text</kbd><br /> <samp>sample text</samp><br /> <small>small text</small><br /> <strong>strong text</strong><br /> <sub>subscripted text</sub><br /> <sup>superscripted text</sup><br /> <tt>teletype text</tt><br /> |
bold text big text citation text code textdefinition text emphasized text italic text inserted text Keyboard text sample text small text strong text subscripted text superscripted text teletype text |