Learn to Code

With the world's largest web developer site.

Not Sure Where To Begin?

HTML

The language for building web pages

Learn HTML Video Tutorial HTML Reference Buy Certificate

HTML Example:

<!DOCTYPE html>
<html>
<title>HTML Tutorial</title>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html>
Try it yourself

CSS

The language for styling web pages

Learn CSS CSS Reference Buy Certificate

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 JavaScript JavaScript Reference Buy Certificate

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

Python

A popular programming language

Learn Python Python Reference Buy Certificate

Python Example:

if 5 > 2:
  print("Five is greater than two!")
Try it yourself

SQL

A popular programming language

Learn SQL SQL Reference Buy Certificate

SQL Example:

SELECT * FROM Customers
WHERE Country='Mexico';
Try it yourself

PHP

A web server programming language
Learn PHP

jQurey

A JS library for developing web pages
Learn jQurey

Java

A programming language
Learn Java

C++

A programming language
Learn PHP

W3.CSS

A CSS framework for faster and better responsive web pages
Learn W3.CSS

Bootstrap

A CSS framework for designing better web pages
Learn Bootstrap
C
C#
R
Kotlin
Node.js
React
JSON
AngularJS
MySQL
XML
Sass
Icons
RWD
Graphics
SVG
Canvas
Raspberry Pi
Cyber Security
Colors
Git
Matplotib
NumPy
Pandas
SciPy
ASP
Accessibility
AppML
Go
TypeScript
Django
Excel
Google Sheets
Machine Learning
Artificial Intelligence
Statistics
Data Science

Code Editor

With our online code editor, you can edit code and view the result in your browser

www.w3schools.com/tryit/
W3School code editor preview

W3Schools Spaces

Build your own website with W3Schools Spaces.

Get start for free w3schools how spaces works img

Color Picker

W3Schools' famous color picker

w3school color picker img

Code Game

Help the Lynx collect pine cones!

w3school code game img Play Game

Exercises and Quizzes

Test your skills

Web Templates

Browse our selection of free responsive HTML Templates

w3school web template BROWSE TEMPLATES

Kickstart your career

Get certified by completing a courses

Get started
w3school Certificate

How To Section

Code snippets for HTML, CSS and JavaScript

For example, how to create a slideshow:
www.w3schools.com/howto/
w3school nature wide img
1 / 3
Caption Text
LEARN HOW TO