Learn to Code

With the world largest web developer site.

HTML

The language for building web pages.

HTML Example:

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

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

</body>
</html>

CSS

The language for styling web pages.

CSS Example:

body {
background-color: lightblue;
}

h1 {
color: white;
text-align: center;
}

p {
font-family: verdana;
}

Javascript

A language for programming 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

A popular programming language.

Python Example:

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




SQL

A language for accessing database.

SQL Example:

SELECT * FROM Customers
WHERE Country='Mexico';




PHP

A web server programming language.

jQuery

A JS library for developing web pages.

Java

A programming language.

C++

A programming language.

W3.CSS

A CSS framework for faster and better responsive web pages

Bootstrap

A CSS framework for designing better web pages

C

C#

R

Kotlin

Node.js

React

JSON

AngularJS

XML

MySQL

SAAS

Icon

RWD

Graphics

Excel

Google Sheets

Machine Learning

Artificial Intelligence

Code Editor

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

www.w3schools.com/tryit/

codeeditor

W3Schools spaces

Build your own website with W3Schools Spaces.

Spaces howitworks

My Learning

Track your progress with the free "My Learning" program here at W3Schools.
Log in to your account, and start earning points!

mylearningpoints

Become a Pro User

And unlock powerful features:

Browse W3Schools without ads
Website hosting (Includes Spaces PRO)
Access to our HTML Video Tutorial

Color Picker

W3Schools famous color picker.

color-picker

Code Game

Help the Lynx collect pine cones!

lynx

Exercises and Quizzes

Test your skills

Exercises

Quizzes

Web Templates

Browse our selection of free responsive HTML Templates

Kickstart your career

Get certified by completing a course

How to Section

Code snippets for HTML, CSS and JavaScript

For example, how to create a slideshow:

www.w3schools.com/howto/

how-to-section