תפריט ראשי

לעמוד הבא

לעמוד קודם

 יישור הטקסט .

 

התג <p align=left> מישר את הפסקה לשמאל .

התג <p align=right> מישר את הפסקה לימין .

התג <p align=center> מישר את הפסקה למרכז .

 

ישור הפסקאות מתווסף לתג <p> .

 

לדוגמא , אם שרות הקוד יראו כך :

 

<p align=left>I fear my bathroom window. It opens to

an airshaft, and when it's hot outside I leave it open.

Unfortunately, if it's hot enough for me to open the

bathroom window, it is also usually hot enough for

my neighbors to open their bathroom windows.



<p align=center>I can hear everything. I can hear

them argue, and I can hear them flush the toilet.

The heat is bad enough; I don't need to know

whether or not Elaine upstairs thinks Jeremy

should shave his goatee.



<p align=right>When I moved into the bigger, cheaper

apartment next door, I couldn't shake the

memory of the wild summer parties I'd

overheard. It took me four weeks to even

<i>think</i> about using the bathtub. I scoured

it until it gleamed, showered, and attempted to

sleep. I couldn't. So I asked that it be replaced.



 

ובדף זה יראה כך :

 

I fear my bathroom window. It opens to an airshaft, and when it's hot outside I leave it open. Unfortunately, when it's hot enough for me to open the bathroom window, it is usually hot enough for my neighbors to open their bathroom windows.

I can hear everything. I can hear them argue, and I can hear them flush the toilet. The heat is bad enough; I don't need to know whether or not Elaine upstairs thinks Jeremy should shave his goatee.

When I moved into the bigger, cheaper apartment next door, I couldn't shake the memory of the wild summer parties I'd overheard. It took me four weeks to even think about using the bathtub. I scoured it until it gleamed, showered and attempted to sleep. I couldn't. So I asked that it be replaced.

 

ניתן להשתמש בתג גם למשפט שהוא קצר מאורכה של פסקה לדוגמא :

 


<p align=center>If someone offers you

<p align=center>a breath mint,

<p align=center>take it.

 

וזה יראה כך :

 

If someone offers you

a breath mint,

take it.