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

Submitted URL: http://w3schools.com/
Effective URL: https://www.w3schools.com/
Submission: On March 23 via manual from US — Scanned from DE

Form analysis 1 forms found in the DOM

/action_page.php

<form class="example" action="/action_page.php" style="margin:auto;max-width:500px">
  <input type="text" placeholder="Search our tutorials, e.g. HTML" id="search2" autocomplete="off" onkeydown="key_pressed_in_search(event)" oninput="find_search_results(this)" onfocus="find_search_results(this)">
  <button type="button" id="learntocode_searchbtn" onclick="click_learntocode_search_btn()"><i id="learntocode_searchicon" class="fa fa-search"></i></button>
  <div id="listofsearchresults">
  </div>
</form>

Text Content

Tutorials References Exercises Bootcamp Menu

Log in
Spaces Sign Up Create Website Get Certified Pro
×

Tutorials

References

Exercises

Get Certified Sign Up PRO Spaces Bootcamp 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 C# Learn R Learn Kotlin Learn Go
Learn Django Learn TypeScript


SERVER SIDE

Learn SQL Learn MySQL Learn PHP Learn ASP Learn Node.js Learn Raspberry Pi Learn
Git Learn MongoDB Learn AWS Cloud


WEB BUILDING

Create a Website NEW Where To Start Web Templates Web Statistics Web
Certificates Web Development Code Editor Test Your Typing Speed Play a Code Game
Cyber Security Accessibility Join our Newsletter


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 Python Exercises SQL Exercises
PHP Exercises Java Exercises C Exercises C++ Exercises C# Exercises jQuery
Exercises React.js Exercises MySQL Exercises Bootstrap 5 Exercises Bootstrap 4
Exercises Bootstrap 3 Exercises NumPy Exercises Pandas Exercises SciPy Exercises
TypeScript Exercises Excel Exercises R Exercises Git Exercises Kotlin Exercises
Go Exercises MongoDB Exercises


QUIZZES

HTML Quiz CSS Quiz JavaScript Quiz Python Quiz SQL Quiz PHP Quiz Java Quiz C
Quiz C++ Quiz C# Quiz jQuery Quiz React.js Quiz MySQL Quiz Bootstrap 5 Quiz
Bootstrap 4 Quiz Bootstrap 3 Quiz NumPy Quiz Pandas Quiz SciPy Quiz TypeScript
Quiz XML Quiz R Quiz Git Quiz Kotlin Quiz Cyber Security Quiz Accessibility Quiz


COURSES

HTML Course CSS Course JavaScript Course Front End Course Python Course SQL
Course PHP Course Java Course C++ Course C# Course jQuery Course React.js Course
Bootstrap 4 Course Bootstrap 3 Course NumPy Course Pandas Course TypeScript
Course XML Course R Course Data Analytics Course Cyber Security Course
Accessibility Course


CERTIFICATES

HTML Certificate CSS Certificate JavaScript Certificate Front End Certificate
Python Certificate SQL Certificate PHP Certificate Java Certificate C++
Certificate C# Certificate jQuery Certificate React.js Certificate MySQL
Certificate Bootstrap 5 Certificate Bootstrap 4 Certificate Bootstrap 3
Certificate TypeScript Certificate XML Certificate Excel Certificate Data
Science Certificate Cyber Security Certificate Accessibility Certificate

Dark mode
Dark code


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


C


C#


R


KOTLIN


NODE.JS


REACT


JSON


ANGULARJS


MYSQL


XML


SASS


ICONS


RWD


GRAPHICS


SVG


CANVAS


RASPBERRY PI


CYBER SECURITY


COLORS


GIT


MATPLOTLIB


NUMPY


PANDAS


SCIPY


ASP


ACCESSIBILITY


APPML


GO


TYPESCRIPT


DJANGO


MONGODB


STATISTICS


DATA SCIENCE


TYPING SPEED


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



Frontend Backend



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!

Sign Up for Free



BECOME A PRO USER


AND UNLOCK POWERFUL FEATURES:

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

Learn More



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


HOW TO SECTION

CODE SNIPPETS FOR HTML, CSS AND JAVASCRIPT

FOR EXAMPLE, HOW TO CREATE A SLIDESHOW:




Learn How To
QUIZZES EXERCISES CERTIFICATES UPGRADE SPACES SUPPORT NEWSLETTER QUIZZES
EXERCISES SUPPORT
FORUM | ABOUT

CERTIFICATES

UPGRADE

SPACES

NEWSLETTER

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-2023 by Refsnes Data. All Rights Reserved.






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.

Customise choices
Accept all & visit the site