Assignment: 1.) : Selector Declaration Declaration
Assignment: 1.) : Selector Declaration Declaration
Cascading Style Sheets (CSS) is a simple mechanism for adding style such as fonts, colors and spacing to web documents. CSS id designed primarily to enable the separation of document content from document presentation. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting and reduce complexity and repetition in the structural content.
2.) What is ID Class & Selector? The ID Selector is used to specify a style for a single, unique element. It uses the ID attribute of the HTML document and is defined with #. The Class Selector is used to specify a style for a group of elements. Unlike the ID selector, the class selector is most often used on several elements. This allows you to set a particular style for many HTML elements with the same class. The class selector uses the HTML class attribute and is defined with a.
property value
property value