© 2026 schoolict.net (Ruwan Mangala Suraweera)
10.5 Cascading Style Sheets (CSS)Cascading Style Sheets (CSS)
Grade 13 A/L ICT · Lesson 1013 ශ්රේණිය A/L ICT · පාඩම 10
Prints all tabs in the language you are reading. Use “Save as PDF” in the print window to keep a copy.ඔබ කියවන භාෂාවෙන් සියලු tabs මුද්රණය වේ. පිටපතක් තියාගන්න print window එකේ “Save as PDF” තෝරන්න.
🎬Video coming soon in this language. Switch language to watch the other video.මේ භාෂාවෙන් වීඩියෝව ඉක්මනින් එනවා. අනෙක් වීඩියෝව බලන්න භාෂාව මාරු කරන්න.
In this videoමේ වීඩියෝවේ
- CSS separates appearance from content.CSS පෙනුම අන්තර්ගතයෙන් වෙන් කරයි.
- A rule is selector { property: value; }.නීතිය = selector { property: value; }.
- Element, class, id and group selectors.selectors හතර.
- Inline, internal and external CSS.inline, අභ්යන්තර, බාහිර.
- Inline > id > class > element.inline > id > class > element.
CSSRuleSelectorDeclarationPropertyClass selectorId selector
Notesසටහන්
Syllabus 10.5. A style sheet controls how a page looks, keeping content (HTML) separate from appearance (CSS). A CSS rule has a selector and declarations property: value;. Selectors pick elements, an id, a class or a group. CSS can be inserted inline, internally in >
>
>
>Plain paragraph class="tip">Class tip id="note" class="tip">Id beats class class="tip" style="color: purple;">Inline beats all>CSS demo
>
