<p>

All texts and hyperlink and controls elements must be defined in paragraph.

Contents

Empty or any combination of text and the following elements: <a>, <br> Only inside <form>: empty or any combination of text and the following
elements: <a>, <br>, <input>, <select>

Attributesattributes

values

(Default are bolded)

description
style

text-align:

left | center | right

text-decoration:

none | blink | underline

font-weight:

normal | bold

float:

left | center | right

Specifies style information for the current text element.

Examples


Example:

<body>

<p style="text-align:center;text-decoration:blink"> Weather Bocholt:</p>
<br/>

<p style="text-align:left font-weight:bold">Today:</p>
<p style="text-align:right">Cloudy, 22°C</p>

</body>



<br>

Moving to the next line with <br>.
<br> MUST be written as <br />

Contents

Inline Element

Attributesattributes

values

(Default are bolded)

description
(none)
Examples


Example:

<body>

<p style="text-align:center;text-decoration:blink"> Weather Bocholt:</p>
<br/>

<p style="text-align:left font-weight:bold">Today:</p>
<p style="text-align:right">Cloudy, 22°C</p>

</body>



  • No labels