תגית <hr>
מוסיפה קו אופקי המפריד בין פסקאות טקסט במסמך ה-HTML. זוהי תגית בלוק החוסמת את כל השורה.
The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.
קטגוריה | תגיות בלוק. |
---|---|
תוכן מורשה |
תגית זו מוסיפה קו בלבד. |
תגיות הורים מורשות | תגית זו מורשית להופיע בגוף המסמך אך אינה חייבת להיות כפופה בצורה ישירה אל תגית <body> . |
ממשק DOM | HTMLHRElement |
תארים
תגית זו נכללת ברשימת התארים הגלובליים.
-
דוגמא
<p> This is the first paragraph of text. This is the first paragraph of text. This is the first paragraph of text. This is the first paragraph of text. </p> <hr> <p> This is the second paragraph. This is the second paragraph. This is the second paragraph. This is the second paragraph. </p>