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:
<html>
<head>
<title>HTML Tutorial</title>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
background-color: lightblue;
}
h1 {
color: white;
text-align: center;
}
p {
font-family: verdana;
}
<script>
function myFunction() {
let x = document.getElementById("demo");
x.style.fontSize = "25px";
x.style.color = "red";
}
</script>
public static void main(String[] args) {
System.out.println("Hello World");
}
}
using namespace std;
int main() {
cout << "Hello World!";
return 0;
}
namespace HelloWorld {
class Program {
static void Main(string[] args) {
Console.WriteLine("Hello World!");
}
}
}
<html>
<body>
<?php
echo "My first PHP script!";
?>
</body>
</html>
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 tutorialsFree account
Save your progress.
Everywhere.
Learning is free with or without an account. Sign up to keep your XP, streaks and progress, on w3schools.com and in the Adventure app.
Certificates
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
My Portfolio
Built with Spaces.
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.