forked from Ja7ad/W3Schools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdom_http.html
1399 lines (1301 loc) · 81.6 KB
/
dom_http.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en-US">
<!-- Mirrored from www.w3schools.com/xml/dom_http.asp by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 14 Oct 2021 04:23:07 GMT -->
<head>
<title>XML DOM - HttpRequest object</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="Keywords" content="HTML, Python, CSS, SQL, JavaScript, How to, PHP, Java, C++, jQuery, Bootstrap, C#, Colors, W3.CSS, XML, MySQL, Icons, NodeJS, React, Graphics, Angular, R, AI, Git, Data Science, Code Game, Tutorials, Programming, Web Development, Training, Learning, Quiz, Courses, Lessons, References, Examples, Source code, Demos, Tips">
<meta name="Description" content="Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more.">
<link rel="icon" href="../favicon.ico" type="image/x-icon">
<link rel="preload" href="../lib/fonts/fontawesome8deb.woff2?14663396" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="../lib/fonts/source-code-pro-v14-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="../lib/fonts/roboto-mono-v13-latin-500.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="../lib/fonts/source-sans-pro-v14-latin-700.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="../lib/fonts/source-sans-pro-v14-latin-600.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="../lib/fonts/freckle-face-v9-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="../lib/w3schools28.css">
<script>
(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','../../www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-3855518-1', 'auto');
ga('require', 'displayfeatures');
ga('require', 'GTM-WJ88MZ5');
ga('send', 'pageview');
</script>
<script data-cfasync="false" type="text/javascript">
var k42 = false;
k42 = true;
</script>
<script data-cfasync="false" type="text/javascript">
window.snigelPubConf = {
"adengine": {
"activeAdUnits": ["main_leaderboard", "sidebar_top", "bottom_left", "bottom_right"]
}
}
</script>
<script async data-cfasync="false" src="../../cdn.snigelweb.com/adengine/w3schools.com/loader.js" type="text/javascript"></script>
<script src="../lib/my-learning0ff5.js?v=1.0.2"></script>
<script type='text/javascript'>
var stickyadstatus = "";
function fix_stickyad() {
document.getElementById("stickypos").style.position = "sticky";
var elem = document.getElementById("stickyadcontainer");
if (!elem) {return false;}
if (document.getElementById("skyscraper")) {
var skyWidth = Number(w3_getStyleValue(document.getElementById("skyscraper"), "width").replace("px", ""));
}
else {
var skyWidth = Number(w3_getStyleValue(document.getElementById("right"), "width").replace("px", ""));
}
elem.style.width = skyWidth + "px";
if (window.innerWidth <= 992) {
elem.style.position = "";
elem.style.top = stickypos + "px";
return false;
}
var stickypos = document.getElementById("stickypos").offsetTop;
var docTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop;
var adHeight = Number(w3_getStyleValue(elem, "height").replace("px", ""));
if (stickyadstatus == "") {
if ((stickypos - docTop) < 60) {
elem.style.position = "fixed";
elem.style.top = "60px";
stickyadstatus = "sticky";
document.getElementById("stickypos").style.position = "sticky";
}
} else {
if ((docTop + 60) - stickypos < 0) {
elem.style.position = "";
elem.style.top = stickypos + "px";
stickyadstatus = "";
document.getElementById("stickypos").style.position = "static";
}
}
if (stickyadstatus == "sticky") {
if ((docTop + adHeight + 60) > document.getElementById("footer").offsetTop) {
elem.style.position = "absolute";
elem.style.top = (document.getElementById("footer").offsetTop - adHeight) + "px";
document.getElementById("stickypos").style.position = "static";
} else {
elem.style.position = "fixed";
elem.style.top = "60px";
stickyadstatus = "sticky";
document.getElementById("stickypos").style.position = "sticky";
}
}
}
function w3_getStyleValue(elmnt,style) {
if (window.getComputedStyle) {
return window.getComputedStyle(elmnt,null).getPropertyValue(style);
} else {
return elmnt.currentStyle[style];
}
}
</script>
</head><body>
<div class="w3-bar w3-card-2 notranslate" style="position: relative;z-index: 4;font-size: 18px;background-color: white;color:#282A35;padding-left:12px;padding-right:16px;font-family: 'Source Sans Pro', sans-serif;">
<a href="../index.html" class="w3-bar-item w3-button w3-hover-none w3-left w3-padding-16" title="Home" style="width:77px">
<i class="fa fa-logo ws-text-green ws-hover-text-green" style="position:relative;font-size:42px!important;"></i>
</a>
<style>
@media screen and (max-width: 1080px) {
.ws-hide-1080 {
display: none !important;
}
}
</style>
<a class="w3-bar-item w3-button w3-hide-small barex bar-item-hover w3-padding-24" href="javascript:void(0)" onclick="w3_open_nav('tutorials')" id="navbtn_tutorials" title="Tutorials" style="width:116px">Tutorials <i class='fa fa-caret-down' style="font-size:20px;"></i><i class='fa fa-caret-up' style="display:none"></i></a>
<a class="w3-bar-item w3-button w3-hide-small barex bar-item-hover w3-padding-24" href="javascript:void(0)" onclick="w3_open_nav('references')" id="navbtn_references" title="References" style="width:132px">References <i class='fa fa-caret-down' style="font-size:20px;"></i><i class='fa fa-caret-up' style="display:none"></i></a>
<a class="w3-bar-item w3-button w3-hide-small barex bar-item-hover w3-padding-24 ws-hide-800" href="javascript:void(0)" onclick="w3_open_nav('exercises')" id="navbtn_exercises" title="Exercises" style="width:118px">Exercises <i class='fa fa-caret-down' style="font-size:20px;"></i><i class='fa fa-caret-up' style="display:none"></i></a>
<a class="w3-bar-item w3-button w3-hide-medium bar-item-hover w3-hide-small w3-padding-24 barex" href="../videos/index.html" title="Video Tutorials" onclick="ga('send', 'event', 'Videos' , 'fromTopnavMain')">Videos <span class="ribbon-topnav ws-hide-1080">NEW</span></a>
<a class="w3-bar-item w3-button bar-item-hover w3-padding-24" href="javascript:void(0)" onclick="w3_open()" id="navbtn_menu" title="Menu" style="width:93px">Menu <i class='fa fa-caret-down'></i><i class='fa fa-caret-up' style="display:none"></i></a>
<div id="loginactioncontainer" class="w3-right w3-padding-16" style="margin-left:50px">
<div id="mypagediv"></div>
<!-- <button id="w3loginbtn" style="border:none;display:none;cursor:pointer" class="login w3-right w3-hover-greener" onclick='w3_open_nav("login")'>LOG IN</button>-->
<a id="w3loginbtn" class="w3-bar-item w3-btn bar-item-hover w3-right" style="display:none;width:130px;background-color:#04AA6D;color:white;border-radius:25px;" href="../../profile.w3schools.com/log-ina0ec.html?redirect_url=https%3A%2F%2Fmy-learning.w3schools.com" target="_self">Log in</a>
</div>
<div class="w3-right w3-padding-16">
<!--<a class="w3-bar-item w3-button bar-icon-hover w3-right w3-hover-white w3-hide-large w3-hide-medium" href="javascript:void(0)" onclick="w3_open()" title="Menu"><i class='fa'></i></a>
-->
<a class="w3-bar-item w3-button bar-item-hover w3-right w3-hide-small barex" style="width: 140px; border-radius: 25px; margin-right: 15px;" href="../../courses.w3schools.com/index.html" target="_blank" id="cert_navbtn" onclick="ga('send', 'event', 'Courses' , 'Clicked on courses in Main top navigation');" title="Courses">Paid Courses</a>
<a class="w3-bar-item w3-button bar-item-hover w3-right ws-hide-900 w3-hide-small barex ws-pink" style="border-radius: 25px; margin-right: 15px;" href="../spaces/index.html" target="_blank" onclick="ga('send', 'event', 'spacesFromTopnavMain', 'click');" title="Get Your Own Website With W3shools Spaces">Website <span class="ribbon-topnav ws-hide-1066">NEW</span></a>
</div>
</div>
<div style='display:none;position:absolute;z-index:4;right:52px;height:44px;background-color:#282A35;letter-spacing:normal;' id='googleSearch'>
<div class='gcse-search'></div>
</div>
<div style='display:none;position:absolute;z-index:3;right:111px;height:44px;background-color:#282A35;text-align:right;padding-top:9px;' id='google_translate_element'></div>
<div class='w3-card-2 topnav notranslate' id='topnav'>
<div style="overflow:auto;">
<div class="w3-bar w3-left" style="width:100%;overflow:hidden;height:44px">
<a href='javascript:void(0);' class='topnav-icons fa fa-menu w3-hide-large w3-left w3-bar-item w3-button' onclick='open_menu()' title='Menu'></a>
<a href='../default.html' class='topnav-icons fa fa-home w3-left w3-bar-item w3-button' title='Home'></a>
<a class="w3-bar-item w3-button" href='../html/default.html' title='HTML Tutorial' style="padding-left:18px!important;padding-right:18px!important;">HTML</a>
<a class="w3-bar-item w3-button" href='../css/default.html' title='CSS Tutorial'>CSS</a>
<a class="w3-bar-item w3-button" href='../js/default.html' title='JavaScript Tutorial'>JAVASCRIPT</a>
<a class="w3-bar-item w3-button" href='../sql/default.html' title='SQL Tutorial'>SQL</a>
<a class="w3-bar-item w3-button" href='../python/default.html' title='Python Tutorial'>PYTHON</a>
<a class="w3-bar-item w3-button" href='../php/default.html' title='PHP Tutorial'>PHP</a>
<a class="w3-bar-item w3-button" href='../bootstrap/bootstrap_ver.html' title='Bootstrap Tutorial'>BOOTSTRAP</a>
<a class="w3-bar-item w3-button" href='../howto/default.html' title='How To'>HOW TO</a>
<a class="w3-bar-item w3-button" href='../w3css/default.html' title='W3.CSS Tutorial'>W3.CSS</a>
<a class="w3-bar-item w3-button" href='../java/default.html' title='Java Tutorial'>JAVA</a>
<a class="w3-bar-item w3-button" href='../jquery/default.html' title='jQuery Tutorial'>JQUERY</a>
<a class="w3-bar-item w3-button" href='../cpp/default.html' title='C++ Tutorial'>C++</a>
<a class="w3-bar-item w3-button" href='../cs/index.html' title='C# Tutorial'>C#</a>
<a class="w3-bar-item w3-button" href='../r/default.html' title='R Tutorial'>R</a>
<a class="w3-bar-item w3-button" href='../react/default.html' title='React Tutorial'>React</a>
<a class="w3-bar-item w3-button" href='../kotlin/index.html' title='Kotlin Tutorial'>Kotlin</a>
<a href='javascript:void(0);' class='topnav-icons fa w3-right w3-bar-item w3-button' onclick='gSearch(this)' title='Search W3Schools'></a>
<a href='javascript:void(0);' class='topnav-icons fa w3-right w3-bar-item w3-button' onclick='gTra(this)' title='Translate W3Schools'></a>
<a href='javascript:void(0);' class='topnav-icons fa w3-right w3-bar-item w3-button' onclick='changecodetheme(this)' title='Toggle Dark Code'></a>
<!--
<a class="w3-bar-item w3-button w3-right" id='topnavbtn_exercises' href='javascript:void(0);' onclick='w3_open_nav("exercises")' title='Exercises'>EXERCISES <i class='fa fa-caret-down'></i><i class='fa fa-caret-up' style='display:none'></i></a>
-->
</div>
<nav id="nav_tutorials" class="w3-hide-small" style="position:absolute;background-color:#282A35;color:white;padding-bottom:60px;">
<div class="w3-content" style="max-width:1100px;font-size:18px">
<span onclick="w3_close_nav('tutorials')" class="w3-button w3-xxxlarge w3-display-topright w3-hover-white sectionxsclosenavspan" style="padding-right:30px;padding-left:30px;">×</span><br>
<div class="w3-row-padding w3-bar-block">
<div class="w3-container" style="padding-left:13px">
<h2 style="color:#FFF4A3;"><b>Tutorials</b></h2>
</div>
<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.html">Learn HTML</a>
<a class="w3-bar-item w3-button" href="../css/default.html">Learn CSS</a>
<a class="w3-bar-item w3-button" href="../css/css_rwd_intro.html" title="Responsive Web Design">Learn RWD</a>
<a class="w3-bar-item w3-button" href="../bootstrap/bootstrap_ver.html">Learn Bootstrap</a>
<a class="w3-bar-item w3-button" href="../w3css/default.html">Learn W3.CSS</a>
<a class="w3-bar-item w3-button" href="../colors/default.html">Learn Colors</a>
<a class="w3-bar-item w3-button" href="../icons/default.html">Learn Icons</a>
<a class="w3-bar-item w3-button" href="../graphics/default.html">Learn Graphics</a>
<a class="w3-bar-item w3-button" href='../graphics/svg_intro.html'>Learn SVG</a>
<a class="w3-bar-item w3-button" href='../graphics/canvas_intro.html'>Learn Canvas</a>
<a class="w3-bar-item w3-button" href="../howto/default.html">Learn How To</a>
<a class="w3-bar-item w3-button" href="../sass/default.html">Learn Sass</a>
<div class="w3-hide-large w3-hide-small">
<h3 class="w3-margin-top">Data Analytics</h3>
<a class="w3-bar-item w3-button" href="../ai/default.html">Learn AI</a>
<a class="w3-bar-item w3-button" href="../python/python_ml_getting_started.html">Learn Machine Learning</a>
<a class="w3-bar-item w3-button" href="../datascience/default.html">Learn Data Science</a>
<a class="w3-bar-item w3-button" href="../python/numpy/default.html">Learn NumPy</a>
<a class="w3-bar-item w3-button" href="../python/pandas/default.html">Learn Pandas</a>
<a class="w3-bar-item w3-button" href="../python/scipy/index.html">Learn SciPy</a>
<a class="w3-bar-item w3-button" href="../python/matplotlib_intro.html">Learn Matplotlib</a>
<a class="w3-bar-item w3-button" href="../statistics/index.html">Learn Statistics</a>
<a class="w3-bar-item w3-button" href="../excel/index.html">Learn Excel</a>
<h3 class="w3-margin-top">XML Tutorials</h3>
<a class="w3-bar-item w3-button" href="default.html">Learn XML</a>
<a class="w3-bar-item w3-button" href='ajax_intro.html'>Learn XML AJAX</a>
<a class="w3-bar-item w3-button" href="dom_intro.html">Learn XML DOM</a>
<a class="w3-bar-item w3-button" href='xml_dtd_intro.html'>Learn XML DTD</a>
<a class="w3-bar-item w3-button" href='schema_intro.html'>Learn XML Schema</a>
<a class="w3-bar-item w3-button" href="xsl_intro.html">Learn XSLT</a>
<a class="w3-bar-item w3-button" href='xpath_intro.html'>Learn XPath</a>
<a class="w3-bar-item w3-button" href='xquery_intro.html'>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.html">Learn JavaScript</a>
<a class="w3-bar-item w3-button" href="../jquery/default.html">Learn jQuery</a>
<a class="w3-bar-item w3-button" href="../react/default.html">Learn React</a>
<a class="w3-bar-item w3-button" href="../angular/default.html">Learn AngularJS</a>
<a class="w3-bar-item w3-button" href="../js/js_json_intro.html">Learn JSON</a>
<a class="w3-bar-item w3-button" href="../js/js_ajax_intro.html">Learn AJAX</a>
<a class="w3-bar-item w3-button" href="../appml/default.html">Learn AppML</a>
<a class="w3-bar-item w3-button" href="../w3js/default.html">Learn W3.JS</a>
<h3 class="w3-margin-top">Programming</h3>
<a class="w3-bar-item w3-button" href="../python/default.html">Learn Python</a>
<a class="w3-bar-item w3-button" href="../java/default.html">Learn Java</a>
<a class="w3-bar-item w3-button" href="../cpp/default.html">Learn C++</a>
<a class="w3-bar-item w3-button" href="../cs/index.html">Learn C#</a>
<a class="w3-bar-item w3-button" href="../r/default.html">Learn R</a>
<a class="w3-bar-item w3-button" href="../kotlin/index.html">Learn Kotlin</a>
<a class="w3-bar-item w3-button" href="../go/index.html">Learn Go</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.html">Learn SQL</a>
<a class="w3-bar-item w3-button" href="../mysql/default.html">Learn MySQL</a>
<a class="w3-bar-item w3-button" href="../php/default.html">Learn PHP</a>
<a class="w3-bar-item w3-button" href='../asp/default.html'>Learn ASP</a>
<a class="w3-bar-item w3-button" href='../nodejs/default.html'>Learn Node.js</a>
<a class="w3-bar-item w3-button" href='../nodejs/nodejs_raspberrypi.html'>Learn Raspberry Pi</a>
<a class="w3-bar-item w3-button" href='../git/default.html'>Learn Git</a>
<h3 class="w3-margin-top">Web Building</h3>
<a class="w3-bar-item w3-button" href="../spaces/index.html" target="_blank" onclick="ga('send', 'event', 'spacesFromTutorialsAcc', 'click');" title="Get Your Own Website With W3shools Spaces">Create a Website <span class="ribbon-topnav ws-yellow">NEW</span></a>
<a class="w3-bar-item w3-button" href="../w3css/w3css_templates.html">Web Templates</a>
<a class="w3-bar-item w3-button" href="../browsers/default.html">Web Statistics</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/index.html">Web Certificates</a>
<a class="w3-bar-item w3-button" href="../whatis/default.html">Web Development</a>
<a class="w3-bar-item w3-button" href='../tryit/default.html'>Code Editor</a>
<a class="w3-bar-item w3-button" href="../typingspeed/default.html">Test Your Typing Speed</a>
<a class="w3-bar-item w3-button" href="../codegame/index.html" target="_blank">Play a Code Game</a>
<a class="w3-bar-item w3-button" href="../cybersecurity/index.html">Cyber Security</a>
<a class="w3-bar-item w3-button" href="../accessibility/index.html">Accessibility</a>
</div>
<div class="w3-col l3 m6 w3-hide-medium">
<h3 class="w3-margin-top">Data Analytics</h3>
<a class="w3-bar-item w3-button" href="../ai/default.html">Learn AI</a>
<a class="w3-bar-item w3-button" href="../python/python_ml_getting_started.html">Learn Machine Learning</a>
<a class="w3-bar-item w3-button" href="../datascience/default.html">Learn Data Science</a>
<a class="w3-bar-item w3-button" href="../python/numpy/default.html">Learn NumPy</a>
<a class="w3-bar-item w3-button" href="../python/pandas/default.html">Learn Pandas</a>
<a class="w3-bar-item w3-button" href="../python/scipy/index.html">Learn SciPy</a>
<a class="w3-bar-item w3-button" href="../python/matplotlib_intro.html">Learn Matplotlib</a>
<a class="w3-bar-item w3-button" href="../statistics/index.html">Learn Statistics</a>
<a class="w3-bar-item w3-button" href="../excel/index.html">Learn Excel</a>
<a class="w3-bar-item w3-button" href="../googlesheets/index.html">Learn Google Sheets</a>
<h3 class="w3-margin-top">XML Tutorials</h3>
<a class="w3-bar-item w3-button" href="default.html">Learn XML</a>
<a class="w3-bar-item w3-button" href='ajax_intro.html'>Learn XML AJAX</a>
<a class="w3-bar-item w3-button" href="dom_intro.html">Learn XML DOM</a>
<a class="w3-bar-item w3-button" href='xml_dtd_intro.html'>Learn XML DTD</a>
<a class="w3-bar-item w3-button" href='schema_intro.html'>Learn XML Schema</a>
<a class="w3-bar-item w3-button" href="xsl_intro.html">Learn XSLT</a>
<a class="w3-bar-item w3-button" href='xpath_intro.html'>Learn XPath</a>
<a class="w3-bar-item w3-button" href='xquery_intro.html'>Learn XQuery</a>
</div>
</div>
</div>
<br class="hidesm">
</nav>
<nav id="nav_references" class="w3-hide-small" style="position:absolute;background-color:#282A35;color:white;padding-bottom:60px;">
<div class="w3-content" style="max-width:1100px;font-size:18px">
<span onclick="w3_close_nav('references')" class="w3-button w3-xxxlarge w3-display-topright w3-hover-white sectionxsclosenavspan" style="padding-right:30px;padding-left:30px;">×</span><br>
<div class="w3-row-padding w3-bar-block">
<div class="w3-container" style="padding-left:13px">
<h2 style="color:#FFF4A3;"><b>References</b></h2>
</div>
<div class="w3-col l3 m6">
<h3 class="w3-margin-top">HTML</h3>
<a class="w3-bar-item w3-button" href='../tags/default.html'>HTML Tag Reference</a>
<a class="w3-bar-item w3-button" href='../tags/ref_html_browsersupport.html'>HTML Browser Support</a>
<a class="w3-bar-item w3-button" href='../tags/ref_eventattributes.html'>HTML Event Reference</a>
<a class="w3-bar-item w3-button" href='../colors/default.html'>HTML Color Reference</a>
<a class="w3-bar-item w3-button" href='../tags/ref_attributes.html'>HTML Attribute Reference</a>
<a class="w3-bar-item w3-button" href='../tags/ref_canvas.html'>HTML Canvas Reference</a>
<a class="w3-bar-item w3-button" href='../graphics/svg_reference.html'>HTML SVG Reference</a>
<a class="w3-bar-item w3-button" href='../graphics/google_maps_reference.html'>Google Maps Reference</a>
<h3 class="w3-margin-top">CSS</h3>
<a class="w3-bar-item w3-button" href='../cssref/default.html'>CSS Reference</a>
<a class="w3-bar-item w3-button" href='../cssref/css3_browsersupport.html'>CSS Browser Support</a>
<a class="w3-bar-item w3-button" href='../cssref/css_selectors.html'>CSS Selector Reference</a>
<a class="w3-bar-item w3-button" href='../bootstrap/bootstrap_ref_all_classes.html'>Bootstrap 3 Reference</a>
<a class="w3-bar-item w3-button" href='../bootstrap4/bootstrap_ref_all_classes.html'>Bootstrap 4 Reference</a>
<a class="w3-bar-item w3-button" href='../w3css/w3css_references.html'>W3.CSS Reference</a>
<a class="w3-bar-item w3-button" href='../icons/icons_reference.html'>Icon Reference</a>
<a class="w3-bar-item w3-button" href='../sass/sass_functions_string.html'>Sass 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.html'>JavaScript Reference</a>
<a class="w3-bar-item w3-button" href='../jsref/default.html'>HTML DOM Reference</a>
<a class="w3-bar-item w3-button" href='../jquery/jquery_ref_overview.html'>jQuery Reference</a>
<a class="w3-bar-item w3-button" href='../angular/angular_ref_directives.html'>AngularJS Reference</a>
<a class="w3-bar-item w3-button" href="../appml/appml_reference.html">AppML Reference</a>
<a class="w3-bar-item w3-button" href="../w3js/w3js_references.html">W3.JS Reference</a>
<h3 class="w3-margin-top">Programming</h3>
<a class="w3-bar-item w3-button" href='../python/python_reference.html'>Python Reference</a>
<a class="w3-bar-item w3-button" href='../java/java_ref_keywords.html'>Java 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='../sql/sql_ref_keywords.html'>SQL Reference</a>
<a class="w3-bar-item w3-button" href='../mysql/mysql_ref_functions.html'>MySQL Reference</a>
<a class="w3-bar-item w3-button" href='../php/php_ref_overview.html'>PHP Reference</a>
<a class="w3-bar-item w3-button" href='../asp/asp_ref_response.html'>ASP Reference</a>
<h3 class="w3-margin-top">XML</h3>
<a class="w3-bar-item w3-button" href='dom_nodetype.html'>XML DOM Reference</a>
<a class="w3-bar-item w3-button" href='dom_http.html'>XML Http Reference</a>
<a class="w3-bar-item w3-button" href='xsl_elementref.html'>XSLT Reference</a>
<a class="w3-bar-item w3-button" href='schema_elements_ref.html'>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.html'>HTML Character Sets</a>
<a class="w3-bar-item w3-button" href='../charsets/ref_html_ascii.html'>HTML ASCII</a>
<a class="w3-bar-item w3-button" href='../charsets/ref_html_ansi.html'>HTML ANSI</a>
<a class="w3-bar-item w3-button" href='../charsets/ref_html_ansi.html'>HTML Windows-1252</a>
<a class="w3-bar-item w3-button" href='../charsets/ref_html_8859.html'>HTML ISO-8859-1</a>
<a class="w3-bar-item w3-button" href='../charsets/ref_html_symbols.html'>HTML Symbols</a>
<a class="w3-bar-item w3-button" href='../charsets/ref_html_utf8.html'>HTML UTF-8</a>
</div>
</div>
<br class="hidesm">
</div>
</nav>
<nav id="nav_exercises" class="w3-hide-small" style="position:absolute;background-color:#282A35;color:white;padding-bottom:60px;">
<div class="w3-content" style="max-width:1100px;font-size:18px">
<span onclick="w3_close_nav('exercises')" class="w3-button w3-xxxlarge w3-display-topright w3-hover-white sectionxsclosenavspan" style="padding-right:30px;padding-left:30px;">×</span><br>
<div class="w3-row-padding w3-bar-block">
<div class="w3-container" style="padding-left:13px">
<h2 style="color:#FFF4A3;"><b>Exercises and Quizzes</b></h2>
</div>
<div class="w3-col l3 m6">
<h3 class="w3-margin-top"><a class="ws-btn ws-yellow w3-hover-text-white" style="width:155px;font-size:21px" href="../exercises/index.html">Exercises</a></h3>
<a class="w3-bar-item w3-button" href="../html/html_exercises.html">HTML Exercises</a>
<a class="w3-bar-item w3-button" href="../css/css_exercises.html">CSS Exercises</a>
<a class="w3-bar-item w3-button" href="../js/js_exercises.html">JavaScript Exercises</a>
<a class="w3-bar-item w3-button" href="../sql/sql_exercises.html">SQL Exercises</a>
<a class="w3-bar-item w3-button" href="../mysql/mysql_exercises.html">MySQL Exercises</a>
<a class="w3-bar-item w3-button" href="../php/php_exercises.html">PHP Exercises</a>
<a class="w3-bar-item w3-button" href="../python/python_exercises.html">Python Exercises</a>
<a class="w3-bar-item w3-button" href="../python/numpy/numpy_exercises.html">NumPy Exercises</a>
<a class="w3-bar-item w3-button" href="../python/pandas/pandas_exercises.html">Pandas Exercises</a>
<a class="w3-bar-item w3-button" href="../python/scipy/scipy_exercises.html">SciPy Exercises</a>
<a class="w3-bar-item w3-button" href="../jquery/jquery_exercises.html">jQuery Exercises</a>
<a class="w3-bar-item w3-button" href="../java/java_exercises.html">Java Exercises</a>
<a class="w3-bar-item w3-button" href="../bootstrap/bootstrap_exercises.html">Bootstrap Exercises</a>
<a class="w3-bar-item w3-button" href="../bootstrap4/bootstrap_exercises.html">Bootstrap 4 Exercises</a>
<a class="w3-bar-item w3-button" href="../cpp/cpp_exercises.html">C++ Exercises</a>
<a class="w3-bar-item w3-button" href="../cs/cs_exercises.html">C# Exercises</a>
<a class="w3-bar-item w3-button" href="../r/r_exercises.html">R Exercises</a>
<a class="w3-bar-item w3-button" href="../kotlin/kotlin_exercises.html">Kotlin Exercises</a>
<a class="w3-bar-item w3-button" href="../go/go_exercises.html">Go Exercises</a>
<a class="w3-bar-item w3-button" href="../git/git_exercises.html">Git Exercises</a>
</div>
<div class="w3-col l3 m6">
<h3 class="w3-margin-top"><a class="ws-btn ws-yellow w3-hover-text-white" style="width:135px;font-size:21px" href="../quiztest/default.html">Quizzes</a></h3>
<a class="w3-bar-item w3-button" href="../html/html_quiz.html" target="_top">HTML Quiz</a>
<a class="w3-bar-item w3-button" href="../css/css_quiz.html" target="_top">CSS Quiz</a>
<a class="w3-bar-item w3-button" href="../js/js_quiz.html" target="_top">JavaScript Quiz</a>
<a class="w3-bar-item w3-button" href="../sql/sql_quiz.html" target="_top">SQL Quiz</a>
<a class="w3-bar-item w3-button" href="../mysql/mysql_quiz.html" target="_top">MySQL Quiz</a>
<a class="w3-bar-item w3-button" href="../php/php_quiz.html" target="_top">PHP Quiz</a>
<a class="w3-bar-item w3-button" href="../python/python_quiz.html" target="_top">Python Quiz</a>
<a class="w3-bar-item w3-button" href="../python/numpy/numpy_quiz.html" target="_top">NumPy Quiz</a>
<a class="w3-bar-item w3-button" href="../python/pandas/pandas_quiz.html" target="_top">Pandas Quiz</a>
<a class="w3-bar-item w3-button" href="../python/scipy/scipy_quiz.html" target="_top">SciPy Quiz</a>
<a class="w3-bar-item w3-button" href="../jquery/jquery_quiz.html" target="_top">jQuery Quiz</a>
<a class="w3-bar-item w3-button" href="../java/java_quiz.html" target="_top">Java Quiz</a>
<a class="w3-bar-item w3-button" href="../bootstrap/bootstrap_quiz.html" target="_top">Bootstrap Quiz</a>
<a class="w3-bar-item w3-button" href="../bootstrap4/bootstrap_quiz.html" target="_top">Bootstrap 4 Quiz</a>
<a class="w3-bar-item w3-button" href="../cpp/cpp_quiz.html" target="_top">C++ Quiz</a>
<a class="w3-bar-item w3-button" href="../cs/cs_quiz.html" target="_top">C# Quiz</a>
<a class="w3-bar-item w3-button" href="../r/r_quiz.html" target="_top">R Quiz</a>
<a class="w3-bar-item w3-button" href="xml_quiz.html" target="_top">XML Quiz</a>
<a class="w3-bar-item w3-button" href="../cybersecurity/cybersecurity_quiz.html">Cyber Security Quiz</a>
<a class="w3-bar-item w3-button" href="../accessibility/accessibility_quiz.html">Accessibility Quiz</a>
</div>
<div class="w3-col l3 m6">
<h3 class="w3-margin-top"><a class="ws-btn ws-yellow w3-hover-text-white" style="width:135px;font-size:21px" href="../../courses.w3schools.com/index.html" target="_blank">Courses</a></h3>
<!-- cert
<a class="w3-bar-item w3-button" href="/cert/cert_html_new.asp" target="_top">HTML Certificate</a>
<a class="w3-bar-item w3-button" href="/cert/cert_css.asp" target="_top">CSS Certificate</a>
<a class="w3-bar-item w3-button" href="/cert/cert_javascript.asp" target="_top">JavaScript Certificate</a>
<a class="w3-bar-item w3-button" href="/cert/cert_sql.asp" target="_top">SQL Certificate</a>
<a class="w3-bar-item w3-button" href="/cert/cert_php.asp" target="_top">PHP Certificate</a>
<a class="w3-bar-item w3-button" href="/cert/cert_python.asp" target="_top">Python Certificate</a>
<a class="w3-bar-item w3-button" href="/cert/cert_bootstrap.asp" target="_top">Bootstrap Certificate</a>
<a class="w3-bar-item w3-button" href="/cert/cert_jquery.asp" target="_top">jQuery Certificate</a>
<a class="w3-bar-item w3-button" href="/cert/cert_xml.asp" target="_top">XML Certificate</a>
-->
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/courses/html.html" target="_blank">HTML Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/courses/css.html" target="_blank">CSS Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/courses/javascript.html" target="_blank">JavaScript Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/programs/front-end.html" target="_blank">Front End Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/courses/sql.html" target="_blank">SQL Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/courses/python.html" target="_blank">Python Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/programs/data-analytics.html" target="_blank">Data Analytics Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/courses/numpy-fundamentals.html" target="_blank">NumPy Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/courses/pandas-fundamentals.html" target="_blank">Pandas Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/courses/jquery.html" target="_blank">jQuery Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/courses/php.html" target="_blank">PHP Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/courses/java.html" target="_blank">Java Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/courses/cplusplus.html" target="_blank">C++ Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/courses/c-sharp.html" target="_blank">C# Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/courses/xml.html" target="_blank">XML Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/courses/r-fundamentals.html" target="_blank">R Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/courses/introduction-to-cyber-security.html" target="_blank">Cyber Security Course</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/courses/accessibility-fundamentals.html" target="_blank">Accessibility Course</a>
</div>
<div class="w3-col l3 m6">
<h3 class="w3-margin-top"><a class="ws-btn ws-yellow w3-hover-text-white" style="width:150px;font-size:21px" href="../../courses.w3schools.com/browse/certifications.html" target="_blank">Certificates</a></h3>
<!-- cert
<a class="w3-bar-item w3-button" href="/cert/cert_html_new.asp" target="_top">HTML Certificate</a>
<a class="w3-bar-item w3-button" href="/cert/cert_css.asp" target="_top">CSS Certificate</a>
<a class="w3-bar-item w3-button" href="/cert/cert_javascript.asp" target="_top">JavaScript Certificate</a>
<a class="w3-bar-item w3-button" href="/cert/cert_sql.asp" target="_top">SQL Certificate</a>
<a class="w3-bar-item w3-button" href="/cert/cert_php.asp" target="_top">PHP Certificate</a>
<a class="w3-bar-item w3-button" href="/cert/cert_python.asp" target="_top">Python Certificate</a>
<a class="w3-bar-item w3-button" href="/cert/cert_bootstrap.asp" target="_top">Bootstrap Certificate</a>
<a class="w3-bar-item w3-button" href="/cert/cert_jquery.asp" target="_top">jQuery Certificate</a>
<a class="w3-bar-item w3-button" href="/cert/cert_xml.asp" target="_top">XML Certificate</a>
-->
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/browse/certifications/courses/html-certification-exam.html" target="_blank">HTML Certificate</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/browse/certifications/courses/css-certification-exam.html" target="_blank">CSS Certificate</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/browse/certifications/courses/javascript-certification-exam.html" target="_blank">JavaScript Certificate</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/browse/certifications/courses/front-end-certification-exam.html" target="_blank">Front End Certificate</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/browse/certifications/courses/sql-certification-exam.html" target="_blank">SQL Certificate</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/browse/certifications/courses/python-certificaftion-exam.html" target="_blank">Python Certificate</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/browse/certifications/courses/data-science-certification-exam.html" target="_blank">Data Science Certificate</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/browse/certifications/courses/bootstrap-3-certification-exam.html" target="_blank">Bootstrap 3 Certificate</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/browse/certifications/courses/bootstrap-4-certification-exam.html" target="_blank">Bootstrap 4 Certificate</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/browse/certifications/courses/jquery-certification-exam.html" target="_blank">jQuery Certificate</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/browse/certifications/courses/php-certification-exam.html" target="_blank">PHP Certificate</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/browse/certifications/courses/java-certification-exam.html" target="_blank">Java Certificate</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/browse/certifications/courses/c-certification-exam.html" target="_blank">C++ Certificate</a>
<a class="w3-bar-item w3-button" href="../../courses.w3schools.com/browse/certifications/courses/xml-certification-exam.html" target="_blank">XML Certificate</a>
</div>
</div>
<br class="hidesm">
</div>
</nav>
</div>
</div>
<div id='myAccordion' class="w3-card-2 w3-center w3-hide-large w3-hide-medium" style="width:100%;position:absolute;display:none;background-color:#E7E9EB">
<a href="javascript:void(0)" onclick="w3_close()" class="w3-button w3-xxlarge w3-right">×</a><br>
<div class="w3-container w3-padding-32">
<a class="w3-button w3-block" style="font-size:22px;" onclick="open_xs_menu('tutorials');" href="javascript:void(0);">Tutorials <i class='fa fa-caret-down'></i></a>
<div id="sectionxs_tutorials" class="w3-left-align w3-show" style="background-color:#282A35;color:white;"></div>
<a class="w3-button w3-block" style="font-size:22px;" onclick="open_xs_menu('references')" href="javascript:void(0);">References <i class='fa fa-caret-down'></i></a>
<div id="sectionxs_references" class="w3-left-align w3-show" style="background-color:#282A35;color:white;"></div>
<a class="w3-button w3-block" style="font-size:22px;" onclick="open_xs_menu('exercises')" href="javascript:void(0);">Exercises <i class='fa fa-caret-down'></i></a>
<div id="sectionxs_exercises" class="w3-left-align w3-show" style="background-color:#282A35;color:white;"></div>
<a class="w3-button w3-block" style="font-size:22px;" href="../../courses.w3schools.com/index.html" target="_blank">Paid Courses</a>
<a class="w3-button w3-block" style="font-size:22px;" href="../spaces/index.html" target="_blank" onclick="ga('send', 'event', 'spacesFromTutorialsAcc', 'click');" title="Get Your Own Website With W3shools Spaces">Spaces</a>
<a class="w3-button w3-block" style="font-size:22px;" target="_blank"href="../videos/index.html" onclick="ga('send', 'event', 'Videos' , 'fromTopnavMain')" title="Video Tutorials">Videos</a>
<a class="w3-button w3-block" style="font-size:22px;" href="../../shop.w3schools.com/index.html" target="_blank">Shop</a>
</div>
</div>
<script>
</script>
<div class='w3-sidebar w3-collapse' id='sidenav'>
<div id='leftmenuinner'>
<div id='leftmenuinnerinner' style="background-color:#E7E9EB;">
<!-- <a href='javascript:void(0)' onclick='close_menu()' class='w3-button w3-hide-large w3-large w3-display-topright' style='right:16px;padding:3px 12px;font-weight:bold;'>×</a>-->
<h2 class="left"><span class="left_h2">XML</span> Tutorial</h2>
<a target="_top" href="default.html">XML HOME</a>
<a target="_top" href="xml_whatis.html">XML Introduction</a>
<a target="_top" href="xml_usedfor.html">XML How to use</a>
<a target="_top" href="xml_tree.html">XML Tree</a>
<a target="_top" href="xml_syntax.html">XML Syntax</a>
<a target="_top" href="xml_elements.html">XML Elements</a>
<a target="_top" href="xml_attributes.html">XML Attributes</a>
<a target="_top" href="xml_namespaces.html">XML Namespaces</a>
<a target="_top" href="xml_display.html">XML Display</a>
<a target="_top" href="xml_http.html">XML HttpRequest</a>
<a target="_top" href="xml_parser.html">XML Parser</a>
<a target="_top" href="xml_dom.html">XML DOM</a>
<a target="_top" href="xml_xpath.html">XML XPath</a>
<a target="_top" href="xml_xslt.html">XML XSLT</a>
<a target="_top" href="xml_xquery.html">XML XQuery</a>
<a target="_top" href="xml_xlink.html">XML XLink</a>
<a target="_top" href="xml_validator.html">XML Validator</a>
<a target="_top" href="xml_dtd.html">XML DTD</a>
<a target="_top" href="xml_schema.html">XML Schema</a>
<a target="_top" href="xml_server.html">XML Server</a>
<a target="_top" href="xml_examples.html">XML Examples</a>
<a target="_top" href="xml_quiz.html">XML Quiz</a>
<a target="_top" href="xml_exam.html">XML Certificate</a>
<br>
<h2 class="left">XML AJAX</h2>
<a target="_top" href="ajax_intro.html">AJAX Introduction</a>
<a target="_top" href="ajax_xmlhttprequest_create.html">AJAX XMLHttp</a>
<a target="_top" href="ajax_xmlhttprequest_send.html">AJAX Request</a>
<a target="_top" href="ajax_xmlhttprequest_response.html">AJAX Response</a>
<a target="_top" href="ajax_xmlfile.html">AJAX XML File</a>
<a target="_top" href="ajax_php.html">AJAX PHP</a>
<a target="_top" href="ajax_asp.html">AJAX ASP</a>
<a target="_top" href="ajax_database.html">AJAX Database</a>
<a target="_top" href="ajax_applications.html">AJAX Applications</a>
<a target="_top" href="ajax_examples.html">AJAX Examples</a>
<br>
<h2 class="left"><span class="left_h2">XML DOM</span></h2>
<a target="_top" href="dom_intro.html">DOM Introduction</a>
<a target="_top" href="dom_nodes.html">DOM Nodes</a>
<a target="_top" href="dom_nodes_access.html">DOM Accessing</a>
<a target="_top" href="dom_nodes_info.html">DOM Node Info</a>
<a target="_top" href="dom_nodes_nodelist.html">DOM Node List</a>
<a target="_top" href="dom_nodes_traverse.html">DOM Traversing</a>
<a target="_top" href="dom_nodes_navigate.html">DOM Navigating</a>
<a target="_top" href="dom_nodes_get.html">DOM Get Values</a>
<a target="_top" href="dom_nodes_set.html">DOM Change Nodes</a>
<a target="_top" href="dom_nodes_remove.html">DOM Remove Nodes</a>
<a target="_top" href="dom_nodes_replace.html">DOM Replace Nodes</a>
<a target="_top" href="dom_nodes_create.html">DOM Create Nodes</a>
<a target="_top" href="dom_nodes_add.html">DOM Add Nodes</a>
<a target="_top" href="dom_nodes_clone.html">DOM Clone Nodes</a>
<a target="_top" href="dom_examples.html">DOM Examples</a>
<br>
<h2 class="left"><span class="left_h2">XPath</span> Tutorial</h2>
<a target="_top" href="xpath_intro.html">XPath Introduction</a>
<a target="_top" href="xpath_nodes.html">XPath Nodes</a>
<a target="_top" href="xpath_syntax.html">XPath Syntax</a>
<a target="_top" href="xpath_axes.html">XPath Axes</a>
<a target="_top" href="xpath_operators.html">XPath Operators</a>
<a target="_top" href="xpath_examples.html">XPath Examples</a>
<br>
<h2 class="left"><span class="left_h2">XSLT</span> Tutorial</h2>
<a target="_top" href="xsl_intro.html">XSLT Introduction</a>
<a target="_top" href="xsl_languages.html">XSL Languages</a>
<a target="_top" href="xsl_transformation.html">XSLT Transform</a>
<a target="_top" href="xsl_templates.html">XSLT <template></a>
<a target="_top" href="xsl_value_of.html">XSLT <value-of></a>
<a target="_top" href="xsl_for_each.html">XSLT <for-each></a>
<a target="_top" href="xsl_sort.html">XSLT <sort></a>
<a target="_top" href="xsl_if.html">XSLT <if></a>
<a target="_top" href="xsl_choose.html">XSLT <choose></a>
<a target="_top" href="xsl_apply_templates.html">XSLT Apply</a>
<a target="_top" href="xsl_client.html">XSLT on the Client</a>
<a target="_top" href="xsl_server.html">XSLT on the Server</a>
<a target="_top" href="xsl_editxml.html">XSLT Edit XML</a>
<a target="_top" href="xsl_examples.html">XSLT Examples</a>
<br>
<h2 class="left"><span class="left_h2">XQuery</span> Tutorial</h2>
<a target="_top" href="xquery_intro.html">XQuery Introduction</a>
<a target="_top" href="xquery_example.html">XQuery Example</a>
<a target="_top" href="xquery_flwor.html">XQuery FLWOR</a>
<a target="_top" href="xquery_flwor_html.html">XQuery HTML</a>
<a target="_top" href="xquery_terms.html">XQuery Terms</a>
<a target="_top" href="xquery_syntax.html">XQuery Syntax</a>
<a target="_top" href="xquery_add.html">XQuery Add</a>
<a target="_top" href="xquery_select.html">XQuery Select</a>
<a target="_top" href="xquery_functions.html">XQuery Functions</a>
<br>
<h2 class="left"><span class="left_h2">XML</span> DTD</h2>
<a target="_top" href="xml_dtd_intro.html">DTD Introduction</a>
<a target="_top" href="xml_dtd_building.html">DTD Building Blocks</a>
<a target="_top" href="xml_dtd_elements.html">DTD Elements</a>
<a target="_top" href="xml_dtd_attributes.html">DTD Attributes</a>
<a target="_top" href="xml_dtd_el_vs_attr.html">DTD Elements vs Attr</a>
<a target="_top" href="xml_dtd_entities.html">DTD Entities</a>
<a target="_top" href="xml_dtd_examples.html">DTD Examples</a>
<br>
<h2 class="left"><span class="left_h2">XSD</span> Schema</h2>
<a target="_top" href="schema_intro.html">XSD Introduction</a>
<a target="_top" href="schema_howto.html">XSD How To</a>
<a target="_top" href="schema_schema.html">XSD <schema></a>
<a target="_top" href="schema_simple.html">XSD Elements</a>
<a target="_top" href="schema_simple_attributes.html">XSD Attributes</a>
<a target="_top" href="schema_facets.html">XSD Restrictions</a>
<br>
<h2 class="left"><span class="left_h2">XSD</span> Complex</h2>
<a target="_top" href="schema_complex.html">XSD Elements</a>
<a target="_top" href="schema_complex_empty.html">XSD Empty</a>
<a target="_top" href="schema_complex_elements.html">XSD Elements Only</a>
<a target="_top" href="schema_complex_text.html">XSD Text Only</a>
<a target="_top" href="schema_complex_mixed.html">XSD Mixed</a>
<a target="_top" href="schema_complex_indicators.html">XSD Indicators</a>
<a target="_top" href="schema_complex_any.html">XSD <any></a>
<a target="_top" href="schema_complex_anyattribute.html">XSD <anyAttribute></a>
<a target="_top" href="schema_complex_subst.html">XSD Substitution</a>
<a target="_top" href="schema_example.html">XSD Example</a>
<br>
<h2 class="left"><span class="left_h2">XSD</span> Data</h2>
<a target="_top" href="schema_dtypes_string.html">XSD String</a>
<a target="_top" href="schema_dtypes_date.html">XSD Date</a>
<a target="_top" href="schema_dtypes_numeric.html">XSD Numeric</a>
<a target="_top" href="schema_dtypes_misc.html">XSD Misc</a>
<a target="_top" href="schema_elements_ref.html">XSD Reference</a>
<br>
<h2 class="left"><span class="left_h2">Web</span> Services</h2>
<a target="_top" href="xml_services.html">XML Services</a>
<a target="_top" href="xml_wsdl.html">XML WSDL</a>
<a target="_top" href="xml_soap.html">XML SOAP</a>
<a target="_top" href="xml_rdf.html">XML RDF</a>
<a target="_top" href="xml_rss.html">XML RSS</a>
<br>
<h2 class="left"><span class="left_h2">References</span></h2>
<a target="_top" href="dom_nodetype.html">DOM Node Types</a>
<a target="_top" href="dom_node.html">DOM Node</a>
<a target="_top" href="dom_nodelist.html">DOM NodeList</a>
<a target="_top" href="dom_namednodemap.html">DOM NamedNodeMap</a>
<a target="_top" href="dom_document.html">DOM Document</a>
<a target="_top" href="dom_element.html">DOM Element</a>
<a target="_top" href="dom_attribute.html">DOM Attribute</a>
<a target="_top" href="dom_text.html">DOM Text</a>
<a target="_top" href="dom_cdatasection.html">DOM CDATA</a>
<a target="_top" href="dom_comment.html">DOM Comment</a>
<a target="_top" href="dom_http.html">DOM XMLHttpRequest</a>
<a target="_top" href="dom_parser.html">DOM Parser</a>
<a target="_top" href="xsl_elementref.html">XSLT Elements</a>
<a target="_top" href="xsl_functions.html">XSLT/XPath Functions</a>
<br><br>
</div>
</div>
</div>
<div class='w3-main w3-light-grey' id='belowtopnav' style='margin-left:220px;'>
<div class='w3-row w3-white'>
<div class='w3-col l10 m12' id='main'>
<div id='mainLeaderboard' style='overflow:hidden;'>
<!-- MainLeaderboard-->
<!--<pre>main_leaderboard, all: [728,90][970,90][320,50][468,60]</pre>-->
<div id="adngin-main_leaderboard-0"></div>
<!-- adspace leaderboard -->
</div>
<h1>The <span class="color_h1">XMLHttpRequest</span> Object</h1>
<div class="w3-clear nextprev">
<a class="w3-left w3-btn" href="dom_comment.html">❮ Previous</a>
<a class="w3-right w3-btn" href="dom_parser.html">Next ❯</a>
</div>
<hr>
<p class="intro">With the XMLHttpRequest object you can update parts of a web
page, without reloading the whole page.</p>
<hr>
<div class="w3-container w3-theme">
<h2>Try it Yourself - Examples</h2>
</div>
<p><a target="_blank" href="tryit7a7c.html?filename=try_dom_xmlhttprequest_first">A
simple XMLHttpRequest example</a><br>
Create a simple XMLHttpRequest, and retrieve data from a TXT file.</p>
<p><a target="_blank" href="tryitb2c2.html?filename=try_dom_xmlhttprequest_header">
Retrieve header information with getAllResponseHeaders()</a><br>
Retrieve header information of a resource (file).</p>
<p><a target="_blank" href="tryit07fe.html?filename=try_dom_xmlhttprequest_lastmodified">
Retrieve specific header information with getResponseHeader()</a><br>
Retrieve specific header information of a resource (file).</p>
<p><a target="_blank" href="tryit9ea9.html?filename=try_dom_xmlhttprequest_suggest">Retrieve the content of an ASP file</a><br>
How a web page can communicate with a web server while a user type characters in an input field.</p>
<p><a target="_blank" href="tryitec40.html?filename=try_dom_xmlhttprequest_database">Retrieve content from a database</a><br>
How a web page can fetch information from a database with the XMLHttpRequest object.</p>
<p><a target="_blank" href="tryitc162.html?filename=try_dom_xmlhttprequest_xml">Retrieve the content of an XML file</a><br>
Create an XMLHttpRequest to retrieve data from an XML file and display the data in an HTML table.</p>
<hr>
<h2>The XMLHttpRequest Object</h2>
<p>The XMLHttpRequest object is used to exchange data with a server behind the scenes.</p>
<p>The XMLHttpRequest object is <b>the developers dream</b>, because you can:</p>
<ul>
<li>Update a web page without reloading the page</li>
<li>Request data from a server after the page has loaded </li>
<li>Receive data from a server after the page has loaded</li>
<li>Send data to a server in the background</li>
</ul>
<hr>
<div id="midcontentadcontainer" style="overflow:auto;text-align:center">
<!-- MidContent -->
<!-- <p class="adtext">Advertisement</p> -->
<div id="adngin-mid_content-0"></div>
</div>
<hr>
<h2>XMLHttpRequest Object Methods</h2>
<table class="ws-table-all notranslate">
<tr>
<th style="width:35%">Method</th>
<th style="width:65%">Description</th>
</tr>
<tr>
<td>abort()</td>
<td>Cancels the current request</td>
</tr>
<tr>
<td>getAllResponseHeaders()</td>
<td>Returns header information</td>
</tr>
<tr>
<td>getResponseHeader()</td>
<td>Returns specific header information</td>
</tr>
<tr>
<td>open(method,url,async,uname,pswd)</td>
<td>Specifies the type of request, the URL, if the request should be handled asynchronously or not, and other optional attributes of a request
<br><br>method: the type of request: GET or POST<br>
url: the location of the file on the server<br>
async: true (asynchronous) or false (synchronous)</td>
</tr>
<tr>
<td>send(string)</td>
<td>send(string) Sends the request off to the server.<br><br>
string: Only used for POST requests</td>
</tr>
<tr>
<td>setRequestHeader()</td>
<td>Adds a label/value pair to the header to be sent</td>
</tr>
</table>
<h2>XMLHttpRequest Object Properties</h2>
<table class="ws-table-all notranslate">
<tr>
<th style="width:35%">Property</th>
<th style="width:65%">Description</th>
</tr>
<tr>
<td>onreadystatechange</td>
<td>Stores a function (or the name of a function) to be called automatically each time the readyState property changes</td>
</tr>
<tr>
<td>readyState</td>
<td>Holds the status of the XMLHttpRequest. Changes from 0 to 4: <br>
0: request not initialized <br>
1: server connection established<br>
2: request received <br>
3: processing request <br>
4: request finished and response is ready </td>
</tr>
<tr>
<td>responseText</td>
<td>Returns the response data as a string</td>
</tr>
<tr>
<td>responseXML</td>
<td>Returns the response data as XML data</td>
</tr>
<tr>
<td>status</td>
<td>Returns the status-number (e.g. "404" for "Not Found" or "200" for "OK")</td>
</tr>
<tr>
<td>statusText</td>
<td>Returns the status-text (e.g. "Not Found" or "OK")</td>
</tr>
</table>
<br>
<div class="w3-clear nextprev">
<a class="w3-left w3-btn" href="dom_comment.html">❮ Previous</a>
<a class="w3-right w3-btn" href="dom_parser.html">Next ❯</a>
</div>
<div id="mypagediv2" style="position:relative;text-align:center;"></div>
<br>
</div>
<div class="w3-col l2 m12" id="right">
<div class="sidesection">
<div id="skyscraper">
<div id="adngin-sidebar_top-0"></div>
</div>
</div>
<style>
.ribbon-vid {
font-size:12px;
font-weight:bold;
padding: 6px 20px;
left:-20px;
top:-10px;
text-align: center;
color:black;
border-radius:25px;
}
</style>
<div class="sidesection" style="font-family: 'Source Sans Pro', sans-serif;border-radius:5px;color:white;padding-top:25px;margin-left:auto;margin-right:auto;max-width:230px;background-color:#282A35">
<div class="w3-center" style="padding-bottom:7px">
<span class="ribbon-vid ws-yellow">NEW</span>
</div>
<p style="font-size: 14px;line-height: 1.5;font-family: Source Sans Pro;padding-left:4px;padding-right:4px;">We just launched<br>W3Schools videos</p>
<a onclick="ga('send', 'event', 'Videos' , 'fromSidebar');" href="../videos/index.html" class="w3-hover-opacity"><img src="https://www.w3schools.com/images/htmlvideoad_footer.png" style="max-width:100%;padding:5px 10px 25px 10px" loading="lazy"></a>
<a class="ws-button" style="font-size:16px;text-decoration: none !important;display: block !important; color:#FFC0C7!important; width: 100%; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; paxdding-top: 10px; padding-bottom: 20px; font-family: 'Source Sans Pro', sans-serif; text-align: center;" onclick="ga('send', 'event', 'Videos' , 'fromSidebar');" href="../videos/index.html">Explore now</a>
</div>
<div class="sidesection">
<h4><a href="../colors/colors_picker.html">COLOR PICKER</a></h4>
<a href="../colors/colors_picker.html">
<img src="https://www.w3schools.com/images/colorpicker.gif" alt="colorpicker" loading="lazy"></a>
</div>
<div class="sidesection">
<h4>LIKE US</h4>
<div class="w3-text-grey sharethis">
<a href="../../www.facebook.com/w3schoolscom/index.html" target="_blank" title="Facebook"><span class="fa fa-facebook-square fa-2x"></span></a>
<a href="../../www.instagram.com/w3schools.com_official/index.html" target="_blank" title="Instagram"><span class="fa fa-instagram fa-2x"></span></a>
<a href="../../www.linkedin.com/company/w3schools.com/index.html" target="_blank" title="LinkedIn"><span class="fa fa-linkedin-square fa-2x"></span></a>
</div>
</div>
<!--
<div class="sidesection" style="border-radius:5px;color:#555;padding-top:1px;padding-bottom:8px;margin-left:auto;margin-right:auto;max-width:230px;background-color:#d4edda">
<p>Get your<br>certification today!</p>
<a href="/cert/default.asp" target="_blank">
<img src="/images/w3certified_logo_250.png" style="margin:0 12px 20px 10px;max-width:80%">
</a>
<a class="w3-btn w3-margin-bottom" style="text-decoration:none;border-radius:5px;"
href="/cert/default.asp" target="_blank">View options</a>
</div>
-->
<style>
#courses_get_started_btn {
text-decoration:none !important;
background-color:#04AA6D;
width:100%;
border-bottom-left-radius:5px;
border-bottom-right-radius:5px;
padding-top:10px;
padding-bottom:10px;
font-family: 'Source Sans Pro', sans-serif;
}
#courses_get_started_btn:hover {
background-color:#059862!important;
}
</style>
<div id="internalCourses" class="sidesection" style="font-size:18px;font-family: 'Source Sans Pro', sans-serif;border-radius:5px;color:#FFC0C7;padding-top:1px;xpadding-bottom:8px;margin-left:auto;margin-right:auto;max-width:230px;background-color:#282A35">
<p style="font-size:18px;padding-left:2px;padding-right:2px;">Get certified<br>by completing<br>a course today!</p>
<a href="../../courses.w3schools.com/index.html" target="_blank" onclick="ga('send', 'event', 'Courses' , 'Clicked on courses banner in ads column');">
<div style="padding:0 20px 20px 20px">
<svg id="w3_cert_badge2" style="margin:auto;width:85%" data-name="w3_cert_badge2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><defs><style>.cls-1{fill:#04aa6b;}.cls-2{font-size:23px;}.cls-2,.cls-3,.cls-4{fill:#fff;}.cls-2,.cls-3{font-family:RobotoMono-Medium, Roboto Mono;font-weight:500;}.cls-3{font-size:20.08px;}</style></defs><circle class="cls-1" cx="150" cy="150" r="146.47" transform="translate(-62.13 150) rotate(-45)"/><text class="cls-2" transform="translate(93.54 63.89) rotate(-29.5)">w</text><text class="cls-2" transform="translate(107.13 56.35) rotate(-20.8)">3</text><text class="cls-2" transform="matrix(0.98, -0.21, 0.21, 0.98, 121.68, 50.97)">s</text><text class="cls-2" transform="translate(136.89 47.84) rotate(-3.47)">c</text><text class="cls-2" transform="translate(152.39 47.03) rotate(5.12)">h</text><text class="cls-2" transform="translate(167.85 48.54) rotate(13.72)">o</text><text class="cls-2" transform="translate(182.89 52.35) rotate(22.34)">o</text><text class="cls-2" transform="matrix(0.86, 0.52, -0.52, 0.86, 197.18, 58.36)">l</text><text class="cls-2" transform="matrix(0.77, 0.64, -0.64, 0.77, 210.4, 66.46)">s</text><text class="cls-3" transform="translate(35.51 186.66) rotate(69.37)"> </text><text class="cls-3" transform="matrix(0.47, 0.88, -0.88, 0.47, 41.27, 201.28)">C</text><text class="cls-3" transform="matrix(0.58, 0.81, -0.81, 0.58, 48.91, 215.03)">E</text><text class="cls-3" transform="matrix(0.67, 0.74, -0.74, 0.67, 58.13, 227.36)">R</text><text class="cls-3" transform="translate(69.16 238.92) rotate(39.44)">T</text><text class="cls-3" transform="matrix(0.85, 0.53, -0.53, 0.85, 81.47, 248.73)">I</text><text class="cls-3" transform="translate(94.94 256.83) rotate(24.36)">F</text><text class="cls-3" transform="translate(109.34 263.09) rotate(16.83)">I</text><text class="cls-3" transform="translate(124.46 267.41) rotate(9.34)">E</text><text class="cls-3" transform="translate(139.99 269.73) rotate(1.88)">D</text><text class="cls-3" transform="translate(155.7 270.01) rotate(-5.58)"> </text><text class="cls-3" transform="translate(171.32 268.24) rotate(-13.06)"> </text><text class="cls-2" transform="translate(187.55 266.81) rotate(-21.04)">.</text><text class="cls-3" transform="translate(203.27 257.7) rotate(-29.24)"> </text><text class="cls-3" transform="translate(216.84 249.83) rotate(-36.75)"> </text><text class="cls-3" transform="translate(229.26 240.26) rotate(-44.15)">2</text><text class="cls-3" transform="translate(240.39 229.13) rotate(-51.62)">0</text><text class="cls-3" transform="translate(249.97 216.63) rotate(-59.17)">2</text><text class="cls-3" transform="matrix(0.4, -0.92, 0.92, 0.4, 257.81, 203.04)">1</text><path class="cls-4" d="M196.64,136.31s3.53,3.8,8.5,3.8c3.9,0,6.75-2.37,6.75-5.59,0-4-3.64-5.81-8-5.81h-2.59l-1.53-3.48,6.86-8.13a34.07,34.07,0,0,1,2.7-2.85s-1.11,0-3.33,0H194.79v-5.86H217.7v4.28l-9.19,10.61c5.18.74,10.24,4.43,10.24,10.92s-4.85,12.3-13.19,12.3a17.36,17.36,0,0,1-12.41-5Z"/><path class="cls-4" d="M152,144.24l30.24,53.86,14.94-26.61L168.6,120.63H135.36l-13.78,24.53-13.77-24.53H77.93l43.5,77.46.15-.28.16.28Z"/></svg>
</div>
</a>
<a class="w3-btn" id="courses_get_started_btn"
href="../../courses.w3schools.com/index.html" target="_blank" onclick="ga('send', 'event', 'Courses' , 'Clicked on courses banner in ads column');">Get started</a>
</div>
<!--
<div class="sidesection" style="margin-left:auto;margin-right:auto;max-width:230px">
<a href="https://shop.w3schools.com/" target="_blank" title="Buy W3Schools Merchandize">
<img src="/images/tshirt.jpg" style="max-width:100%;">
</a>
</div>
-->
<div class="sidesection" id="moreAboutSubject">
</div>
<!--
<div id="sidesection_exercise" class="sidesection" style="background-color:#555555;max-width:200px;margin:auto;margin-bottom:32px">
<div class="w3-container w3-text-white">
<h4>Exercises</h4>
</div>
<div>
<div class="w3-light-grey">
<a target="_blank" href="/html/exercise.asp" style="padding-top:8px">HTML</a>
<a target="_blank" href="/css/exercise.asp">CSS</a>
<a target="_blank" href="/js/exercise_js.asp">JavaScript</a>
<a target="_blank" href="/sql/exercise.asp">SQL</a>
<a target="_blank" href="/php/exercise.asp">PHP</a>
<a target="_blank" href="/python/exercise.asp">Python</a>
<a target="_blank" href="/bootstrap/exercise_bs3.asp">Bootstrap</a>
<a target="_blank" href="/jquery/exercise_jq.asp" style="padding-bottom:8px">jQuery</a>
</div>
</div>
</div>
-->
<div class="sidesection codegameright ws-turquoise" style="font-size:18px;font-family: 'Source Sans Pro', sans-serif;border-radius:5px;color:#FFC0C7;padding-top:12px;margin-left:auto;margin-right:auto;max-width:230px;">
<style>
.codegameright .w3-btn:link,.codegameright .w3-btn:visited {
background-color:#04AA6D;
border-radius:5px;
}
.codegameright .w3-btn:hover,.codegameright .w3-btn:active {
background-color:#059862!important;
text-decoration:none!important;
}
</style>
<h4><a href="../codegame/index.html" class="w3-hover-text-black">CODE GAME</a></h4>
<a href="../codegame/index.html" target="_blank" class="w3-hover-opacity"><img style="max-width:100%;margin:16px 0;" src="https://www.w3schools.com/images/w3lynx_200.png" alt="Code Game" loading="lazy"></a>
<a class="w3-btn w3-block ws-black" href="../codegame/index.html" target="_blank" style="padding-top:10px;padding-bottom:10px;margin-top:12px;border-top-left-radius: 0;border-top-right-radius: 0">Play Game</a>
</div>
<!--
<div class="sidesection w3-light-grey" style="margin-left:auto;margin-right:auto;max-width:230px">
<div class="w3-container w3-dark-grey">
<h4><a href="/howto/default.asp" class="w3-hover-text-white">HOW TO</a></h4>
</div>
<div class="w3-container w3-left-align w3-padding-16">
<a href="/howto/howto_js_tabs.asp">Tabs</a><br>
<a href="/howto/howto_css_dropdown.asp">Dropdowns</a><br>
<a href="/howto/howto_js_accordion.asp">Accordions</a><br>
<a href="/howto/howto_js_sidenav.asp">Side Navigation</a><br>
<a href="/howto/howto_js_topnav.asp">Top Navigation</a><br>
<a href="/howto/howto_css_modals.asp">Modal Boxes</a><br>
<a href="/howto/howto_js_progressbar.asp">Progress Bars</a><br>
<a href="/howto/howto_css_parallax.asp">Parallax</a><br>
<a href="/howto/howto_css_login_form.asp">Login Form</a><br>
<a href="/howto/howto_html_include.asp">HTML Includes</a><br>
<a href="/howto/howto_google_maps.asp">Google Maps</a><br>
<a href="/howto/howto_js_rangeslider.asp">Range Sliders</a><br>
<a href="/howto/howto_css_tooltip.asp">Tooltips</a><br>
<a href="/howto/howto_js_slideshow.asp">Slideshow</a><br>
<a href="/howto/howto_js_sort_list.asp">Sort List</a><br>
</div>
</div>
-->
<!--
<div class="sidesection w3-round" style="margin-left:auto;margin-right:auto;max-width:230px">
<div class="w3-container ws-black" style="border-top-right-radius:5px;border-top-left-radius:5px;">
<h5><a href="/cert/default.asp" class="w3-hover-text-white">Certificates</a></h5>
</div>
<div class="w3-border" style="border-bottom-right-radius:5px;border-bottom-left-radius:5px;">
<a href="/cert/cert_html.asp" class="w3-button ws-grey w3-block w3-border-bottom" style="text-decoration:none">HTML</a>
<a href="/cert/cert_css.asp" class="w3-button ws-grey w3-block w3-border-bottom" style="text-decoration:none">CSS</a>
<a href="/cert/cert_javascript.asp" class="w3-button ws-grey w3-block w3-border-bottom" style="text-decoration:none">JavaScript</a>
<a href="/cert/cert_frontend.asp" class="w3-button ws-grey w3-block w3-border-bottom" style="text-decoration:none">Front End</a>
<a href="/cert/cert_python.asp" class="w3-button ws-grey w3-block w3-border-bottom" style="text-decoration:none">Python</a>
<a href="/cert/cert_sql.asp" class="w3-button ws-grey w3-block w3-border-bottom" style="text-decoration:none">SQL</a>
<a href="/cert/default.asp" class="w3-button ws-grey w3-block" style="text-decoration:none;">And more</a>
</div>
</div>
-->
<div id="stickypos" class="sidesection" style="text-align:center;position:sticky;top:50px;">
<div id="stickyadcontainer">
<div style="position:relative;margin:auto;">
<div id="adngin-sidebar_sticky-0"></div>
<script>
window.addEventListener('adnginLoaderReady', function() {
if (Number(w3_getStyleValue(document.getElementById("main"), "height").replace("px", "")) > 2200) {
// adspace sticky
if (document.getElementById("adngin-mid_content-0")) {
adngin.queue.push(function(){ adngin.cmd.startAuction(["sidebar_sticky", "mid_content" ]); });
}
else {
adngin.queue.push(function(){ adngin.cmd.startAuction(["sidebar_sticky"]); });