❮
HTML
CSS
JAVASCRIPT
SQL
PYTHON
JAVA
PHP
HOW TO
W3.CSS
C
C++
C#
BOOTSTRAP
REACT
MYSQL
JQUERY
EXCEL
XML
DJANGO
NUMPY
PANDAS
NODEJS
R
TYPESCRIPT
ANGULAR
GIT
POSTGRESQL
MONGODB
ASP
AI
GO
KOTLIN
SASS
VUE
DSA
GEN AI
SCIPY
AWS
CYBERSECURITY
DATA SCIENCE
❯
HTML Example:
<!DOCTYPE html>
<html>
<head>
<title>HTML Tutorial</title>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Try it Yourself
CSS Example:
body {
background-color: lightblue;
}
h1 {
color: white;
text-align: center;
}
p {
font-family: verdana;
}
Try it Yourself
JavaScript
The language for programming web pages
Learn JavaScriptJavaScript Reference
Get Certified
JavaScript Example:
<button onclick="myFunction()">Click Me!</button>
<script>
function myFunction() {
let x = document.getElementById("demo");
x.style.fontSize = "25px";
x.style.color = "red";
}
</script>
Try it Yourself
Code Editor
With our online code editor, you can edit code and view the result in your browser
Try Frontend Editor (HTML/CSS/JS)
Try Backend Editor (Python/PHP/Java/C..)
W3Schools Spaces
If you want to create your own website, check out W3Schools Spaces.
It is free to use, and does not require any setup:
My Learning
Track your progress with
our free "My Learning" program.
Log in to your account, and start earning points!
Become a Plus User
And unlock powerful features:
Browse W3Schools without ads
Build and host Websites
Get extra credits
Priority support
For Teachers
Streamline your teaching:
Manage your classroom
Ready-to-use learning materials
Customize study plans
Track student progress
Interactive coding challenges
0 Comments