الاثنين، 8 سبتمبر 2014

تنسيق النص في HTML

المشاركة رقم:58
سلسلة احتراف برمجة صفحات الويب  Web Pages Programming Tutorial
إتش تي إم إل 5  HTML5 
_________________________________
منقول ومترجم للعربية من Moved and Translated to Arabic From

http://www.w3schools.com
تنسيق النص في HTML
HTML Text Formatting

- وسوم التنسيق في HTML
تستخدم HTML وسوم مثل <b> و <i>، لإخراج التنسيق، مثل  النص الغامق أو المائل.
وسوم HTML هذه تدعى وسوم التنسيق.
 ( لمزيد من وسوم التنسيق انظر إلى المرجع الموجود أسفل هذه المشاركة).
- HTML Formatting Tags
HTML uses tags like <b> and <i> for formatting output, like bold or  italic text.
These HTML tags are called formatting tags .
(look at the bottom of this post for a complete reference).
---------------------------------------------------------
- مثال Example
<!DOCTYPE html>
<html>
<body>
<p><b>This text is bold</b></p>
<p><strong>This text is strong</strong></p>
<p><i>This text is italic</i></p>
<p><em>This text is emphasized</em></p>
<p><code>this is computer outputt</code></p>
<p>This is <sub>subscript</sub> and <sup>superscript</sup></p>
</body>
</html>
عند تشغيل كود الـ HTML هذا، في متصفحك ستكون النتيجة كالتالي:
When you run this HTML code, in your browser the result will be like this: