www.w3schools.com Open in urlscan Pro
192.229.133.221  Public Scan

Submitted URL: http://www.w3schools.com/
Effective URL: https://www.w3schools.com/
Submission: On October 21 via api from SG — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Tutorials References Exercises Videos NEW Menu

Log in
Paid Courses Website NEW
  
×

Tutorials

References

Exercises

Paid Courses Spaces Videos Shop
×



TUTORIALS


HTML AND CSS

Learn HTML Learn CSS Learn RWD Learn Bootstrap Learn W3.CSS Learn Colors Learn
Icons Learn Graphics Learn SVG Learn Canvas Learn How To Learn Sass


DATA ANALYTICS

Learn AI Learn Machine Learning Learn Data Science Learn NumPy Learn Pandas
Learn SciPy Learn Matplotlib Learn Statistics Learn Excel Learn Google Sheets


XML TUTORIALS

Learn XML Learn XML AJAX Learn XML DOM Learn XML DTD Learn XML Schema Learn XSLT
Learn XPath Learn XQuery


JAVASCRIPT

Learn JavaScript Learn jQuery Learn React Learn AngularJS Learn JSON Learn AJAX
Learn AppML Learn W3.JS


PROGRAMMING

Learn Python Learn Java Learn C++ Learn C# Learn R Learn Kotlin Learn Go


SERVER SIDE

Learn SQL Learn MySQL Learn PHP Learn ASP Learn Node.js Learn Raspberry Pi Learn
Git


WEB BUILDING

Create a Website NEW Web Templates Web Statistics Web Certificates Web
Development Code Editor Test Your Typing Speed Play a Code Game Cyber Security
Accessibility


DATA ANALYTICS

Learn AI Learn Machine Learning Learn Data Science Learn NumPy Learn Pandas
Learn SciPy Learn Matplotlib Learn Statistics Learn Excel Learn Google Sheets


XML TUTORIALS

Learn XML Learn XML AJAX Learn XML DOM Learn XML DTD Learn XML Schema Learn XSLT
Learn XPath Learn XQuery

×



REFERENCES


HTML

HTML Tag Reference HTML Browser Support HTML Event Reference HTML Color
Reference HTML Attribute Reference HTML Canvas Reference HTML SVG Reference
Google Maps Reference


CSS

CSS Reference CSS Browser Support CSS Selector Reference Bootstrap 3 Reference
Bootstrap 4 Reference W3.CSS Reference Icon Reference Sass Reference


JAVASCRIPT

JavaScript Reference HTML DOM Reference jQuery Reference AngularJS Reference
AppML Reference W3.JS Reference


PROGRAMMING

Python Reference Java Reference


SERVER SIDE

SQL Reference MySQL Reference PHP Reference ASP Reference


XML

XML DOM Reference XML Http Reference XSLT Reference XML Schema Reference


CHARACTER SETS

HTML Character Sets HTML ASCII HTML ANSI HTML Windows-1252 HTML ISO-8859-1 HTML
Symbols HTML UTF-8

×



EXERCISES AND QUIZZES


EXERCISES

HTML Exercises CSS Exercises JavaScript Exercises SQL Exercises MySQL Exercises
PHP Exercises Python Exercises NumPy Exercises Pandas Exercises SciPy Exercises
jQuery Exercises Java Exercises C++ Exercises C# Exercises R Exercises Kotlin
Exercises Go Exercises Bootstrap Exercises Bootstrap 4 Exercises Bootstrap 5
Exercises Git Exercises


QUIZZES

HTML Quiz CSS Quiz JavaScript Quiz SQL Quiz MySQL Quiz PHP Quiz Python Quiz
NumPy Quiz Pandas Quiz SciPy Quiz jQuery Quiz Java Quiz C++ Quiz C# Quiz R Quiz
XML Quiz Cyber Security Quiz Bootstrap Quiz Bootstrap 4 Quiz Bootstrap 5 Quiz
Accessibility Quiz


COURSES

HTML Course CSS Course JavaScript Course Front End Course SQL Course Python
Course Data Analytics Course NumPy Course Pandas Course jQuery Course PHP Course
Java Course C++ Course C# Course XML Course R Course Cyber Security Course
Accessibility Course


CERTIFICATES

HTML Certificate CSS Certificate JavaScript Certificate Front End Certificate
SQL Certificate Python Certificate Data Science Certificate Bootstrap 3
Certificate Bootstrap 4 Certificate jQuery Certificate PHP Certificate Java
Certificate C++ Certificate XML Certificate



HTML

The language for building web pages

Learn HTML
Video TutorialNEW
HTML Reference


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


CSS EXAMPLE:

body {
  background-color: lightblue;
}

h1 {
  color: white;
  text-align: center;
}
Try it Yourself


JAVASCRIPT

The language for programming web pages

Learn JavaScript
JavaScript Reference


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


PYTHON EXAMPLE:

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


SQL

A language for accessing databases

Learn SQL
SQL Reference


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 BS3 LEARN BS4 LEARN BS5


C#


R


KOTLIN


MYSQL


NODEJS


REACT


JSON


ANGULARJS


W3.JS


XML


SASS


ICONS


RWD


GRAPHICS


SVG


CANVAS


RASPBERRY PI


CYBER SECURITY


COLORS


GIT


MATPLOTLIB


NUMPY


PANDAS


SCIPY


ASP


ACCESSIBILITY


APPML


GO


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



Frontend Backend



Try Frontend Editor (HTML/CSS/JS)

Try Backend Editor (Python/PHP/Java..)


COLOR PICKER

W3SCHOOLS' FAMOUS 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 . 2021


HOW TO SECTION

CODE SNIPPETS FOR HTML, CSS AND JAVASCRIPT

FOR EXAMPLE, HOW TO CREATE A SLIDESHOW:




LEARN HOW TO
COURSES QUIZZES EXERCISES SPACES COURSES QUIZZES EXERCISES
FORUM | ABOUT

SPACES

FORUM | ABOUT
  

W3Schools is optimized for learning, testing, and training. Examples might be
simplified to improve reading and basic understanding. Tutorials, references,
and examples are constantly reviewed to avoid errors, but we cannot warrant full
correctness of all content. While using this site, you agree to have read and
accepted our terms of use, cookie and privacy policy.
Copyright 1999-2021 by Refsnes Data. All Rights Reserved.



W3SCHOOLS SHOP



WE CARE ABOUT YOUR PRIVACY!

When visiting our site, pre-selected companies may access and use certain
information on your device and about this web page to serve relevant ads or
personalised content. Please note that ads help keep our service free. Personal
data will be processed based on consent in accordance with Art.6(1)(a) of the
GDPR framework in EU law, or as legitimate interest in accordance with
Art.6(1)(f) of the same.


LEARN MORE WHY YOU ARE SEEING THIS

We, the 'Publisher', and a select group of trusted partners, known as 'Vendors',
need your consent for data-processing purposes. These purposes include to store
and/or access information on a device, like cookie management and to process
personal data such as standard information sent by a device and other unique
identifiers for personalised ads and content, ad and content measurement,
audience insights and product development. With your consent we and our partners
may use precise geolocation data and actively scan device characteristics for
identification.

You may consent to the processing described above or access more detailed
information and customise your choices. The given consent will apply to this
site only. Please take into consideration that some of your personal data
processing may rely on legitimate interest which does not require your consent
but you have a right to object to this.

You can always edit your preferences at any time in our site’s privacy policy
page.

Privacy Policy
Customise choices
Accept all & visit the site
Privacy Policy