תפריט ראשי

לעמוד קודם

 כתיבת טקסט מסביב לתמונה .

 

התג : <IMG ALIGN=LEFT> מישר את התמונה לצד השמאלי של הדף .

התג : <IMG ALIGN=RIGHT> מישר את התמונה לצד הימני של הדף .

התג : <IMG ALIGN=TOP> מישר את הטקסט מעל התמונה .

התג : <IMG ALIGN=BOTTOM> מישר את הטקסט מתחת לתמונה .

התג : <IMG ALIGN=MIDDLE> מישר את הטקסט באמצע התמונה .

 

ישנם מספר דרכים לכתיבת טקסט יחד עם התמונה . כל האפשרויות ניתנות לשינוי ע"י התג <IMG ALIGN> .לדוגמא ניתן לישר תמונה לתחתית הטקסט או לימין או לשמאל הדף , כך שהטקסט יהיה מסביבו .

 

נניח לדוגמא שיש לנו את קטע הקוד הבא שמישר את התמונה לשמאל :

 

<p><img align=left src="guide1-image2.gif"> This is an ant, sitting on his butt. Some days he sits on his butt for hours upon hours, letting the other ants do all the work. Some people (and ants) would say he is lazy. But the truth is that this ant thinks he's a penguin, in which case it would be OK to sit on his tookus all day while the other ants (or penguins, in his world) scurry around securing food for the winter.

 

הטקסט ייכתב מצידה הימני של התמונה :

 

This is an ant, sitting on his butt. Some days he sits on his butt for hours upon hours, letting the other ants do all the work. Some people (and ants) would say he is lazy. But the truth is that this ant thinks he's a penguin, in which case it would be OK to sit on his tookus all day while the other ants (or penguins, in his world) scurry around securing food for the winter.

 

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

 

<p> This is an ant, sitting on his butt. Some days he sits on his butt for <img align=left src="guide1-image2.gif"> hours upon hours, letting the other ants do all the work. Some people (and ants) would say he is lazy. But the truth is that this ant thinks he's a penguin, in which case it would be OK to sit on his tookus all day while the other ants (or penguins, in his world) scurry around securing food for the winter.

 

וזה יראה כך :

 

This is an ant, sitting on his butt. Some days he sits on his butt for hours upon hours, letting the other ants do all the work. Some people (and ants) would say he is lazy. But the truth is that this ant thinks he's a penguin, in which case it would be OK to sit on his tookus all day while the other ants (or penguins, in his world) scurry around securing food for the winter.

 

שורת הקוד הבאה פועלת באותה צורה :

 

<IMG ALIGN=RIGHT>

וזה יראה כך :

 

This is an ant, sitting on his butt. Some days he sits on his butt for hours upon hours, letting the other ants do all the work. Some people (and ants) would say he is lazy. But the truth is that this ant thinks he's a penguin....

 

חשוב לציין שאין דרך למקם תמנה במרכז הדף כך שהטקסט יהיה מסביבה . אבל , ניתן למקם תמונה במרכז כך שהטקסט ייכתב מעליה . ע"מ לעשות זאת נשתמש בתג לישור פסקאות .

 

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

 

<p align=center><img src="guide1-image2.gif"> <br> This is an ant, sitting on his butt. Some days he sits on his butt for hours upon hours, letting the other ants do all the work.

 

וזה יראה כך :

 


This is an ant, sitting on his butt. Some days he sits on his butt for hours upon hours, letting the other ants do all the work.

 

אם ברצוננו שרק שורה אחת תופיע לצד התמונה ושאר הטקסט יהיה מתחתיה ניתן להשתמש בתג <IMG ALIGN=#> כאשר הסימון  # יהיה TOP או MIDDLE או BOTTOM .

 

התג <IMG ALIGN=TOP> יראה כך :

 

This is an ant, sitting on his butt. Some days he sits on his butt for hours upon hours, letting the other ants do all the work. Some people (and ants) would say he is lazy. But the truth is that this ant thinks he's a penguin, in which case it would be OK to sit on his tookus all day while the other ants (or penguins, in his world) scurry around securing food for the winter.

 

התג <IMG ALIGN=BOTTOM> יראה כך :

 

This is an ant, sitting on his butt. Some days he sits on his butt for hours upon hours, letting the other ants do all the work. Some people (and ants) would say he is lazy. But the truth is that this ant thinks he's a penguin, in which case it would be OK to sit on his tookus all day while the other ants (or penguins, in his world) scurry around securing food for the winter.

 

התג <IMG ALIGN=MIDDLE> יראה כך :

 

This is an ant, sitting on his butt. Some days he sits on his butt for hours upon hours, letting the other ants do all the work. Some people (and ants) would say he is lazy. But the truth is that this ant thinks he's a penguin, in which case it would be OK to sit on his tookus all day while the other ants (or penguins, in his world) scurry around securing food for the winter.
 

לסיכום , מבחר האפשרויות גדול ודורש תרגול . אז בהצלחה .