Continuous Test Orchestration And Execution Platform Online

Perform automated and live-interactive testing on 3000+ real desktop and mobile devices online.

What is CSS in HTML?

Developed by World Wide Web Consortium (W3C), CSS stands for cascading style sheets used to style elements coded in markup languages like HTML. CSS isolates the visual representation of a web interface from the UI content.

HTML and CSS are interrelated to each other since HTML is a foundation of a website, whereas CSS is the aesthetics of a website. CSS has a simple English syntax with a set of rules.

CSS syntax consists of a selector and declaration block where you can select an element and declare what CSS you wish to apply to that specific element.

Shown below is a CSS syntax:


<style> 
p { 
color:red; text-weight: bold; 
} 
<style>

For more information about CSS properties, check out our CSS cheat sheet.

LambdaTest

Test your websites, web-apps, or mobile apps seamlessly with LambdaTest.

Start Free Testing
LambdaTest

Earn resume-worthy Selenium certifications that help you land a top job.

Learn More
LambdaTest

Test your web or mobile apps

Test orchestration and execution cloud of 3000+ browsers and OS

Support

24/7 support

Security

Enterprise grade security

Cloud

Fastest test execution cloud