๐ปCSS elements for QA
What is CSS?
CSS stands for Cascading Style Sheets. It is a language used for styling HTML documents, i.e. it describes the layout of the HTML document, how elements should look, and so on.
it is a styling language that is used in modifying the content of web pages.
What are CSS selectors?
A CSS selector is an identifier of one or many elements on a web page.
What is CSS used for?
Their primary purpose is to enable visual styling of the site, but they can be used to automate front-end testing as well.
In other words, itโs a way to locate one or more elements on the page.
CSS Syntax
CSS style starts with a selector enclosed by curly brackets {} used to denote the start and end of styles applied to the selector
Lastly, inside the curly brackets are 1 or more property value pairs. Each of these pairs defines a property such as color, font size, etc., and the value for that property
Types of Selectors
Last updated