W3C

تحديد HTML 4.01

توصية W3C للـ24 ديسمبر 1999

هذه الإصدارة:
http://www.w3.org/TR/1999/REC-html401-19991224
( نص خام [794 كيلوبايت]، أرشيف ملفات HTML مضغوط بتنسيق gzip tar [في 371 كيلوبايت]، أرشيف ملفات HTML مضغوط بتنسيق .zip [في 405 كيلوبايت]، ملف Postscript مضغوط بتنسيق gzip [في 746 كيلوبايت، 389 صفحة]، ملف PDF مضغوط بتنسيق gzip [في 963 كيلوبايت] )
آخر إصدارة من HTML 4.01:
http://www.w3.org/TR/html401
آخر إصدارة من HTML 4:
http://www.w3.org/TR/html4
آخر إصدارة من HTML:
http://www.w3.org/TR/html
الإصدارة السّابقة منHTML 4.01:
http://www.w3.org/TR/1999/PR-html40-19990824
توصية HTML 4 السّابقة:
http://www.w3.org/TR/1998/REC-html40-19980424
المحررون:
Dave Raggett <dsr@w3.org>
Arnaud Le Hors, W3C
Ian Jacobs, W3C

تلخيص

تُعَرِّف هذه التحديدات لغة توسيم النّص المتشعب (HTML)، لغة النّشر على الشّع العالميّ المُتسِّع. تُعرِّف هذه التّحديدات HTML 4.01، التي تعتبر إصدارة فرعيّة لـ HTML 4. بالإضافة إلى النّص، الوسائط المتعددة وميزات الرّوابط التّشعبيّة الخاصة بالإصدارات السّابقة من HTML (أي HTML 3.2 [آنظر:HTML32] و HTML 2.0 [آنظر: RFC1866])، تدعم HTML 4 مزيدا من خيارات الوسائط المُتعدِّدة، اللّغات الخاطوطيّة، وريقات الأسلوب، تسهيلات طباعيّة أفضل، ومستندات تتسم بكونها أكثر ولوجيةً لدى المستخدمين من ذوي الإعاقات. كذلك، فإنّ HTML 4 خطت خطوات معتبرة نحو تدويل المستندات، بهدف جعل الشُّع حقاً: مُتَسِّع عالمياً.

HTML 4 هي تطبيق لـ SGML يتماشى مع المقياس الدوليّ ISO 8879 -- لغة التّوسيم المُعمَّم القياسيّة [ISO8879].

وضعية هذا المستند

يصف هذا الفصل وضعية هذا المستند زمن نشره. يمكن لمستندات أخرى أن تحلّ محل هذا المستند. آخر وضعية لهذه السِّلسلة المستنداتيّة هي محل رعاية لدى W3C.

يُحَدِّد هذا المستند HTML 4.01، التي تعتبر جزءاً من خط تحديدات HTML 4. تمثلت الإصدارة الأولى من HTML 4 في HTML 4.0 [آنظر: HTML40]، التي نُشِرَت بتاريخ 18 ديسمبر 1997 ونُقِحَّت في 24 أبريل 1998. هذا التّحديد هو التّوصية الأولى من HTML 4.01. وهو يتضمن ما ليس تحريرياً من تغييرات منذ إصدارة 24 أبريل من HTML 4.0. وعلى سبيل المثال، فلقد كانت هناك بعض التَّغييرات التّي طرأت على تعريفات النّوع المستنداتيّ (DTD). هذا المستند يجعل الإصدارات السَّابقة من HTML 4.0 آيلة للترك بالرَّغم من أنّ W3C ستستمر في إبقاء هذه التَّحديدات وتعريفات الأنواع المستنداتيّة (DTD) الخاصة بها متوفرة لدى الموقع الشُّعيّ الخاص بـ W3C.

تمت إعادة النَّظر في هذا المستند من قبل أعضاء W3C وجِهَاتٍ أخرى مهتمة وقد تم إقرارُهُ من قبل المدير توصيةً من W3C. هو مستند مستقر ويمكن استخدامه كمادة مرجعيّة أو الإشارة إليه، إنطلاقا من مستند آخر، كمرجع معياريّ. بإحداث هذه التّوصية، فإنّ دور W3C يبرز للفت الإنتباه إليها وتشجيع رواجها الواسع. ويُعَزِّزُ هذا فعالية الشُّع ومعموليته البينيّة.

توصي W3C الوكلاء المستخدمين والمؤلفين (وبالخصوص، الأدوات التَّاليفيّة) بإنتاج مستندات HTML 4.01 بدلا من مستندات HTML 4.0. توصي W3C المؤلفين بإنتاج مستندات HTML 4 بدلا من مستندات HTML 3.2. ولأسباب تتعلق بالتّوافق التَّراجعيّ، فإنّ W3C توصي أيضا الأدوات، التّي تُترجم HTML 4، بأن تستمر أيضا في دعم HTML 3.2 و HTML 2.0.

للحصول على معلومات بخصوص الجيل القادم من HTML، " لغة توسيم النّص التّشعبيّ المتوسع" [XHTML]، رجاءً، ارجع إلى نشاط HTML لدى W3C ولائحة تقارير W3C التّقنيّة.

أُنتِج هذا المستند كجزء من نشاط HTML لدى W3C. إنّ مقاصد مجموعة عمل HTML (للأعضاء فقط) محل نقاش بخصوصها في شِرْعَة مجموعة عمل HTML (للأعضاء فقط).

يمكن إيجاد لائحة توصيات W3C الحاليّة ومستندات تقنيّة أخرى لدى http://www.w3.org/TR.

يجري نقاش عام بخصوص ميزات HTML لدى www-html@w3.org (أرشيفات www-html@w3.org).

اللُّغات المتوفرة

الإصدارة الإنجليزيّة من هذا التَّحديد هي الإصدارة المعياريّة الوحيدة. مع ذلك، وللحصول على ترجمات لهذا المستند، تمعّن في http://www.w3.org/MarkUp/html4-updates/translations.

أخطاء

تتوفر لائحة الأخطاء المعروفة في هذا التّحديد لدى:
http://www.w3.org/MarkUp/html4-updates/errata

رجاءً، أَبْلِغ www-html-editor@w3.org عن الأخطاء المتواجدة بهذا المستند.

جدول سريع للمحتويات

  1. بخصوص تحديد HTML 4
  2. مقدمة إلى HTML 4
  3. بخصوص لغة التّوسيم المُعمَّم القياسيّة (SGML) ولغة توسيم النّص المُتَشَعِّب (HTML)
  4. إنسجام: متطلبات وتوصيات
  5. تمثيل مستند HTML - مجموعات الأحرف، تشفيرات الأحرف والكيانات
  6. أنواع بيانات HTML الأساسيّة - بيانات حرفيّة، ألوان، أطوال، مُعرفات الموارد الكلّيّة (URI)، أنواع المحتويات إلخ.
  7. البنية الشاملة لمستند HTML - العُلْوَان (HEAD) والجسم (BODY) الخاصين بمستند
  8. معلومات معلومات اللُّغة واتجاه النّص - إعتبارات دوليّة بخصوص النَّص
  9. النَّص - فقرات، سطور وجمل
  10. اللَّوائح - غير المرتبة، المرتبة ولوائح التَّعريف
  11. الجداول
  12. الرّوابط - روابط النَّص التَّشعبيّ والمستقلة عن الوسائط
  13. الكائنات، الصُّور والبريمجات
  14. وريقات الأسلوب - إضافة أسلوب لمستندات HTML
  15. المحاذاة، الأساليب الخطيّة والخطوط الأفقيّة
  16. الإطارات - تقديم نظريّ متعدد للمستندات
  17. النَّماذج - نماذج مُدْخَلات المستخدم: الحقول النّصيّة، الأزرار، القوائم والمزيد.
  18. الخواطيط - المستندات الحيّة والنماذج الذكيّة
  19. معلومات مرجع SGML لأجل HTML - التَّعريف الشَّكليّ لـ HTML ومصادقته
  20. تصريح SGML الخاص بـ HTML 4
  21. تعريف نوع المستند
  22. تعريف نوع المستند الإنتقاليّ
  23. تعريف نوع المستند الخاص بالمجموعة الإطاريّة
  24. مراجع الكيان الحرفيّ في HTML 4
  1. تغييرات
  2. الأداء، الإستخدام التَّنفيذيّ وملحوظات تصميميّة

الجدول الكامل للمحتويات

  1. بخصوص تحديد HTML 4
    1. طريقة تنظيم التَّحديد
    2. إصطلاحات المستند
      1. العناصر والسِّمات
      2. ملحوظات وأمثلة
    3. تشكُّرَات
      1. تشكُّرَات بخصوص التَّنقيح الحاليّ
    4. تنبيه بخصوص حقوق النّشر
  2. مُقدِمة إلى HTML 4
    1. ما هو الشّع العالميّ المُتسِّع؟
      1. مُقدِمة إلى مُعرِّفات الموارد الكلّيّة (URI)
      2. مُعرِّفات القِطع
      3. مُعرِّفات الموارد الكلّيّة نسبيا (Relative URIs)
    2. ما هي الـ HTML؟
      1. موجز تاريخيّ عن الـ HTML
    3. HTML 4
      1. التَّدويل
      2. الولوجية
      3. الجداول
      4. المُستندات المُركَّبة
      5. وُريقات الأسلوب
      6. البرمجة الخاطوطيّة
      7. الطِّباعة
    4. تأليف مستندات بواسطة HTML 4
      1. الفصل بين البنية وطريقة التَّقديم
      2. إعتبارات الولوجية الكُّلِّيّة إلى الشُّع
      3. مساعدة وُكلاء المستخدم بخصوص التّصيير المتواليّ
  3. بخصوص لغة التّوسيم المُعمَّم القياسيّة (SGML) ولغة توسيم النّص المُتَشَعِّب (HTML)
    1. مقدمة إلى SGML
    2. بناءات SGML المُستخدَمة في HTML
      1. العناصر (Elements)
      2. السِّمات (Attributes)
      3. الإحالات الحرفيّة (Character references)
      4. التَّعليقات (Comments)
    3. كيفية قراءة تعريف نوع مستند خاص بلغة توصيف النَّص المُتشعِّب (HTML DTD)
      1. تعليقات تعريف نوع المستند (DTD Comments)
      2. تعريفات الكيانات المَعْلَمَات (Parameter entity definitions)
      3. تصريحات العناصر (Element declarations)
      4. تصريحات السِّمات (Attribute declarations)
  4. انسجام: متطلبات وتوصيات
    1. تعريفات
    2. SGML
    3. نوع المحتوى text/html
  5. HTML Document Representation - Character sets, character encodings, and entities
    1. The Document Character Set
    2. Character encodings
      1. Choosing an encoding
      2. Specifying the character encoding
    3. Character references
      1. Numeric character references
      2. Character entity references
    4. Undisplayable characters
  6. Basic HTML data types - Character data, colors, lengths, URIs, content types, etc.
    1. Case information
    2. SGML basic types
    3. Text strings
    4. URIs
    5. Colors
      1. Notes on using colors
    6. Lengths
    7. Content types (MIME types)
    8. Language codes
    9. Character encodings
    10. Single characters
    11. Dates and times
    12. Link types
    13. Media descriptors
    14. Script data
    15. Style sheet data
    16. Frame target names
  7. The global structure of an HTML document - The HEAD and BODY of a document
    1. Introduction to the structure of an HTML document
    2. HTML version information
    3. The HTML element
    4. The document head
      1. The HEAD element
      2. The TITLE element
      3. The title attribute
      4. Meta data
    5. The document body
      1. The BODY element
      2. Element identifiers: the id and class attributes
      3. Block-level and inline elements
      4. Grouping elements: the DIV and SPAN elements
      5. Headings: The H1, H2, H3, H4, H5, H6 elements
      6. The ADDRESS element
  8. Language information and text direction - International considerations for text
    1. Specifying the language of content: the lang attribute
      1. Language codes
      2. Inheritance of language codes
      3. Interpretation of language codes
    2. Specifying the direction of text and tables: the dir attribute
      1. Introduction to the bidirectional algorithm
      2. Inheritance of text direction information
      3. Setting the direction of embedded text
      4. Overriding the bidirectional algorithm: the BDO element
      5. Character references for directionality and joining control
      6. The effect of style sheets on bidirectionality
  9. Text - Paragraphs, Lines, and Phrases
    1. White space
    2. Structured text
      1. Phrase elements: EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ABBR, and ACRONYM
      2. Quotations: The BLOCKQUOTE and Q elements
      3. Subscripts and superscripts: the SUB and SUP elements
    3. Lines and Paragraphs
      1. Paragraphs: the P element
      2. Controlling line breaks
      3. Hyphenation
      4. Preformatted text: The PRE element
      5. Visual rendering of paragraphs
    4. Marking document changes: The INS and DEL elements
  10. Lists - Unordered, Ordered, and Definition Lists
    1. Introduction to lists
    2. Unordered lists (UL), ordered lists (OL), and list items (LI)
    3. Definition lists: the DL, DT, and DD elements
      1. Visual rendering of lists
    4. The DIR and MENU elements
  11. Tables
    1. Introduction to tables
    2. Elements for constructing tables
      1. The TABLE element
      2. Table Captions: The CAPTION element
      3. Row groups: the THEAD, TFOOT, and TBODY elements
      4. Column groups: the COLGROUP and COL elements
      5. Table rows: The TR element
      6. Table cells: The TH and TD elements
    3. Table formatting by visual user agents
      1. Borders and rules
      2. Horizontal and vertical alignment
      3. Cell margins
    4. Table rendering by non-visual user agents
      1. Associating header information with data cells
      2. Categorizing cells
      3. Algorithm to find heading information
    5. Sample table
  12. Links - Hypertext and Media-Independent Links
    1. Introduction to links and anchors
      1. Visiting a linked resource
      2. Other link relationships
      3. Specifying anchors and links
      4. Link titles
      5. Internationalization and links
    2. The A element
      1. Syntax of anchor names
      2. Nested links are illegal
      3. Anchors with the id attribute
      4. Unavailable and unidentifiable resources
    3. Document relationships: the LINK element
      1. Forward and reverse links
      2. Links and external style sheets
      3. Links and search engines
    4. Path information: the BASE element
      1. Resolving relative URIs
  13. Objects, Images, and Applets
    1. Introduction to objects, images, and applets
    2. Including an image: the IMG element
    3. Generic inclusion: the OBJECT element
      1. Rules for rendering objects
      2. Object initialization: the PARAM element
      3. Global naming schemes for objects
      4. Object declarations and instantiations
    4. Including an applet: the APPLET element
    5. Notes on embedded documents
    6. Image maps
      1. Client-side image maps: the MAP and AREA elements
      2. Server-side image maps
    7. Visual presentation of images, objects, and applets
      1. Width and height
      2. White space around images and objects
      3. Borders
      4. Alignment
    8. How to specify alternate text
  14. Style Sheets - Adding style to HTML documents
    1. Introduction to style sheets
    2. Adding style to HTML
      1. Setting the default style sheet language
      2. Inline style information
      3. Header style information: the STYLE element
      4. Media types
    3. External style sheets
      1. Preferred and alternate style sheets
      2. Specifying external style sheets
    4. Cascading style sheets
      1. Media-dependent cascades
      2. Inheritance and cascading
    5. Hiding style data from user agents
    6. Linking to style sheets with HTTP headers
  15. Alignment, font styles, and horizontal rules
    1. Formatting
      1. Background color
      2. Alignment
      3. Floating objects
    2. Fonts
      1. Font style elements: the TT, I, B, BIG, SMALL, STRIKE, S, and U elements
      2. Font modifier elements: FONT and BASEFONT
    3. Rules: the HR element
  16. Frames - Multi-view presentation of documents
    1. Introduction to frames
    2. Layout of frames
      1. The FRAMESET element
      2. The FRAME element
    3. Specifying target frame information
      1. Setting the default target for links
      2. Target semantics
    4. Alternate content
      1. The NOFRAMES element
      2. Long descriptions of frames
    5. Inline frames: the IFRAME element
  17. Forms - User-input Forms: Text Fields, Buttons, Menus, and more
    1. Introduction to forms
    2. Controls
      1. Control types
    3. The FORM element
    4. The INPUT element
      1. Control types created with INPUT
      2. Examples of forms containing INPUT controls
    5. The BUTTON element
    6. The SELECT, OPTGROUP, and OPTION elements
      1. Pre-selected options
    7. The TEXTAREA element
    8. The ISINDEX element
    9. Labels
      1. The LABEL element
    10. Adding structure to forms: the FIELDSET and LEGEND elements
    11. Giving focus to an element
      1. Tabbing navigation
      2. Access keys
    12. Disabled and read-only controls
      1. Disabled controls
      2. Read-only controls
    13. Form submission
      1. Form submission method
      2. Successful controls
      3. Processing form data
      4. Form content types
  18. Scripts - Animated Documents and Smart Forms
    1. Introduction to scripts
    2. Designing documents for user agents that support scripting
      1. The SCRIPT element
      2. Specifying the scripting language
      3. Intrinsic events
      4. Dynamic modification of documents
    3. Designing documents for user agents that don't support scripting
      1. The NOSCRIPT element
      2. Hiding script data from user agents
  19. SGML reference information for HTML - Formal definition of HTML and validation
    1. Document Validation
    2. Sample SGML catalog
  20. SGML Declaration of HTML 4
    1. SGML Declaration
  21. Document Type Definition
  22. Transitional Document Type Definition
  23. Frameset Document Type Definition
  24. Character entity references in HTML 4
    1. Introduction to character entity references
    2. Character entity references for ISO 8859-1 characters
      1. The list of characters
    3. Character entity references for symbols, mathematical symbols, and Greek letters
      1. The list of characters
    4. Character entity references for markup-significant and internationalization characters
      1. The list of characters
  1. Changes
    1. Changes between 24 April 1998 HTML 4.0 and 24 December 1999 HTML 4.01 versions
      1. Changes to the specification
      2. Errors that were corrected
      3. Minor typographical errors that were corrected
      4. Clarifications
      5. Known Browser problems
    2. Changes between 18 December 1997 and 24 April 1998 versions
      1. Errors that were corrected
      2. Minor typographical errors that were corrected
    3. Changes between HTML 3.2 and HTML 4.0 (18 December 1997)
      1. Changes to elements
      2. Changes to attributes
      3. Changes for accessibility
      4. Changes for meta data
      5. Changes for text
      6. Changes for links
      7. Changes for tables
      8. Changes for images, objects, and image maps
      9. Changes for forms
      10. Changes for style sheets
      11. Changes for frames
      12. Changes for scripting
      13. Changes for internationalization
  2. Performance, Implementation, and Design Notes
    1. Notes on invalid documents
    2. Special characters in URI attribute values
      1. Non-ASCII characters in URI attribute values
      2. Ampersands in URI attribute values
    3. SGML implementation notes
      1. Line breaks
      2. Specifying non-HTML data
      3. SGML features with limited support
      4. Boolean attributes
      5. Marked Sections
      6. Processing Instructions
      7. Shorthand markup
    4. Notes on helping search engines index your Web site
      1. Search robots
    5. Notes on tables
      1. Design rationale
      2. Recommended Layout Algorithms
    6. Notes on forms
      1. Incremental display
      2. Future projects
    7. Notes on scripting
      1. Reserved syntax for future script macros
    8. Notes on frames
    9. Notes on accessibility
    10. Notes on security
      1. Security issues for forms