الأحد، 5 أكتوبر 2014

التعليقات Comments

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

http://www.w3schools.com

- التعليقات في HTML
- HTML Comments

- تستطيع إضافة التعليقات لكود HTML الخاص بك باستخدام التركيب التالي:
<!-- write your comments here -->
- You can add comments to your HTML source by using the following syntax:
<!-- write your comments here -->
---------------------------------------------------------
- لا يتم عرض التعليقات باستخدام المتصفح، لكنها يمكن ان تساعد في:
توثيق مستند HTML الخاص بك، مع التعليقات يمكنك وضع إخطارات ورسائل تذكير في مستند HTML الخاص بك.
- Comments are not displayed by the browser, but they can help in:
document your HTML, With comments you can place notifications and reminders in your HTML.
---------------------------------------------------------
مثال Example
<!-- This is a comment -->
<p>This is a paragraph.</p>
<!-- Remember to add more information here -->
---------------------------------------------------------


- التعليقات أيضا رائعة لتصحيح HTML:
 لأنه يمكنك الخروج من سطر التعليمات البرمجية الخاصة بـ HTML، والبحث عن الأخطاء، في وقت واحد.
- Comments are also great for debugging HTML:
because you can comment out HTML lines of code, one at a time, to search for errors:
---------------------------------------------------------
- مثال Example
<!-- Do not display this at the moment
<img border="0" src="pic_mountain.jpg" alt="Mountain">
-->
---------------------------------------------------------
- التعليقات الشرطية
قد تتعثر بتعليقات شرطية في HTML
<!-- [if IE 8]>
….  Some HTML here ….
<![endif]-->
- Conditional Comments
You might stumble upon conditional comments in HTML:
<!-- [if IE 8]>
….  Some HTML here ….

<![end if]-->








ليست هناك تعليقات:

إرسال تعليق