Learn to Code

With the world's largest web developer site.

HTML

The language for building web pages

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 >

CSS

The language for building web pages

CSS Example:

body{

    background-color: lightblue;

}

h1{

    color: lightblue;

    text-align: center ;

}

p{

    font-family: verdana;

}

JavaScript

The language for building web pages

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 >

Python

The language for building web pages

Python Example:

if 5 > 2;

print ( "Five is greater than two!" )

SQL

The language for building web pages

SQL Example:

SELECT * FROM Customers

WHERE CAOUNTRY= 'Mexico' ;

PHP

web server programming language
Learn PHP

jQuery

web server programming language
Learn jQuery

JAVA

web server programming language
Learn JAVA

C++

web server programming language
Learn C++

W3.CSS

web server programming language
Learn W3.CSS

BOOTSTRAP

web server programming language
Learn BOOTSTRAP

C

C++

R

Kotlin

Nodee.js

React

JSON

Vue

MySQL

XML

Graphics

Canvas

Colors

Git

Cyber Security

Data Science

MongoDB

Django

Excel

DSA

Artificial Intelligence

Machine Learning

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:

Learn More

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:

Learn More

Color Picker

W3Schools' famous color picker:

Color Game

Help the Lynx collect pine cones!

Play Game

Exercises and Quizzes

Test your skills!

Exercises

Quizes

Web Templates

Browse our selection of free responsive HTML Templates

Browse Templates

Kickstart your career

Get certified by completing a course

Get Started

How To Section

Code snippets for HTML, CSS and JavaScript

For example, how to create a slideshow:

Learn How TO