New
W3Schools
Adventure App
The W3Schools Adventure app is here! Coding fundamentals as a game. Bite-sized lessons, streaks and XP.
Free on iOS and Android.

Tutorials
What do you want to learn?
Pick a language and start right away. Every tutorial is packed with examples you can run and edit in your browser:
<!DOCTYPE html>
<html>
<head>
<title>HTML Tutorial</title>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
body {
background-color: lightblue;
}
h1 {
color: white;
text-align: center;
}
p {
font-family: verdana;
}
<button onclick="myFunction()">Click Me!</button>
<script>
function myFunction() {
let x = document.getElementById("demo");
x.style.fontSize = "25px";
x.style.color = "red";
}
</script>
if 5 > 2:
print("Five is greater than two!")
SELECT * FROM Customers
WHERE Country='Mexico';
public class Main {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
#include <stdio.h>
int main() {
printf("Hello World!");
return 0;
}
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!";
return 0;
}
using System;
namespace HelloWorld {
class Program {
static void Main(string[] args) {
Console.WriteLine("Hello World!");
}
}
}
<!DOCTYPE html>
<html>
<body>
<?php
echo "My first PHP script!";
?>
</body>
</html>
import { createRoot } from 'react-dom/client';
function Hello() {
return (
<h1>Hello World!</h1>
);
}
createRoot(document.getElementById('root')).render(<Hello />);
All languages
HTML
The building blocks of every webpage
CSS
Style and layout for web pages
JavaScript
Interactive and dynamic web pages
SQL
Query and manage databases
Python
Popular language for web, data & AI
Java
Object-oriented programming language
C
A powerful general-purpose language
C++
The language behind games & engines
C#
Build apps, games and web services
PHP
Server-side scripting language
React
Build interactive user interfaces
MySQL
Store and manage relational data
Excel
Spreadsheets and data
DSA
Data Structures and Algorithms
And 40+ more
W3.CSS, TypeScript, Git, Django, NumPy, jQuery, Bootstrap, R, AI, Data Science and many more
Browse all tutorialsCertificates
Kickstart your career.
Get certified by completing a course. Document your skills with a credential trusted by employers since 1999.
Certified HTML Developer
Issued by W3Schools
✓Verified credential you can share
W3Schools Spaces
Build and host websites.
Code directly in your browser, nothing to install. When you are ready, publish your site with one click.
Test your skills
Practice with W3Schools
Exercises, quizzes and a new coding challenge every week.