Welcome to W3Schools!
The Grooviest Place to Learn Web Development!
HOT NEW CONTENT! CHECK IT OUT! - LEARN TO CODE NOW! - GET CERTIFIED! - VISITORS ARE WELCOME!

Learn to Code

With the world's largest web developer site. Don't Delay - Code Today!

HTML

The language for building web pages

Learn HTML | Video Tutorial | HTML Reference | Get Certified

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>
                    
Try it Yourself!

CSS

The language for styling web pages

Learn CSS | CSS Reference | Get Certified

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 | Get Certified

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 | Get Certified

Python Example:

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

SQL

A language for accessing databases

Learn SQL | SQL Reference | Get Certified

SQL Example:

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

PHP

A web server programming language

Learn PHP

jQuery

A JS library for developing web pages

Learn jQuery

Java

A programming language

Learn Java

C++

A programming language

Learn C++

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

CC# - Kotlin - Node.js - React - JSON - Vue - MySQL - XML - Sass - Icons - RWD - Graphics - SVG - Canvas - Raspberry Pi - CyberSecurity - Colors - Git - Matplotlib - NumPy - Pandas - SciPy - ASP - AngularJs - AppML - Go - TypeScript - Django - MongoDB - Statistics - Data Science - PostgreSQL

HowTo - Rust - Spaces - Typing Speed - Excel - DSA - DataStructures and Algorithms - Machine Learning - Artificial Intelligence

Create a free account to track your progress, and get access to more features and learning materials.

Sign Up for Free!

Code Editor

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

Frontend Editor (HTML/CSS/JS) 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

Become a Plus User

And unlock powerful features:

  • Browse W3Schools without ads
  • Build and host Websites
  • Unlimited challenges
  • Unlimited practice tests
  • Get extra credits
  • Priority support
Learn More

For Teachers

Streamline your teaching:

  • Manage your classroom
  • Ready-to-use learning materials
  • Customize study plans
  • Track student progress
  • Interactive coding challenges
Learn More

Color Picker

W3Schools' famous color picker:

Color Picker

Code Game

Help the Lynx collect pine cones!

Play Game

Exercises and Quizzes

Test your skills!

Exercises Quizzes

Web Templates

Browse our selection of free responsive HTML Templates

Browse Templates

Kickstart your career

Get certified by completing a course

Get Started

w3schools CERTIFIED.2025


How To Section

Code snippets for HTML, CSS and JavaScript

For example, how to create a slideshow:

Learn How To

★+1 Track your progress - it's free!

Log in Sign Up
Under Construction New! Generate your own 90s page here! Under Construction