Menu
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE
     ❯   

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

Code Editor

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



Frontend Code Editor

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:


Dynamic Spaces Learn More

My Learning

Track your progress with
our free "My Learning" program.

Log in to your account, and start earning points!

Sign Up for Free

Become a Plus User

And unlock powerful features:

  • CheckmarkBrowse W3Schools without ads
  • CheckmarkBuild and host Websites
  • CheckmarkGet extra credits
  • CheckmarkPriority support
Learn More

Color Picker

W3Schools' famous color picker:

Colorpicker

For Teachers

Streamline your teaching:

  • CheckmarkManage your classroom
  • CheckmarkReady-to-use learning materials
  • CheckmarkCustomize study plans
  • CheckmarkTrack student progress
  • CheckmarkInteractive coding challenges
Learn More

Code Game

Help the Lynx collect pine cones!

Code Game

Play Game

Exercises and Quizzes

Test your skills!



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 . 2023

How To Section

Code snippets for HTML, CSS and JavaScript

For example, how to create a slideshow:

Learn How To
×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.

Copyright 1999-2024 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.