www.casino.nf All Tricks and Tips,PHP,HTML,.NET,SEO,XML

HTML Formatting

                  HTML Formatting



  • HTML defines a lot of elements for formatting output, like bold or underline text.


<font>

The <font> tag is used to change the format of the text on the web page.
The most important attributes are as follows:
face: The type of font. Common ones include "Time New Roman", "Verdana", and "Helvetica."
size: This indicates the size of the text. This can be absolute (0 .. 6), or relative ("+1", ... or "-1",...)
color: This attribute indicates the color of the text. Either the color name or the six-character color code may be used to specify color.
<font size=2 face="Helvetica" color=red>This illustrates the attributes of the font tag.</font>



Text Formatting Tags

<b>

The <b> tag will bold the text inside the tag.

<i>

The <i> tag will italicize the text inside the tag.

<u>

The <u> tag will underline the text inside the tag.

<center>

The <center> tag causes all the text within the tag to be centered.

<p>

The <p> tag indicates a new paragraph. It is the same as <br><br>. This tag is most often used by itself, without a corresponding closing tag.

<big>

Defines big text

<em>

Defines emphasized text

<small>

Defines small text

<strong>

Defines strong text

<sub>

Defines subscripted text

<sup>

Defines superscripted text

<ins>

Defines inserted text

<del>

Defines deleted text



"Computer Output" Tags

<code>

Defines computer code text

<kbd>

Defines keyboard text

<samp>

Defines sample computer code

<tt>

Defines teletype text

<var>

Defines a variable

<pre>

Defines preformatted text