Element Selectors
Element selectors (also called type selectors) target HTML elements by their tag name.
Basic Element Selectors
Loading Selector Playground...
Try these element selectors:
h1- selects all h1 elementsp- selects all paragraphsa- selects all linksarticle- selects the article container
Styling with Element Selectors
Loading CSS Playground...
Universal Selector (*)
The * selector matches all elements:
Loading Selector Playground...
Exercise: Select Headings
Select all h2 elements in the HTML:
Loading CSS Exercise...
التالي · الدرس 3 من 27
Class Selectors
قراءة 1 دقيقة
أنهيت 2 من 27 درسًا

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

