Content Elements
Beyond structural elements, HTML5 provides semantic elements for specific types of content like articles, figures, time, and more.
Article Element
Loading HTML Playground...
The <article> element:
- Self-contained, independent content
- Could be distributed separately
- Examples: blog post, news article, comment, widget
Multiple Articles
Loading HTML Playground...
Figure and Figcaption
Loading HTML Playground...
<figure> works for:
- Images with captions
- Code snippets
- Diagrams and charts
- Quotes
Time Element
Loading HTML Playground...
The datetime attribute:
- Machine-readable format
- ISO 8601 standard
- Helps search engines and calendars
Address Element
Loading HTML Playground...
The <address> element:
- Contact information
- For the nearest article or body
- Not for general addresses
Details and Summary
Loading HTML Playground...
Native expandable content:
<details>- Container<summary>- Visible headingopenattribute - Start expanded
Mark Element
Loading HTML Playground...
Progress and Meter
Loading HTML Playground...
Exercise: Create a Blog Post
Create a complete semantic blog post:
Loading HTML Exercise...
Content elements add meaning to specific types of information!
التالي · الدرس 27 من 32
Why Accessibility Matters
قراءة 2 دقيقة
أنهيت 26 من 32 درسًا

اسأل Byte عن هذا الدرس
محادثة خاصة حول هذا الدرس. قرأ Byte الدرس كاملًا، ويجيب خلال ثوانٍ، ويُظهر القسم الذي تأتي منه كل إجابة. يمكنك السؤال بأي لغة.
الأسئلة والأجوبة
أسئلة عامة حول هذا الدرس. يجيب AI Tutor فورًا بلغتك، ويراجع فريق FreeAcademy الإجابات، ويمكن لكل المتعلمين قراءتها.

