Bold, italic and line breaks · الخط العريض، والمائل، وكسور السطر
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · تحتاج هذه الصفحة إلى متصفح حديث (يدعم SharedArrayBuffer). يرجى تحديث Chrome أو Edge أو Firefox أو Safari إلى أحدث إصدار.
English
Make words stand out
<strong>makes text bold — for important words.<em>makes text italic — for a gentle emphasis.- Wrap only the word you want:
very <strong>important</strong> news.
العربية
إبراز الكلمات
<strong>يجعل النص خطاً عريضاً — للكلمات المهمة.<em>يجعل النص مائلاً — للتأكيد الخفيف.- حوِ الكلمة التي تريدها فقط:
very <strong>important</strong> news.
<p>This cake is <strong>delicious</strong> and still <em>warm</em>.</p>
English
Line breaks
- Sometimes you want a new line inside one paragraph.
- Use
<br>— a single tag with no closing tag and nothing inside it. - It is like pressing Enter once.
العربية
كسور السطور
- أحياناً تريد سطراً جديداً داخل فقرة واحدة.
- استخدم
<br>— وسم واحد بدون وسم إغلاق وبدون محتوى بداخله. - إنه يشبه الضغط على Enter مرة واحدة.
<p>Roses are red<br>Violets are blue</p>
English
Common mistakes
<br>makes a line break and has no closing tag.- Use
<strong>and<em>for meaning, not just bold or italic looks.
العربية
أخطاء شائعة
<br>يسبب كسر سطر وليس له وسم إغلاق.- استخدم
<strong>و<em>للمعنى، وليس لمجرد الشكل الخط العريض أو المائل.
English
Now you try
- Wrap a word to make it bold, and add a line break.
- Press ▶ after each change to see what happens.
العربية
الآن جرب بنفسك
- حوِ كلمة لجعلها خطاً عريضاً، وأضف كسر سطر.
- اضغط ▶ بعد كل تغيير لترى ما يحدث.
Make the word fresh bold. Wrap just that word in <strong> … </strong>. · اجعل كلمة fresh بخط عريض. غلف تلك الكلمة فقط في <strong> … </strong>.
Add a <br> between the two lines so they show one above the other. · أضف <br> بين السطرين حتى يظهر أحدهما فوق الآخر.