csslearn.online
HTML CSS JAVASCRIPT SQL PYTHON PHP LIVE-CODE W3.CSS
GAME BLOG

× login
Remember me
Forgot password?
Tutorials References
×

CSS Introduction

❮ Previous Next ❯

CSS is the language we use to style a Web page.


CSS

The Language for Styling Web Pages

LEARN CSS CSS REFERENCE

body {
background-color: #d0e4fe;
}
h1 {
color: orange;
text-align: center;
}
p {
font-family: "Times New Roman";
font-size: 20px;
}
Try it Yourself

JS

The Language for Programming Web Pages

LEARN JS JS REFERENCE

// Click the button to change the color of this paragraph

function myFunction() {
var x;
x = document.getElementById("demo");
x.style.fontSize = "25px";
x.style.color = "red";
}
Try it Yourself