Archive for the 'HTML' Category

Commenting HTML

Keep Reading ...

The easiest way to comment HTML is placing
1<!–
before the comment and then place
1–>
after the comment. For Example:
1 <!– comment –>

There are also other variations of that method but since HTML is officially an SGML application, the comment syntax used in HTML documents is actually the SGML comment syntax. Unfortunately this syntax is a bit unclear at [...]

HTML Text Layout

Keep Reading ...

These tags will let you control the layout.

HTML

EXPLANATION

<p>text</p>

Adds a paragraph break after the text.
(2 linebreaks).

<p align=”left”>text</p>

Left justify text in paragraph.

<p align=”center”>text</p>

Center text in paragraph.

<p align=”right”>text</p>

Right justify text in paragraph.

text<br>

Adds a single linebreak where the tag is.

<nobr>text</nobr>

Turns off automatic linebreaks
- even if text is wider than the window.

text<wbr>

Allows the browser to insert a linebreak
at exactly this [...]