www.htmlyse.com - Home

Test DNS, SSL/TLS, HTTP and HTML

Test results for w3schools.com

Scanned on: Wed Jul 25 16:10:45 2018 GMT. Tested in 282 seconds

DNS Report

DNSSEC                 not offered
Zone transfer (AXFR)   not allowed (OK)
CAA Record             not offered
SPF Record             offered (OK)
DMARC Record           not offered
MTA-STS                not offered
TLSRPT Record          not offered

Raw DNS Records

Name TTL Type Data
w3schools.com 3600 SOA ns1.maximumasp.com admin @ maximumasp.com 2005122568 7200 600 1209600 3600
w3schools.com 3600 NS ns1.maximumasp.com, IPv4: 216.128.31.5
w3schools.com 3600 NS ns2.maximumasp.com, IPv4: 216.128.31.6
w3schools.com 3600 A 66.29.212.110
w3schools.com 3600 MX 10 aspmx.l.google.com
w3schools.com 3600 MX 20 alt1.aspmx.l.google.com
w3schools.com 3600 MX 20 alt2.aspmx.l.google.com
w3schools.com 3600 MX 30 aspmx4.googlemail.com
w3schools.com 3600 MX 30 aspmx3.googlemail.com
w3schools.com 3600 MX 30 aspmx5.googlemail.com
w3schools.com 3600 MX 30 aspmx2.googlemail.com
w3schools.com 3600 TXT v=spf1 include:_spf.google.com ip4:148.122.215.227 ~all
www.w3schools.com 3600 CNAME cs837.wac.edgecastcdn.net
cs837.wac.edgecastcdn.net 3258 A 192.229.133.221

SSL/TLS Report

 A record via            supplied IP "66.29.212.110"
 rDNS (66.29.212.110):   mail.medlinkrecruiting.com.
 Service detected:       HTTP


 SSL/TLS protocols 
 SSLv2      offered (NOT ok), also VULNERABLE to DROWN attack -- 2 ciphers
 SSLv3      offered (NOT ok)
 TLS 1      offered
 TLS 1.1    not offered -- downgraded
 TLS 1.2    not offered -- strange, server closed TCP connection 
 TLS 1.3    not offered -- downgraded
 NPN/SPDY   not offered
 ALPN/HTTP2 not offered

 SSL/TLS server implementation bugs 

 No bugs found.

 Cipher categories 

 NULL ciphers (no encryption)                  not offered (OK) -- NULL:eNULL
 Anonymous NULL Ciphers (no authentication)    not offered (OK) -- aNULL:ADH
 Export ciphers (w/o ADH+NULL)                 not offered (OK) -- EXPORT:!ADH:!NULL
 LOW: 64 Bit + DES encryption (w/o export)     not offered (OK) -- LOW:DES:!ADH:!EXP:!NULL
 Weak 128 Bit ciphers (SEED, IDEA, RC[2,4])    offered (NOT ok) -- MEDIUM:!aNULL:!AES:!CAMELLIA:!ARIA:!CHACHA20:!3DES
 Triple DES Ciphers (Medium)                   offered -- 3DES:!aNULL:!ADH
 High encryption (AES+Camellia, no AEAD)       offered (OK) -- HIGH:!NULL:!aNULL:!DES:!3DES:!AESGCM:!CHACHA20:!AESGCM:!CamelliaGCM:!AESCCM8:!AESCCM
 Strong encryption (AEAD ciphers)              not offered -- AESGCM:CHACHA20:AESGCM:CamelliaGCM:AESCCM8:AESCCM


 Robust (perfect) forward secrecy, (P)FS -- omitting Null Authentication/Encryption, 3DES, RC4 

 PFS is offered (OK)          ECDHE-RSA-AES256-SHA ECDHE-RSA-AES128-SHA 
 Elliptic curves offered:     prime256v1 secp384r1 


 Server preferences 

 Has server cipher order?     yes (OK)
 Negotiated protocol          TLSv1
 Negotiated cipher            AES128-SHA
 Cipher order
    SSLv3:     RC4-SHA DES-CBC3-SHA RC4-MD5 
    TLSv1:     AES128-SHA AES256-SHA RC4-SHA DES-CBC3-SHA ECDHE-RSA-AES128-SHA 
               ECDHE-RSA-AES256-SHA RC4-MD5 


 Server defaults (Server Hello) 

 TLS extensions (standard)    "status request/#5" "renegotiation info/#65281"
                              "extended master secret/#23"
 Session Ticket RFC 5077 hint (no lifetime advertised)
 SSL Session ID support       yes
 Session Resumption           Tickets: yes, ID: yes
 TLS clock skew               +3 sec from localtime
 Signature Algorithm          SHA256 with RSA
 Server key size              RSA 2048 bits
 Server key usage             Digital Signature, Key Encipherment
 Server extended key usage    TLS Web Server Authentication, TLS Web Client Authentication
 Serial / Fingerprints        600D440704686D08FBFE025659D0FDCA / SHA1 518256A27102DC25E3328285267AC9A239A9984D
                              SHA256 1B8B5B25891543517805B44092B72229D74B8470EA6DB3B99123B8A68ACD929F
 Common Name (CN)             w3schools.com
 subjectAltName (SAN)         w3schools.com www.w3schools.com 
 Issuer                       Network Solutions DV Server CA 2 (Network Solutions L.L.C. from US)
 Trust (hostname)             Ok via SAN and CN (same w/o SNI)
 Chain of trust               Ok   
 EV cert (experimental)       no 
 Certificate Validity (UTC)   78 >= 60 days (2017-10-12 02:00 --> 2018-10-12 01:59)
 # of certificates provided   3
 Certificate Revocation List  http://crl.netsolssl.com/NetworkSolutionsDVServerCA2.crl
 OCSP URI                     http://ocsp.netsolssl.com
 OCSP stapling                offered
 OCSP must staple extension   --
 DNS CAA RR (experimental)    not offered
 Certificate Transparency     --


 HTTP header response @ "/" 

 HTTP Status Code             301 Moved Permanently, redirecting to "https://www.w3schools.com/"
 HTTP clock skew              +3 sec from localtime
 Strict Transport Security    not offered
 Public Key Pinning           --
 Server banner                Microsoft-IIS/7.5
 Application banner           X-Powered-By: ASP.NET
 Cookie(s)                    (none issued at "/") -- maybe better try target URL of 30x
 Security headers             X-Frame-Options SAMEORIGIN
 Reverse Proxy banner         --


 SSL/TLS vulnerabilities 

 Heartbleed (CVE-2014-0160)                not vulnerable (OK), no heartbeat extension
 CCS (CVE-2014-0224)                       not vulnerable (OK)
 Ticketbleed (CVE-2016-9244), experiment.  not vulnerable (OK), no session ticket extension
 ROBOT                                     not vulnerable (OK)
 Secure Renegotiation (CVE-2009-3555)      not vulnerable (OK)
 Secure Client-Initiated Renegotiation     not vulnerable (OK)
 CRIME, TLS (CVE-2012-4929)                not vulnerable (OK)
 BREACH (CVE-2013-3587)                    no HTTP compression (OK)  - only supplied "/" tested
 POODLE, SSL (CVE-2014-3566)               VULNERABLE (NOT ok), uses SSLv3+CBC (check TLS_FALLBACK_SCSV mitigation below)
 TLS_FALLBACK_SCSV (RFC 7507)              Downgrade attack prevention NOT supported and vulnerable to POODLE SSL
 SWEET32 (CVE-2016-2183, CVE-2016-6329)    VULNERABLE, uses 64 bit block ciphers
 FREAK (CVE-2015-0204)                     not vulnerable (OK)
 DROWN (CVE-2016-0800, CVE-2016-0703)      VULNERABLE (NOT ok), SSLv2 offered with 2 ciphers
                                           Make sure you don't use this certificate elsewhere, see:
                                           https://censys.io/ipv4?q=1B8B5B25891543517805B44092B72229D74B8470EA6DB3B99123B8A68ACD929F
 LOGJAM (CVE-2015-4000), experimental      not vulnerable (OK): no DH EXPORT ciphers, no DH key detected
 BEAST (CVE-2011-3389)                     SSL3: DES-CBC3-SHA 
                                           TLS1: AES128-SHA AES256-SHA
                                                 DES-CBC3-SHA
                                                 ECDHE-RSA-AES128-SHA
                                                 ECDHE-RSA-AES256-SHA 
                                           VULNERABLE -- and no higher protocols as mitigation supported
 LUCKY13 (CVE-2013-0169), experimental     potentially VULNERABLE, uses cipher block chaining (CBC) ciphers with TLS. Check patches
 RC4 (CVE-2013-2566, CVE-2015-2808)        VULNERABLE (NOT ok): RC4-SHA RC4-MD5
                                                                RC4-MD5 


 Tested 364 ciphers, ordered by encryption strength 

Hexcode  Cipher Suite Name (OpenSSL)       KeyExch.   Encryption  Bits     Cipher Suite Name (RFC)
-----------------------------------------------------------------------------------------------------------------------------
 xc014   ECDHE-RSA-AES256-SHA              ECDH 256   AES         256      TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA                 
 x35     AES256-SHA                        RSA        AES         256      TLS_RSA_WITH_AES_256_CBC_SHA                       
 xc013   ECDHE-RSA-AES128-SHA              ECDH 256   AES         128      TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA                 
 x2f     AES128-SHA                        RSA        AES         128      TLS_RSA_WITH_AES_128_CBC_SHA                       
 x05     RC4-SHA                           RSA        RC4         128      TLS_RSA_WITH_RC4_128_SHA                           
 x04     RC4-MD5                           RSA        RC4         128      TLS_RSA_WITH_RC4_128_MD5                           
 x010080 RC4-MD5                           RSA        RC4         128      SSL_CK_RC4_128_WITH_MD5                            
 x0a     DES-CBC3-SHA                      RSA        3DES        168      TLS_RSA_WITH_3DES_EDE_CBC_SHA                      
 x0700c0 DES-CBC3-MD5                      RSA        3DES        168      SSL_CK_DES_192_EDE3_CBC_WITH_MD5                   


 Ciphers per protocol, ordered by encryption strength 

Hexcode  Cipher Suite Name (OpenSSL)       KeyExch.   Encryption  Bits     Cipher Suite Name (RFC)
-----------------------------------------------------------------------------------------------------------------------------
TLS 1.3  
TLS 1.2  
TLS 1.1  
TLS 1  
 xc014   ECDHE-RSA-AES256-SHA              ECDH 256   AES         256      TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA                 
 x35     AES256-SHA                        RSA        AES         256      TLS_RSA_WITH_AES_256_CBC_SHA                       
 xc013   ECDHE-RSA-AES128-SHA              ECDH 256   AES         128      TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA                 
 x2f     AES128-SHA                        RSA        AES         128      TLS_RSA_WITH_AES_128_CBC_SHA                       
 x05     RC4-SHA                           RSA        RC4         128      TLS_RSA_WITH_RC4_128_SHA                           
 x04     RC4-MD5                           RSA        RC4         128      TLS_RSA_WITH_RC4_128_MD5                           
 x0a     DES-CBC3-SHA                      RSA        3DES        168      TLS_RSA_WITH_3DES_EDE_CBC_SHA                      
SSLv3  
 x05     RC4-SHA                           RSA        RC4         128      TLS_RSA_WITH_RC4_128_SHA                           
 x04     RC4-MD5                           RSA        RC4         128      TLS_RSA_WITH_RC4_128_MD5                           
 x0a     DES-CBC3-SHA                      RSA        3DES        168      TLS_RSA_WITH_3DES_EDE_CBC_SHA                      
SSLv2  
 x010080 RC4-MD5                           RSA        RC4         128      SSL_CK_RC4_128_WITH_MD5                            
 x0700c0 DES-CBC3-MD5                      RSA        3DES        168      SSL_CK_DES_192_EDE3_CBC_WITH_MD5                   

 Client simulations 

 Android 4.2.2                TLSv1.0 AES128-SHA
 Android 4.4.2                TLSv1.0 AES128-SHA
 Android 5.0.0                TLSv1.0 AES128-SHA
 Android 6.0                  TLSv1.0 AES128-SHA
 Android 7.0                  TLSv1.0 AES128-SHA
 Chrome 57 Win 7              TLSv1.0 AES128-SHA
 Chrome 65 Win 7              TLSv1.0 AES128-SHA
 Firefox 53 Win 7             TLSv1.0 AES128-SHA
 Firefox 59 Win 7             TLSv1.0 AES128-SHA
 IE 6 XP                      SSLv3   RC4-SHA
 IE 7 Vista                   TLSv1.0 AES128-SHA
 IE 8 Win 7                   TLSv1.0 AES128-SHA
 IE 8 XP                      TLSv1.0 RC4-SHA
 IE 11 Win 7                  TLSv1.0 AES128-SHA
 IE 11 Win 8.1                TLSv1.0 AES128-SHA
 IE 11 Win Phone 8.1          TLSv1.0 AES128-SHA
 IE 11 Win 10                 TLSv1.0 AES128-SHA
 Edge 13 Win 10               TLSv1.0 AES128-SHA
 Edge 13 Win Phone 10         TLSv1.0 AES128-SHA
 Edge 15 Win 10               TLSv1.0 AES128-SHA
 Opera 17 Win 7               TLSv1.0 AES128-SHA
 Safari 9 iOS 9               TLSv1.0 AES128-SHA
 Safari 9 OS X 10.11          TLSv1.0 AES128-SHA
 Safari 10 OS X 10.12         TLSv1.0 AES128-SHA
 Apple ATS 9 iOS 9            No connection
 Tor 17.0.9 Win 7             TLSv1.0 AES128-SHA
 Java 6u45                    TLSv1.0 AES128-SHA
 Java 7u25                    TLSv1.0 AES128-SHA
 Java 8u161                   TLSv1.0 AES128-SHA
 Java 9.0.4                   TLSv1.0 AES128-SHA
 OpenSSL 1.0.1l               TLSv1.0 AES128-SHA
 OpenSSL 1.0.2e               TLSv1.0 AES128-SHA


Security HTTP Headers

HTTP Strict Transport Security (HSTS)   not offered (NOT ok)
Content Security Policy (CSP)           not offered (NOT ok)
X-Frame-Options                         offered (OK)
X-XSS-Protection                        not offered
X-Content-Type-Options                  not offered
Expect-CT                               not offered
Referrer Policy                         not offered
Feature Policy                          not offered
Web Server Version Disclosure           offered (NOT ok)
Web Application Disclosure              offered (NOT ok)
HTTP Public Key Pins (HPKP)             not offered, deprecated

Connection Performance
Keep Alive Connection                   not offered
Content Encoding (Compression)          offered (Gzip) OK, for static pages or if no secrets in the page

Raw HTTP Headers

HTTP/1.1 200 OK
Accept-Ranges bytes
Cache-Control Public,public
Content-Encoding gzip
Content-Length 9723
Content-Type text/html
Date Wed, 25 Jul 2018 16:06:11 GMT
Expires Wed, 25 Jul 2018 20:06:11 GMT
Last-Modified Wed, 25 Jul 2018 11:46:59 GMT
Server ECS (fcn/4192)
Vary Accept-Encoding
X-Cache HIT
X-Frame-Options SAMEORIGIN
X-Powered-By ASP.NET

Cleaned HTML

<!DOCTYPE html>
<html lang="en-US">
<head>
<title>W3Schools Online Web Tutorials</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="Keywords" content="HTML,CSS,JavaScript,DOM,jQuery,PHP,SQL,XML,Bootstrap,Web,W3CSS,W3C,tutorials,programming,development,training,learning,quiz,primer,lessons,reference,examples,source code,colors,demos,tips,w3c" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="w3css/4/w3.css" />
<script>
<![CDATA[
(function() {
var cx = '012971019331610648934:m2tou3_miwy';
var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true;
gcse.src = 'https://www.google.com/cse/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s);
})();
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-3855518-1', 'auto');
ga('require', 'displayfeatures');
ga('send', 'pageview');
]]>
</script>
<style>
<![CDATA[
/* W3Schools Font Logo */
.w3schools-logo {
font-family:fontawesome;
text-decoration:none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size:37px;
letter-spacing:3px;
color:#555555;
display:block;
position:relative;
}
.w3schools-logo .dotcom {color:#4CAF50;}
@font-face {
font-family:'fontawesome';
src:url('../lib/fonts/fontawesome.eot?14663396#iefix') format('embedded-opentype'),
url('../lib/fonts/fontawesome.woff?14663396') format('woff'),
url('../lib/fonts/fontawesome.ttf?14663396') format('truetype'),
url('../lib/fonts/fontawesome.svg?14663396#fontawesome') format('svg');
font-style:normal;
}
.fa {
display:inline-block;
font:normal normal normal 14px/1 FontAwesome;
font-size:20px;
text-rendering:auto;
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
transform:translate(0,0);
}
.fa-home:before {content:'\e800';}
.fa-menu:before {content: '\f0c9';}
.fa-globe:before {content:'\e801';}
.fa-search:before {content:'\e802'; }
.fa-thumbs-o-up:before {content:'\e803';}
.fa-left-open:before {content:'\e804';}
.fa-right-open:before {content:'\e805';}
.fa-caret-down:before {content:'\e809';}
.fa-caret-up:before {content:'\e80a';}
/* Google */
#nav_translate, #nav_search {display:none;}
#nav_translate a {display:inline;}
#googleSearch {color:#000000;}
.searchdiv {
max-width:400px;
margin:auto;
text-align:left;
font-size:16px;
}
div.cse .gsc-control-cse, div.gsc-control-cse {
background-color:transparent;
border:none;
padding:0px;
margin:0px;
}
td.gsc-search-button input.gsc-search-button {background-color:#555555;border-color:#555555;}
input.gsc-input, .gsc-input-box, .gsc-input-box-hover, .gsc-input-box-focus, .gsc-search-button {
box-sizing:content-box;
line-height:normal;
}
.gsc-tabsArea div {overflow:visible;}
.gsst_a .gscb_a {margin-top:3px;}
/* Customize W3.CSS */
#nav_tutorials,#nav_references,#nav_examples {
display:none;
padding-bottom:40px;
position:absolute;
width:100%;
z-index:99 !important;
}
.w3-col .w3-button {
margin:5px 5px 5px 0;
font-size:16px;
}
.w3-col.l4 .w3-card-2 {
padding:15px 10px;
height:260px;
}
.w3-theme {color:#fff !important;background-color:#4CAF50 !important;}
.w3-main {margin-left:230px;}
.w3-sidebar {
z-index:3;
width:230px;
overflow:hidden !important;
position:absolute !important;
margin-bottom:-155px;
}
.w3-sidebar .w3-bar-block .w3-bar-item{
padding:0 16px;
font-size:16px;
}
.w3-bar {
position:relative;
z-index:4;
font-size:17px;
}
.w3-wide {
font-family:"Segoe UI",Arial,sans-serif;
}
h1 {
font-size:80px;
color:#555555;
margin:2px 0 -20px 0 !important;
}
.certoverlay {
position:absolute;
top:0;
background-color:rgba(0, 0, 0, 0.5);
width:100%;
text-align:center;
padding:15px
}
.certoverlay h2 {
margin:10px 0 0 0;
font-size:36px;
}
.certoverlay h3 {
margin:0 0 10px 0;
}

@media screen and (min-width:769px){.w3-sidebar.w3-collapse{display:block !important;}}
@media screen and (min-width:769px){#myAccordion,.hidesm{display:none !important;}}
@media screen and (min-width:769px){.w3-main{margin-left:230px !important;}.w3-bar-block .w3-button{padding:0;}}
@media screen and (max-width:768px){.w3-sidebar.w3-collapse,.barex,.navex{display:none !important;}.w3-bar-block .w3-bar-item{text-align:center !important;padding:2px 0;}h1,.w3-jumbo{font-size:60px !important;}}
@media screen and (max-width:545px){.certoverlay{padding:10px;height:100%;}.certoverlay h3{font-size:15px;}}
@media screen and (max-width:380px){.getcert{position:absolute;text-align:center;left:50%;bottom:50%;font-size:13px;}}
@media only screen and (max-device-width: 1366px){.w3-hide-device{display:none;}}
]]>
</style>

<style type="text/css">
/*<![CDATA[*/
body.c27 {position:relative;min-height:100%;}
a.c26 {text-decoration:none}
a.c25 {font-size:16px;margin-bottom:16px;}
a.c24 {font-size:16px;margin-bottom:16px}
a.c23 {font-size:16px;margin-top:-9px;margin-left:12px}
a.c22 {font-size:16px;margin-top:-9px}
a.c21 {font-size:17px}
img.c20 {max-width:100%;margin:auto;display:block}
div.c19 {padding-bottom:36px!important}
div.c18 {margin:32px -16px}
iframe.c17 {width:100%;border:5px solid #ddd;height:300px}
img.c16 {width:100%;margin:16px 0 20px 0}
img.c15 {width:150px;height:128px;margin-top:16px;}
div.c14 {padding:3%;}
div.c13 {padding-bottom:30px}
div.c12 {padding-top:40px;padding:3%;}
div.c11 {padding: 3%}
div.c10 {padding:3%}
div.c9 {display:none;cursor:default}
i.c8 {display:none}
a.c7 {font-style: italic}
div.c6 {display:none;position:absolute;z-index:5;right:120px;height:57px;background-color:#4CAF50;text-align:right;padding-top:15px;}
div.c5 {display:none;position:absolute;z-index:6;right:60px;height:57px;padding-top:12px;padding-right:20px;background-color:#4CAF50;}
div.c4 {margin:14px 0 -5px 0}
div.c3 {margin-top:5px;}
div.c2 {position:relative;top:5px;}
div.c1 {margin:4px 0 6px 0}
/*]]>*/
</style>
</head>
<body class="c27">
<div class="w3-row w3-white w3-padding w3-hide-medium w3-hide-small c3">
<div class="w3-half c1"><a class='w3schools-logo' href='//www.w3schools.com'>w3schools<span class='dotcom'>.com</span></a></div>
<div class="w3-half w3-margin-top w3-wide w3-hide-medium w3-hide-small w3-right c2">THE WORLD'S LARGEST WEB DEVELOPER SITE</div>
</div>
<div class="w3-hide-large w3-hide-large w3-padding-16">
<div class="w3-center"><a class='w3schools-logo' href='//www.w3schools.com'>w3schools<span class='dotcom'>.com</span></a></div>
<div class="w3-center w3-wide w3-hide-small c4">THE WORLD'S LARGEST WEB DEVELOPER SITE</div>
</div>
<div class="gcse-search c5" id='googleSearch'></div>
<div class='c6' id='google_translate_element'></div>
<div class="w3-bar w3-theme w3-card-2 w3-wide"><a class="w3-bar-item w3-button w3-hover-white w3-padding-16 hidesm fa c7" href="javascript:void(0)" onclick="w3_open()"></a> <a class="w3-bar-item w3-button barex w3-hover-white w3-padding-16" href="javascript:void(0)" onclick="w3_open_nav('tutorials')" id="navbtn_tutorials">TUTORIALS <i class='fa fa-caret-down'></i><i class='fa fa-caret-up c8'></i></a> <a class="w3-bar-item w3-button barex w3-hover-white w3-padding-16" href="javascript:void(0)" onclick="w3_open_nav('references')" id="navbtn_references">REFERENCES <i class='fa fa-caret-down'></i><i class='fa fa-caret-up c8'></i></a> <a class="w3-bar-item w3-button barex w3-hover-white w3-padding-16" href="javascript:void(0)" onclick="w3_open_nav('examples')" id="navbtn_examples">EXAMPLES <i class='fa fa-caret-down'></i><i class='fa fa-caret-up c8'></i></a>
<div class="w3-right"><a class="w3-bar-item w3-button w3-hover-white w3-padding-16 w3-right fa c7" href="javascript:void(0)" onclick="open_search(this)" title='Search W3Schools'></a> <a class="w3-bar-item w3-button w3-hover-white w3-padding-16 w3-right fa c7" href="javascript:void(0)" onclick="open_translate(this)" title='Translate W3Schools'></a></div>
</div>
<nav class="w3-sidebar w3-collapse w3-white w3-card-2" id="mySidenav">
<div class="w3-bar-block">
<div class="w3-container">
<h4 class="w3-margin-top">HTML and CSS</h4>
</div>
<a class="w3-bar-item w3-button" href="/html/default.asp">Learn HTML</a> <a class="w3-bar-item w3-button" href="/css/default.asp">Learn CSS</a> <a class="w3-bar-item w3-button" href="/w3css/default.asp">Learn W3.CSS</a> <a class="w3-bar-item w3-button" href="/colors/default.asp">Learn Colors</a> <a class="w3-bar-item w3-button" href="/bootstrap/default.asp">Learn Bootstrap 3</a> <a class="w3-bar-item w3-button" href="/bootstrap4/default.asp">Learn Bootstrap 4</a> <a class="w3-bar-item w3-button" href="/icons/default.asp">Learn Icons</a> <a class="w3-bar-item w3-button" href="/graphics/default.asp">Learn Graphics</a> <a class="w3-bar-item w3-button" href="/howto/default.asp">Learn How To</a>
<div class="w3-container">
<h4 class="w3-margin-top">JavaScript</h4>
</div>
<a class="w3-bar-item w3-button" href="/js/default.asp">Learn JavaScript</a> <a class="w3-bar-item w3-button" href="/jquery/default.asp">Learn jQuery</a> <a class="w3-bar-item w3-button" href="/angular/default.asp">Learn AngularJS</a> <a class="w3-bar-item w3-button" href="/js/js_json_intro.asp">Learn JSON</a> <a class="w3-bar-item w3-button" href="/js/js_ajax_intro.asp">Learn AJAX</a> <a class="w3-bar-item w3-button" href="/w3js/default.asp">Learn W3.JS</a>
<div class="w3-container">
<h4 class="w3-margin-top">Server Side</h4>
</div>
<a class="w3-bar-item w3-button" href="/sql/default.asp">Learn SQL</a> <a class="w3-bar-item w3-button" href="/php/default.asp">Learn PHP</a> <a class="w3-bar-item w3-button" href="/python/default.asp">Learn Python</a> <a class="w3-bar-item w3-button" href='/asp/default.asp'>Learn ASP</a> <a class="w3-bar-item w3-button" href='/nodejs/default.asp'>Learn Node.js</a> <a class="w3-bar-item w3-button" href='/nodejs/nodejs_raspberrypi.asp'>Learn Raspberry Pi</a>
<div class="w3-container">
<h4 class="w3-margin-top">Web Building</h4>
</div>
<a class="w3-bar-item w3-button" href="/w3css/w3css_templates.asp">Web Templates</a> <a class="w3-bar-item w3-button" href="/browsers/default.asp">Web Statistics</a> <a class="w3-bar-item w3-button" href="/cert/default.asp">Web Certificates</a> <a class="w3-bar-item w3-button" href='/tryit/default.asp'>Web Editor</a>
<div class="w3-container">
<h4 class="w3-margin-top">XML Tutorials</h4>
</div>
<a class="w3-bar-item w3-button" href="/xml/default.asp">Learn XML</a> <a class="w3-bar-item w3-button" href='/xml/ajax_intro.asp'>Learn XML AJAX</a> <a class="w3-bar-item w3-button" href="/xml/dom_intro.asp">Learn XML DOM</a> <a class="w3-bar-item w3-button" href='/xml/xml_dtd_intro.asp'>Learn XML DTD</a> <a class="w3-bar-item w3-button" href='/xml/schema_intro.asp'>Learn XML Schema</a> <a class="w3-bar-item w3-button" href="/xml/xsl_intro.asp">Learn XSLT</a> <a class="w3-bar-item w3-button" href='/xml/xpath_intro.asp'>Learn XPath</a> <a class="w3-bar-item w3-button" href='/xml/xquery_intro.asp'>Learn XQuery</a>
<div class="w3-container">
<h4 class="w3-margin-top">References</h4>
</div>
<a class="w3-bar-item w3-button" href='/tags/default.asp'>HTML Reference</a> <a class="w3-bar-item w3-button" href='/cssref/default.asp'>CSS Reference</a> <a class="w3-bar-item w3-button" href='/jsref/default.asp'>JS Reference</a> <a class="w3-bar-item w3-button" href='/sql/sql_quickref.asp'>SQL Reference</a> <a class="w3-bar-item w3-button" href='/php/php_ref_overview.asp'>PHP Reference</a> <a class="w3-bar-item w3-button" href='/jquery/jquery_ref_overview.asp'>jQuery Reference</a> <a class="w3-bar-item w3-button" href='/bootstrap//bootstrap_ref_all_classes.asp'>Bootstrap Reference</a> <a class="w3-bar-item w3-button" href='/charsets/default.asp'>UTF-8 Reference</a></div>
</nav>
<div id='myAccordion' class="w3-card-2 w3-light-grey w3-center w3-hide-large c9"><a href="javascript:void(0)" onclick="w3_close()" class="w3-button w3-xlarge w3-right">×</a><br />
<div class="w3-container w3-padding-32"><a class="w3-button w3-block w3-large w3-wide" onclick="open_xs_menu('tutorials');" href="javascript:void(0);">TUTORIALS <i class='fa fa-caret-down'></i></a>
<div id="sectionxs_tutorials" class="w3-white w3-show"></div>
<a class="w3-button w3-block w3-large w3-wide" onclick="open_xs_menu('references')" href="javascript:void(0);">REFERENCES <i class='fa fa-caret-down'></i></a>
<div id="sectionxs_references" class="w3-white w3-show"></div>
<a class="w3-button w3-block w3-large w3-wide" onclick="open_xs_menu('examples')" href="javascript:void(0);">EXAMPLES <i class='fa fa-caret-down'></i></a>
<div id="sectionxs_examples" class="w3-white w3-show"></div>
</div>
</div>
<nav id="nav_tutorials" class="w3-light-grey w3-card-2 w3-hide-small navex"><span onclick="w3_close_nav('tutorials')" class="w3-button w3-xlarge w3-display-topright barex">×</span><br />
<div class="w3-row-padding w3-bar-block">
<div class="w3-col l3 m6">
<h3 class="w3-margin-top">HTML and CSS</h3>
<a class="w3-bar-item w3-button" href="/html/default.asp">Learn HTML</a> <a class="w3-bar-item w3-button" href="/css/default.asp">Learn CSS</a> <a class="w3-bar-item w3-button" href="/w3css/default.asp">Learn W3.CSS</a> <a class="w3-bar-item w3-button" href="/colors/default.asp">Learn Colors</a> <a class="w3-bar-item w3-button" href="/bootstrap/default.asp">Learn Bootstrap 3</a> <a class="w3-bar-item w3-button" href="/bootstrap4/default.asp">Learn Bootstrap 4</a> <a class="w3-bar-item w3-button" href="/icons/default.asp">Learn Icons</a> <a class="w3-bar-item w3-button" href="/graphics/default.asp">Learn Graphics</a> <a class="w3-bar-item w3-button" href='/graphics/svg_intro.asp'>Learn SVG</a> <a class="w3-bar-item w3-button" href='/graphics/canvas_intro.asp'>Learn Canvas</a> <a class="w3-bar-item w3-button" href="/howto/default.asp">Learn How To</a>
<div class="w3-hide-large w3-hide-small">
<h3 class="w3-margin-top">XML Tutorials</h3>
<a class="w3-bar-item w3-button" href="/xml/default.asp">Learn XML</a> <a class="w3-bar-item w3-button" href='/xml/ajax_intro.asp'>Learn XML AJAX</a> <a class="w3-bar-item w3-button" href="/xml/dom_intro.asp">Learn XML DOM</a> <a class="w3-bar-item w3-button" href='/xml/xml_dtd_intro.asp'>Learn XML DTD</a> <a class="w3-bar-item w3-button" href='/xml/schema_intro.asp'>Learn XML Schema</a> <a class="w3-bar-item w3-button" href="/xml/xsl_intro.asp">Learn XSLT</a> <a class="w3-bar-item w3-button" href='/xml/xpath_intro.asp'>Learn XPath</a> <a class="w3-bar-item w3-button" href='/xml/xquery_intro.asp'>Learn XQuery</a></div>
</div>
<div class="w3-col l3 m6">
<h3 class="w3-margin-top">JavaScript</h3>
<a class="w3-bar-item w3-button" href="/js/default.asp">Learn JavaScript</a> <a class="w3-bar-item w3-button" href="/jquery/default.asp">Learn jQuery</a> <a class="w3-bar-item w3-button" href="/angular/default.asp">Learn AngularJS</a> <a class="w3-bar-item w3-button" href="/js/js_json_intro.asp">Learn JSON</a> <a class="w3-bar-item w3-button" href="/js/js_ajax_intro.asp">Learn AJAX</a> <a class="w3-bar-item w3-button" href="/w3js/default.asp">Learn W3.JS</a></div>
<div class="w3-col l3 m6">
<h3 class="w3-margin-top">Server Side</h3>
<a class="w3-bar-item w3-button" href="/sql/default.asp">Learn SQL</a> <a class="w3-bar-item w3-button" href="/php/default.asp">Learn PHP</a> <a class="w3-bar-item w3-button" href="/python/default.asp">Learn Python</a> <a class="w3-bar-item w3-button" href='/asp/default.asp'>Learn ASP</a> <a class="w3-bar-item w3-button" href='/nodejs/default.asp'>Learn Node.js</a> <a class="w3-bar-item w3-button" href='/nodejs/nodejs_raspberrypi.asp'>Learn Raspberry Pi</a>
<h3 class="w3-margin-top">Web Building</h3>
<a class="w3-bar-item w3-button" href="/w3css/w3css_templates.asp">Web Templates</a> <a class="w3-bar-item w3-button" href="/browsers/default.asp">Web Statistics</a> <a class="w3-bar-item w3-button" href="/cert/default.asp">Web Certificates</a> <a class="w3-bar-item w3-button" href='/tryit/default.asp'>Web Editor</a></div>
<div class="w3-col l3 m6 w3-hide-medium">
<h3 class="w3-margin-top">XML Tutorials</h3>
<a class="w3-bar-item w3-button" href="/xml/default.asp">Learn XML</a> <a class="w3-bar-item w3-button" href='/xml/ajax_intro.asp'>Learn XML AJAX</a> <a class="w3-bar-item w3-button" href="/xml/dom_intro.asp">Learn XML DOM</a> <a class="w3-bar-item w3-button" href='/xml/xml_dtd_intro.asp'>Learn XML DTD</a> <a class="w3-bar-item w3-button" href='/xml/schema_intro.asp'>Learn XML Schema</a> <a class="w3-bar-item w3-button" href="/xml/xsl_intro.asp">Learn XSLT</a> <a class="w3-bar-item w3-button" href='/xml/xpath_intro.asp'>Learn XPath</a> <a class="w3-bar-item w3-button" href='/xml/xquery_intro.asp'>Learn XQuery</a></div>
</div>
<br class="hidesm" /></nav>
<nav id="nav_references" class="w3-light-grey w3-card-2 w3-hide-small navex"><span onclick="w3_close_nav('references')" class="w3-button w3-xlarge w3-display-topright barex">×</span><br />
<div class="w3-row-padding w3-bar-block">
<div class="w3-col l3 m6">
<h3 class="w3-margin-top">HTML</h3>
<a class="w3-bar-item w3-button" href='/tags/default.asp'>HTML Tag Reference</a> <a class="w3-bar-item w3-button" href='/tags/ref_eventattributes.asp'>HTML Event Reference</a> <a class="w3-bar-item w3-button" href='/colors/default.asp'>HTML Color Reference</a> <a class="w3-bar-item w3-button" href='/tags/ref_attributes.asp'>HTML Attribute Reference</a> <a class="w3-bar-item w3-button" href='/tags/ref_canvas.asp'>HTML Canvas Reference</a> <a class="w3-bar-item w3-button" href='/graphics/svg_reference.asp'>HTML SVG Reference</a> <a class="w3-bar-item w3-button" href='/graphics/google_maps_reference.asp'>Google Maps Reference</a>
<h3 class="w3-margin-top">CSS</h3>
<a class="w3-bar-item w3-button" href='/cssref/default.asp'>CSS Reference</a> <a class="w3-bar-item w3-button" href='/cssref/css3_browsersupport.asp'>CSS Browser Support</a> <a class="w3-bar-item w3-button" href='/cssref/css_selectors.asp'>CSS Selector Reference</a> <a class="w3-bar-item w3-button" href='/w3css/w3css_references.asp'>W3.CSS Reference</a> <a class="w3-bar-item w3-button" href='/bootstrap/bootstrap_ref_all_classes.asp'>Bootstrap Reference</a> <a class="w3-bar-item w3-button" href='/icons/icons_reference.asp'>Icon Reference</a></div>
<div class="w3-col l3 m6">
<h3 class="w3-margin-top">JavaScript</h3>
<a class="w3-bar-item w3-button" href='/jsref/default.asp'>JavaScript Reference</a> <a class="w3-bar-item w3-button" href='/jsref/default.asp'>HTML DOM Reference</a> <a class="w3-bar-item w3-button" href='/jquery/jquery_ref_overview.asp'>jQuery Reference</a> <a class="w3-bar-item w3-button" href='/angular/angular_ref_directives.asp'>AngularJS Reference</a> <a class="w3-bar-item w3-button" href="/w3js/w3js_references.asp">W3.JS Reference</a></div>
<div class="w3-col l3 m6">
<h3 class="w3-margin-top">Server Side</h3>
<a class="w3-bar-item w3-button" href='/php/php_ref_overview.asp'>PHP Reference</a> <a class="w3-bar-item w3-button" href='/sql/sql_quickref.asp'>SQL Reference</a> <a class="w3-bar-item w3-button" href='/python/python_ref_functions.asp'>Python Reference</a> <a class="w3-bar-item w3-button" href='/asp/asp_ref_response.asp'>ASP Reference</a>
<h3 class="w3-margin-top">XML</h3>
<a class="w3-bar-item w3-button" href='/xml/dom_nodetype.asp'>XML DOM Reference</a> <a class="w3-bar-item w3-button" href='/xml/dom_http.asp'>XML Http Reference</a> <a class="w3-bar-item w3-button" href='/xml/xsl_elementref.asp'>XSLT Reference</a> <a class="w3-bar-item w3-button" href='/xml/schema_elements_ref.asp'>XML Schema Reference</a></div>
<div class="w3-col l3 m6">
<h3 class="w3-margin-top">Character Sets</h3>
<a class="w3-bar-item w3-button" href='/charsets/default.asp'>HTML Character Sets</a> <a class="w3-bar-item w3-button" href='/charsets/ref_html_ascii.asp'>HTML ASCII</a> <a class="w3-bar-item w3-button" href='/charsets/ref_html_ansi.asp'>HTML ANSI</a> <a class="w3-bar-item w3-button" href='/charsets/ref_html_ansi.asp'>HTML Windows-1252</a> <a class="w3-bar-item w3-button" href='/charsets/ref_html_8859.asp'>HTML ISO-8859-1</a> <a class="w3-bar-item w3-button" href='/charsets/ref_html_symbols.asp'>HTML Symbols</a> <a class="w3-bar-item w3-button" href='/charsets/ref_html_utf8.asp'>HTML UTF-8</a></div>
</div>
<br class="hidesm" /></nav>
<nav id="nav_examples" class="w3-light-grey w3-card-2 w3-hide-small navex"><span onclick="w3_close_nav('examples')" class="w3-button w3-xlarge w3-display-topright barex">×</span><br />
<div class="w3-row-padding w3-bar-block">
<div class="w3-col l3 m6">
<h3 class="w3-margin-top">HTML and CSS</h3>
<a class="w3-bar-item w3-button" href='/html/html_examples.asp'>HTML Examples</a> <a class="w3-bar-item w3-button" href='/css/css_examples.asp'>CSS Examples</a> <a class="w3-bar-item w3-button" href='/w3css/w3css_examples.asp'>W3.CSS Examples</a> <a class="w3-bar-item w3-button" href='/w3css/w3css_templates.asp'>W3.CSS Templates</a> <a class="w3-bar-item w3-button" href='/bootstrap/bootstrap_examples.asp'>Bootstrap Examples</a> <a class="w3-bar-item w3-button" href='/howto/default.asp'>How To Examples</a> <a class="w3-bar-item w3-button" href='/graphics/svg_examples.asp'>SVG Examples</a>
<div class="w3-hide-large w3-hide-small">
<h3 class="w3-margin-top">Quizzes</h3>
<a class="w3-bar-item w3-button" href="/quiztest/quiztest.asp?Qtest=HTML" target="_top">HTML Quiz</a> <a class="w3-bar-item w3-button" href="/quiztest/quiztest.asp?Qtest=CSS" target="_top">CSS Quiz</a> <a class="w3-bar-item w3-button" href="/quiztest/quiztest.asp?Qtest=JavaScript" target="_top">JavaScript Quiz</a> <a class="w3-bar-item w3-button" href="/quiztest/quiztest.asp?Qtest=Bootstrap" target="_top">Bootstrap Quiz</a> <a class="w3-bar-item w3-button" href="/quiztest/quiztest.asp?Qtest=jQuery" target="_top">jQuery Quiz</a> <a class="w3-bar-item w3-button" href="/quiztest/quiztest.asp?Qtest=PHP" target="_top">PHP Quiz</a> <a class="w3-bar-item w3-button" href="/quiztest/quiztest.asp?Qtest=SQL" target="_top">SQL Quiz</a> <a class="w3-bar-item w3-button" href="/quiztest/quiztest.asp?Qtest=XML" target="_top">XML Quiz</a></div>
</div>
<div class="w3-col l3 m6">
<h3 class="w3-margin-top">JavaScript</h3>
<a class="w3-bar-item w3-button" href="/js/js_examples.asp" target="_top">JavaScript Examples</a> <a class="w3-bar-item w3-button" href="/js/js_dom_examples.asp" target="_top">HTML DOM Examples</a> <a class="w3-bar-item w3-button" href="/jquery/jquery_examples.asp" target="_top">jQuery Examples</a> <a class="w3-bar-item w3-button" href="/angular/angular_examples.asp" target="_top">AngularJS Examples</a> <a class="w3-bar-item w3-button" href="/js/js_ajax_examples.asp" target="_top">AJAX Examples</a> <a class="w3-bar-item w3-button" href="/w3js/w3js_examples.asp">W3.JS Examples</a></div>
<div class="w3-col l3 m6">
<h3 class="w3-margin-top">Server Side</h3>
<a class="w3-bar-item w3-button" href="/php/php_examples.asp" target="_top">PHP Examples</a> <a class="w3-bar-item w3-button" href="/asp/asp_examples.asp" target="_top">ASP Examples</a>
<h3 class="w3-margin-top">XML</h3>
<a class="w3-bar-item w3-button" href="/xml/xml_examples.asp" target="_top">XML Examples</a> <a class="w3-bar-item w3-button" href="/xml/xsl_examples.asp" target="_top">XSLT Examples</a> <a class="w3-bar-item w3-button" href="/xml/xpath_examples.asp" target="_top">XPath Examples</a> <a class="w3-bar-item w3-button" href="/xml/schema_example.asp" target="_top">XML Schema Examples</a> <a class="w3-bar-item w3-button" href="/xml/ajax_examples.asp" target="_top">AJAX Examples</a> <a class="w3-bar-item w3-button" href="/graphics/svg_examples.asp" target="_top">SVG Examples</a></div>
<div class="w3-col l3 m6 w3-hide-medium">
<h3 class="w3-margin-top">Quizzes</h3>
<a class="w3-bar-item w3-button" href="/quiztest/quiztest.asp?Qtest=HTML" target="_top">HTML Quiz</a> <a class="w3-bar-item w3-button" href="/quiztest/quiztest.asp?Qtest=CSS" target="_top">CSS Quiz</a> <a class="w3-bar-item w3-button" href="/quiztest/quiztest.asp?Qtest=JavaScript" target="_top">JavaScript Quiz</a> <a class="w3-bar-item w3-button" href="/quiztest/quiztest.asp?Qtest=Bootstrap" target="_top">Bootstrap Quiz</a> <a class="w3-bar-item w3-button" href="/quiztest/quiztest.asp?Qtest=jQuery" target="_top">jQuery Quiz</a> <a class="w3-bar-item w3-button" href="/quiztest/quiztest.asp?Qtest=PHP" target="_top">PHP Quiz</a> <a class="w3-bar-item w3-button" href="/quiztest/quiztest.asp?Qtest=SQL" target="_top">SQL Quiz</a> <a class="w3-bar-item w3-button" href="/quiztest/quiztest.asp?Qtest=XML" target="_top">XML Quiz</a></div>
</div>
<br class="hidesm" /></nav>
<div class="w3-main">
<div class="w3-row w3-margin-bottom">
<div class="w3-col l6 w3-center c10">
<h1>HTML</h1>
<p class="w3-xlarge w3-text-dark-grey">The language for building web pages</p>
<a href="/html/default.asp" class="w3-button w3-dark-grey">LEARN HTML</a> <a href="/tags/default.asp" class="w3-button w3-dark-grey">HTML REFERENCE</a></div>
<div class="w3-col l6 w3-hide-small w3-light-grey w3-card-2 c11">
<h3>HTML Example:</h3>
<div class="w3-code htmlHigh notranslate w3-border-green">&lt;!DOCTYPE html&gt;<br />
&lt;html&gt;<br />
&lt;title&gt;HTML Tutorial&lt;/title&gt;<br />
&lt;body&gt;<br />
<br />
&lt;h1&gt;This is a heading&lt;/h1&gt;<br />
&lt;p&gt;This is a paragraph.&lt;/p&gt;<br />
<br />
&lt;/body&gt;<br />
&lt;/html&gt;</div>
<a href="/html/tryit.asp?filename=tryhtml_default" target="_blank" class="w3-button w3-theme w3-hover-green w3-hover-shadow">Try it Yourself »</a></div>
</div>
<div class="w3-row w3-light-grey w3-hide-medium w3-hide-small">
<div class="w3-col l6 c12">
<h3>CSS Example:</h3>
<div class="w3-code cssHigh notranslate w3-card-2 w3-border-green">body {<br />
&nbsp;&nbsp;&nbsp; background-color: lightblue;<br />
}<br />
h1 {<br />
&nbsp;&nbsp;&nbsp; color: white;<br />
&nbsp;&nbsp;&nbsp; text-align: center;<br />
}<br />
p {<br />
&nbsp;&nbsp;&nbsp; font-family: verdana;<br />
&nbsp;&nbsp;&nbsp; font-size: 20px;<br />
}</div>
<a href="/css/tryit.asp?filename=trycss_default" target="_blank" class="w3-button w3-theme w3-hover-green w3-hover-shadow">Try it Yourself »</a></div>
<div class="w3-col l6 w3-center c10">
<h1>CSS</h1>
<p class="w3-xlarge">The language for styling web pages</p>
<a href="/css/default.asp" class="w3-button w3-dark-grey">LEARN CSS</a> <a href="/cssref/default.asp" class="w3-button w3-dark-grey">CSS REFERENCE</a></div>
</div>
<div class="w3-row w3-light-grey w3-hide-large c13">
<div class="w3-col l6 w3-center c10">
<h1>CSS</h1>
<p class="w3-xlarge">The language for styling web pages</p>
<a href="/css/default.asp" class="w3-button w3-dark-grey">LEARN CSS</a> <a href="/cssref/default.asp" class="w3-button w3-dark-grey">CSS REFERENCE</a></div>
<div class="w3-col l6 w3-hide-small c12">
<h3>CSS Example:</h3>
<div class="w3-code cssHigh notranslate w3-card-2 w3-border-green">body {<br />
&nbsp;&nbsp;&nbsp; background-color: lightblue;<br />
}<br />
h1 {<br />
&nbsp;&nbsp;&nbsp; color: white;<br />
&nbsp;&nbsp;&nbsp; text-align: center;<br />
}<br />
p {<br />
&nbsp;&nbsp;&nbsp; font-family: verdana;<br />
&nbsp;&nbsp;&nbsp; font-size: 20px;<br />
}</div>
<a href="/css/tryit.asp?filename=trycss_default" target="_blank" class="w3-button w3-theme w3-hover-green w3-hover-shadow">Try it Yourself »</a></div>
</div>
<div class="w3-row">
<div class="w3-col l6 w3-center c10">
<h1 class="w3-jumbo">JavaScript</h1>
<p class="w3-xlarge w3-text-dark-grey">The language for programming web pages</p>
<a href="/js/default.asp" class="w3-button w3-dark-grey">LEARN JAVASCRIPT</a> <a href="/jsref/default.asp" class="w3-button w3-dark-grey">JAVASCRIPT REFERENCE</a></div>
<div class="w3-col l6 w3-hide-small w3-card-2 w3-light-grey c11">
<h3>JavaScript Example:</h3>
<div class="w3-code notranslate w3-card-2 w3-border-green">
<div class="htmlHigh">&lt;script&gt;</div>
<div class="jsHigh">function myFunction() {<br />
&nbsp;&nbsp;&nbsp; var x = document.getElementById("demo");<br />
&nbsp;&nbsp;&nbsp; x.style.fontSize = "25px";<br />
&nbsp;&nbsp;&nbsp; x.style.color = "red";<br />
}<br /></div>
<div class="htmlHigh">&lt;/script&gt;<br />
<br />
&lt;button onclick="myFunction()"&gt;Click Me!&lt;/button&gt;</div>
</div>
<a href="/js/tryit.asp?filename=tryjs_default" target="_blank" class="w3-button w3-theme w3-hover-green w3-hover-shadow">Try it Yourself »</a></div>
</div>
<div class="w3-row w3-light-grey w3-padding-16">
<div class="w3-col l4 w3-center w3-card-2 w3-white c14">
<h2 class="w3-xxlarge">SQL</h2>
<h4 class="w3-text-dark-grey">A language for accessing databases</h4>
<a href="/sql/default.asp" class="w3-button w3-dark-grey">LEARN SQL</a></div>
<div class="w3-col l4 w3-center w3-card-2 w3-white c14">
<h2 class="w3-xxlarge">PHP</h2>
<h4 class="w3-text-dark-grey">A web server programming language</h4>
<a href="/php/default.asp" class="w3-button w3-dark-grey">LEARN PHP</a></div>
<div class="w3-col l4 w3-center w3-card-2 w3-white c14">
<h2 class="w3-xxlarge">jQuery</h2>
<h4 class="w3-text-dark-grey">A JavaScript library for developing web pages</h4>
<a href="/jquery/default.asp" class="w3-button w3-dark-grey">LEARN JQUERY</a></div>
</div>
<div class="w3-row">
<div class="w3-col l4 w3-center c14">
<h2 class="w3-xxlarge">W3.CSS</h2>
<h4 class="w3-text-dark-grey">A modern CSS framework for faster and better responsive web sites</h4>
<a href="/w3css/default.asp" class="w3-button w3-dark-grey">LEARN W3.CSS</a></div>
<div class="w3-col l4 w3-center c14">
<h2 class="w3-xxlarge">Color Picker</h2>
<a href="/colors/colors_picker.asp" class="w3-hover-opacity"><img class="c15" src="/images/colorpicker.png" alt="Colorpicker" /></a></div>
<div class="w3-col l4 w3-center c14">
<h2 class="w3-xxlarge">Bootstrap</h2>
<h4 class="w3-text-dark-grey">Bootstrap is a CSS framework for designing better web pages</h4>
<a href="/bootstrap/default.asp" class="w3-button w3-dark-grey">LEARN BOOTSTRAP</a></div>
</div>
<br />
<div class="w3-light-grey w3-center w3-padding-large w3-padding-32">
<h2 class="w3-xxlarge">Web Templates</h2>
<h4 class="w3-text-dark-grey">Browse our selection of <strong>free</strong> responsive HTML Templates</h4>
<div class="w3-content"><a href="/w3css/w3css_templates.asp"><img src="w3css_templates.jpg" class="c16" alt="W3.CSS Templates" /></a></div>
<p><a href="/w3css/w3css_templates.asp" class="w3-button w3-dark-grey w3-padding-large">BROWSE TEMPLATES</a></p>
</div>
<br />
<div class="w3-white w3-center w3-padding-large w3-padding-16 c19">
<h2 class="w3-xxlarge">How To Section</h2>
<h4 class="w3-text-dark-grey">Code snippets for HTML, CSS and JavaScript</h4>
<div class="w3-content w3-hide-device w3-row-padding c18">
<div class="w3-col l6 s12"><iframe src="/howto/tryhow_css_sidenav_ifr.htm" class="c17"></iframe></div>
<div class="w3-col l6 w3-hide-small w3-hide-medium"><iframe src="/howto/tryhow_css_sidenav_ifr2.htm" class="c17"></iframe></div>
</div>
<p><a href="/howto/default.asp" class="w3-button w3-dark-grey w3-padding-large">LEARN HOW TO</a></p>
</div>
<div class="w3-display-container w3-black" id="certsection"><a href="/cert/default.asp"><img src="getcertified.jpg" class="c20" alt="W3 Certificates" />
<div class="certoverlay"><br class="w3-hide-small w3-hide-medium" />
<h2>Web Certificates</h2>
<h3>Get Certified in HTML, CSS, and JavaScript</h3>
</div>
</a>
<p class="w3-display-middle getcert"><a href="/cert/default.asp" class="w3-button w3-green w3-hover-white w3-padding-large c21">Get Certified »</a></p>
</div>
<footer class="w3-container w3-dark-grey w3-center w3-padding-32">
<div class="w3-container w3-padding-32"><a class="w3-button w3-light-grey w3-hide-small w3-hide-medium w3-left c22" href="/cert/default.asp">WEB CERTIFICATES</a> <a class="w3-button w3-light-grey w3-hide-small w3-hide-medium w3-left c23" href="/quiztest/quiztest.asp?Qtest=HTML">QUIZZES</a> <a class="w3-button w3-light-grey w3-hide-small w3-hide-medium w3-left c23" target="_blank" href="/html/exercise.asp?filename=exercise_attributes1">EXERCISES</a> <a class="w3-button w3-light-grey w3-hide-large c24" href="/cert/default.asp">CERTIFICATES</a> <a class="w3-button w3-light-grey w3-hide-large c25" href="/quiztest/quiztest.asp?Qtest=HTML">QUIZZES</a> <a class="w3-button w3-light-grey w3-hide-large c25" target="_blank" href="/html/exercise.asp?filename=exercise_attributes1">EXERCISES</a>
<nav class="w3-right w3-hide-medium w3-hide-small w3-wide"><a href="/forum/default.asp" target="_blank" class="w3-hover-text-green c26">FORUM</a> | <a href="/about/default.asp" target="_top" class="w3-hover-text-green c26">ABOUT</a></nav>
<nav class="w3-center w3-hide-large w3-margin-top w3-wide"><a href="/forum/default.asp" target="_blank" class="w3-hover-text-green c26">FORUM</a> | <a href="/about/default.asp" target="_top" class="w3-hover-text-green c26">ABOUT</a></nav>
</div>
<p class="w3-medium">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 <a href="/about/about_copyright.asp" class="w3-hover-text-green">terms of use</a>, <a href="/about/about_privacy.asp" class="w3-hover-text-green">cookie and privacy policy</a>.<br />
<a href="/about/about_copyright.asp" class="w3-hover-text-green">Copyright 1999-2018</a> by Refsnes Data. All Rights Reserved.<br />
<br /></p>
<a href="javascript:void(0);" onclick="clickFBLike()" title="Like W3Schools on Facebook" class="w3-hover-text-light-grey fa fa-thumbs-o-up w3-xxlarge c7"></a>
<div id="fblikeframe" class="w3-modal">
<div class="w3-modal-content w3-padding-64 w3-animate-zoom" id="popupDIV"></div>
</div>
</footer>
</div>
<script>
<![CDATA[
function w3_open() {
var x = document.getElementById("myAccordion");
if (x.style.display === 'none') {
x.style.display = 'block';
} else {
x.style.display = 'none';
}
}
function w3_close() {
document.getElementById("myAccordion").style.display = "none";
}
function open_xs_menu(x) {
if (document.getElementById("sectionxs_" + x).innerHTML == "") {
document.getElementById("sectionxs_" + x).innerHTML = document.getElementById("nav_" + x).innerHTML;
} else {
document.getElementById("sectionxs_" + x).innerHTML = "";
}
}
function w3_open_nav(x) {
if (document.getElementById("nav_" + x).style.display == "block") {
w3_close_nav(x);
} else {
w3_close_nav("tutorials");
w3_close_nav("references");
w3_close_nav("examples");
document.getElementById("nav_" + x).style.display = "block";
if (document.getElementById("navbtn_" + x)) {
document.getElementById("navbtn_" + x).getElementsByTagName("i")[0].style.display = "none";
document.getElementById("navbtn_" + x).getElementsByTagName("i")[1].style.display = "inline";
}
if (x == "search") {
if (document.getElementById("gsc-i-id1")) {document.getElementById("gsc-i-id1").focus(); }
}
}
}
function w3_close_nav(x) {
document.getElementById("nav_" + x).style.display = "none";
if (document.getElementById("navbtn_" + x)) {
document.getElementById("navbtn_" + x).getElementsByTagName("i")[0].style.display = "inline";
document.getElementById("navbtn_" + x).getElementsByTagName("i")[1].style.display = "none";
}
}
function open_translate(elmnt) {
var a = document.getElementById("google_translate_element");
if (a.style.display == "") {
a.style.display = "none";
elmnt.innerHTML = "<i class='fa'>&#xe801;<\/i>";
} else {
a.style.display = "";
if (window.innerWidth > 830) {
a.style.width = "20%";
} else {
a.style.width = "60%";
}
elmnt.innerHTML = "<span style='font-family:verdana;font-weight:bold;display:inline-block;width:21px;text-align:center;'>X<\/span>";
}
}
function open_search(elmnt) {
var a = document.getElementById("googleSearch");
document.getElementById("navbtn_tutorials").style.visibility = "visible";
if (a.style.display == "") {
a.style.display = "none";
elmnt.innerHTML = "<i class='fa'>&#xe802;<\/i>";
} else {
a.style.display = "";
if (window.innerWidth > 1000) {
a.style.width = "40%";
} else if (window.innerWidth >768) {
document.getElementById("navbtn_tutorials").style.visibility = "hidden";
a.style.width = "80%";
} else {
a.style.width = "80%";
}
if (document.getElementById("gsc-i-id1")) {document.getElementById("gsc-i-id1").focus(); }
elmnt.innerHTML = "<span style='font-family:verdana;font-weight:bold;display:inline-block;width:23px;text-align:center;'>X<\/span>";
}
}
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en',
autoDisplay: false,
gaTrack: true,
gaId: 'UA-3855518-1',
layout: google.translate.TranslateElement.InlineLayout.SIMPLE
}, 'google_translate_element');
}
function clickFBLike() {
document.getElementById("fblikeframe").style.display='block';
document.getElementById("popupDIV").innerHTML = "<iframe src='/fblike.asp?r=" + Math.random() + "' frameborder='no' style='height:200px;width:250px;'><\/iframe><br><button onclick='hideFBLike()' class='w3-button w3-dark-grey w3-hover-black'>Close<\/button>";
}
function hideFBLike() {
document.getElementById("fblikeframe").style.display='none';
}
]]>
</script>
<script src="/lib/w3codecolor.js"></script>
<script src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<script>
<![CDATA[

w3CodeColor();
]]>
</script>
</body>
</html>

Warnings Errors and Accessibility

line 706 column 47 - Warning: '<' + '/' + letter not allowed here
line 714 column 131 - Warning: '<' + '/' + letter not allowed here
line 722 column 47 - Warning: '<' + '/' + letter not allowed here
line 734 column 131 - Warning: '<' + '/' + letter not allowed here
line 748 column 159 - Warning: '<' + '/' + letter not allowed here
line 748 column 254 - Warning: '<' + '/' + letter not allowed here

Accessibility Checks:

line 179 column 2 - Access: [9.3.1.3]: <script> not keyboard accessible (onClick).
line 180 column 2 - Access: [9.3.1.3]: <script> not keyboard accessible (onClick).
line 181 column 2 - Access: [9.3.1.3]: <script> not keyboard accessible (onClick).
line 182 column 2 - Access: [9.3.1.3]: <script> not keyboard accessible (onClick).
line 184 column 3 - Access: [9.3.1.3]: <script> not keyboard accessible (onClick).
line 185 column 3 - Access: [9.3.1.3]: <script> not keyboard accessible (onClick).
line 254 column 2 - Access: [9.3.1.3]: <script> not keyboard accessible (onClick).
line 256 column 3 - Access: [9.3.1.3]: <script> not keyboard accessible (onClick).
line 258 column 3 - Access: [9.3.1.3]: <script> not keyboard accessible (onClick).
line 260 column 3 - Access: [9.3.1.3]: <script> not keyboard accessible (onClick).
line 266 column 2 - Access: [9.3.1.3]: <script> not keyboard accessible (onClick).
line 333 column 2 - Access: [9.3.1.3]: <script> not keyboard accessible (onClick).
line 387 column 2 - Access: [9.3.1.3]: <script> not keyboard accessible (onClick).
line 649 column 2 - Access: [9.3.1.3]: <script> not keyboard accessible (onClick).
line 161 column 1 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 163 column 1 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 164 column 2 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 166 column 3 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 172 column 2 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 175 column 1 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 176 column 1 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 180 column 195 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 181 column 198 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 182 column 192 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 253 column 1 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 450 column 2 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 456 column 2 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 457 column 3 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 475 column 2 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 489 column 2 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 497 column 1 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 498 column 2 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 504 column 2 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 521 column 2 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 527 column 2 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 528 column 3 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 551 column 2 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 558 column 2 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 565 column 2 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 574 column 2 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 579 column 2 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 581 column 64 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 583 column 2 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 595 column 42 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 601 column 1 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 605 column 5 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 607 column 9 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 610 column 9 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 619 column 5 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 625 column 40 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 630 column 4 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 631 column 4 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 632 column 4 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 633 column 4 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 634 column 4 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 635 column 4 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 637 column 5 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 638 column 5 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 641 column 5 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 642 column 5 - Access: [6.1.1.3]: style sheets require testing (style attribute).
line 11 column 1 - Access: [6.2.2.2]: text equivalents require updating (script).
line 11 column 1 - Access: [6.3.1.1]: programmatic objects require testing (script).
line 11 column 1 - Access: [8.1.1.1]: ensure programmatic objects are accessible (script).
line 11 column 1 - Access: [7.1.1.1]: remove flicker (script).
line 11 column 1 - Access: [2.1.1.4]: ensure information not conveyed through color alone (script).
line 11 column 1 - Access: [1.1.10.1]: <script> missing <noscript> section.
line 26 column 1 - Access: [6.1.1.2]: style sheets require testing (style element).
line 254 column 2 - Access: [13.1.1.1]: link text not meaningful.
line 469 column 4 - Access: [10.1.1.2]: new windows require warning (_blank).
line 487 column 3 - Access: [10.1.1.2]: new windows require warning (_blank).
line 516 column 3 - Access: [10.1.1.2]: new windows require warning (_blank).
line 545 column 4 - Access: [10.1.1.2]: new windows require warning (_blank).
line 553 column 4 - Access: [3.5.1.1]: headers improperly nested.
line 560 column 4 - Access: [3.5.1.1]: headers improperly nested.
line 567 column 4 - Access: [3.5.1.1]: headers improperly nested.
line 575 column 3 - Access: [3.5.1.1]: headers improperly nested.
line 581 column 64 - Access: [2.1.1.1]: ensure information not conveyed through color alone (image).
line 581 column 64 - Access: [1.1.2.1]: <img> missing 'longdesc' and d-link.
line 584 column 3 - Access: [3.5.1.1]: headers improperly nested.
line 592 column 3 - Access: [3.5.1.1]: headers improperly nested.
line 595 column 42 - Access: [2.1.1.1]: ensure information not conveyed through color alone (image).
line 595 column 42 - Access: [1.1.2.1]: <img> missing 'longdesc' and d-link.
line 602 column 3 - Access: [3.5.1.1]: headers improperly nested.
line 619 column 5 - Access: [2.1.1.1]: ensure information not conveyed through color alone (image).
line 620 column 5 - Access: [1.1.2.1]: <img> missing 'longdesc' and d-link.
line 632 column 4 - Access: [10.1.1.2]: new windows require warning (_blank).
line 635 column 4 - Access: [10.1.1.2]: new windows require warning (_blank).
line 637 column 5 - Access: [10.1.1.2]: new windows require warning (_blank).
line 637 column 5 - Access: [13.1.1.1]: link text not meaningful.
line 638 column 5 - Access: [13.1.1.1]: link text not meaningful.
line 641 column 5 - Access: [10.1.1.2]: new windows require warning (_blank).
line 641 column 5 - Access: [13.1.1.1]: link text not meaningful.
line 642 column 5 - Access: [13.1.1.1]: link text not meaningful.
line 659 column 1 - Access: [6.2.2.2]: text equivalents require updating (script).
line 659 column 1 - Access: [6.3.1.1]: programmatic objects require testing (script).
line 659 column 1 - Access: [8.1.1.1]: ensure programmatic objects are accessible (script).
line 659 column 1 - Access: [7.1.1.1]: remove flicker (script).
line 659 column 1 - Access: [2.1.1.4]: ensure information not conveyed through color alone (script).
line 659 column 1 - Access: [1.1.10.1]: <script> missing <noscript> section.
line 754 column 1 - Access: [6.2.2.2]: text equivalents require updating (script).
line 754 column 1 - Access: [6.3.1.1]: programmatic objects require testing (script).
line 754 column 1 - Access: [8.1.1.1]: ensure programmatic objects are accessible (script).
line 754 column 1 - Access: [7.1.1.1]: remove flicker (script).
line 754 column 1 - Access: [2.1.1.4]: ensure information not conveyed through color alone (script).
line 754 column 1 - Access: [1.1.10.1]: <script> missing <noscript> section.
line 755 column 1 - Access: [6.2.2.2]: text equivalents require updating (script).
line 755 column 1 - Access: [6.3.1.1]: programmatic objects require testing (script).
line 755 column 1 - Access: [8.1.1.1]: ensure programmatic objects are accessible (script).
line 755 column 1 - Access: [7.1.1.1]: remove flicker (script).
line 755 column 1 - Access: [2.1.1.4]: ensure information not conveyed through color alone (script).
line 755 column 1 - Access: [1.1.10.1]: <script> missing <noscript> section.
line 756 column 1 - Access: [6.2.2.2]: text equivalents require updating (script).
line 756 column 1 - Access: [6.3.1.1]: programmatic objects require testing (script).
line 756 column 1 - Access: [8.1.1.1]: ensure programmatic objects are accessible (script).
line 756 column 1 - Access: [7.1.1.1]: remove flicker (script).
line 756 column 1 - Access: [2.1.1.4]: ensure information not conveyed through color alone (script).
line 756 column 1 - Access: [1.1.10.1]: <script> missing <noscript> section.
Info: Document content looks like HTML5
<HTMLYSE> found 6 warnings and 0 errors!