תפריט ראשי

לעמוד הבא

לעמוד קודם

עיצוב פסקאות .

 

התג <blockquote> מציין לדפדפן להוסיף רווח שורה לפני ואחרי הפסקה . כמו יתר התגים הוא מסתיים  ב: </blockquote> . כמו כן הפסקה כולה תתחיל ברווח מסוים מצידו השמאלי של הדף .

 

השימוש העיקרי בתג זה הוא ליצירת שוליים .

 

לדוגמא , שורות הקוד הבאות :

 

<blockquote>
You want the truth, huh? Last time someone asked me for the truth, I ended up on a Greyhound for Buffalo.
</blockquote>

 

הפסקה תראה כך :

 

You want the truth, huh? Last time someone asked me for the truth, I ended up on a Greyhound for Buffalo.

 

ברירת המחדל של הדפדפן היא מילוי השורות בעמוד . יש לציין שאורך השורה תלוי בגודל הטקסט .

 

אם נכתוב טקסט ללא <blockquote> זה יראה כך :

 

Disgusted, he stepped out of the sauna. He'd used portable toilets in minimart parking lots that were hotter than this. Oh, sure, there'd been some pretty bad days since he left the ranch, but only this one could begin to compare with the day he scattered a trailer-load of calves over seven miles of county road. That damn freckle-faced kid said he'd latched the gate. Christ, what a mess that was.

 

ואם נכתוב עם <blockquote> זה יראה כך :

 

Disgusted, he stepped out of the sauna. He'd used portable toilets in minimart parking lots that were hotter than this. Oh, sure, there'd been some pretty bad days since he left the ranch, but only this one could begin to compare with the day he scattered a trailer-load of calves over seven miles of county road. That damn freckle-faced kid said he'd latched the gate. Christ, what a mess that was.

 

ישנה גם אפשרות לכתוב פסקה בתוך פסקה , וזה יראה כך :

 

Boy, you make a little mistake and everyone's got to be neighborly and come out to help clean up the mess.... More like revel in his mistake. He could hardly call himself a cowboy after that little episode. His dad always said a man who can't shut a gate has no business around livestock - and he was probably right. It'd do him good to get away from that old man, and maybe the ad in the paper would be what finally released him from the mountain.
WANTED: Production assistant at Web site for hip cattle aficionados. Must be proficient in HTML and knowledgeable about bovine-related topics.

All he really needed to do was set up that old laptop his uncle bought him when he finished college. He hadn't used it much, but he still carried it underneath the seat of the beat-up Chevrolet his dad loaned him for work.

 

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