DEV Community

Mohamed Ajmal
Mohamed Ajmal

Posted on

CSS

Learning CSS-Cascading Style Sheet Language used to describe the presentation and visual formatting of a Document written in markup language like HTML and XML.

we have three ways to apply: Inline, Internal, External.

Inline : Styles are applied directly to the element using "style" attribute. That's for Quick changes and discouraged method.

Internal : Style are applied using tag in head section of the HTML Document.</p> <p>External : This is the most common and recommended method. Styles a defined in separate CSS file to linked into the HTML page using Link tag.</p> <p>selectors: CSS selectors define which HTML elements your CSS rules will style.</p> <p>The mainly using selectors in CSS. Class selectors, ID selectors, Universal Selector, Element Selector, Attribute Selectors, Pseudo-class Selectors, </p>

Top comments (0)