HTML (لغة ترميز النص التشعبي)
HTML هي لغة الترميز الأساسية للويب العالمي. تُنظّم المحتوى باستخدام عناصر — عناوين وفقرات وروابط وصور ونماذج وجداول — تعرضها المتصفحات كصفحات ويب تفاعلية.
نوع MIME
text/html
النوع
نص
الضغط
بدون فقدان
المزايا
- + Universal support in every web browser and email client
- + Semantic elements improve accessibility and SEO
- + Extensible with CSS for styling and JavaScript for interactivity
- + Human-readable source that is easy to inspect and debug
العيوب
- − Verbose syntax compared to Markdown for simple content
- − Rendering inconsistencies between browsers require testing
- − Static HTML alone has limited interactivity without JavaScript
متى تستخدم .HTML
يُستخدم HTML لصفحات الويب ورسائل البريد الإلكتروني والقوالب. نادراً ما يُكتب HTML وحده — عادة ما يُدمج مع CSS وJavaScript.
التفاصيل التقنية
مستندات HTML هي نص عادي بعناصر وسوم: و
و. تُعلن العناصر الدلالية في HTML5 (header وnav وmain وarticle) عن المعنى. يقوم محلل DOM في المتصفح ببناء شجرة العقد من HTML.التاريخ
اقترح Tim Berners-Lee لغة HTML في عام 1991 في CERN. نشرت W3C معيار HTML 4.01 في عام 1999 ومعيار HTML5 في عام 2014. يُدار HTML5 الآن من قبل WHATWG كمعيار حي.
التحويل من .HTML
التحويل إلى .HTML
صيغ ذات صلة
مصطلحات ذات صلة
Learn More
CSS Units Explained: px, em, rem, vh, and When to Use Each
CSS offers over a dozen length units, each suited to different situations. Understanding the differences between absolute and relative units …
JSON vs YAML vs TOML: Choosing a Configuration Format
Configuration files are the backbone of modern applications. JSON, YAML, and TOML each offer different trade-offs between readability, complexity, and …
Meta Tags for SEO: Title, Description, and Open Graph
Meta tags control how your pages appear in search results and social media shares. This guide covers the essential meta …
Text Encoding Explained: UTF-8, ASCII, and Beyond
Text encoding determines how characters are stored as bytes. Understanding UTF-8, ASCII, and other encodings prevents garbled text, mojibake, and …
Flexbox vs CSS Grid: A Practical Comparison
Flexbox and CSS Grid are complementary layout systems, not competitors. This guide clarifies when to reach for each one and …
How to Format and Validate JSON Data
Malformed JSON causes silent failures in APIs and configuration files. Learn how to format, validate, and debug JSON documents to …