P. 1
HTML,XML and Javascript

HTML,XML and Javascript

Ratings: (0)|Views: 1,571|Likes:
Published by sidneyelagib

More info:

Published by: sidneyelagib on Aug 12, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/11/2014

pdf

text

original

 
HTML, XML and JavaScript
byWilli-Hans SteebInternational School for Scientific Computingemail addresses of the author:
steeb_wh@yahoo.comWilli-Hans.Steeb@fhso.chwhs@na.rau.ac.za
 
Contents
1 HTML 1
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 HTML Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.3 Main Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41.4 Linking to other Documents . . . . . . . . . . . . . . . . . . . . . . . 81.5 Forms and CGI Programming . . . . . . . . . . . . . . . . . . . . . . 91.6 Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141.7 HTML Sound Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151.8 Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171.9 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181.10 Applets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2 XML 25
2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252.2 Schema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322.3 Document Type Denition . . . . . . . . . . . . . . . . . . . . . . . . 342.4 Displaying XML using Data Binding . . . . . . . . . . . . . . . . . . 362.5 Displaying XML Using XSL . . . . . . . . . . . . . . . . . . . . . . . 382.6 Using org.w3c.dom.* . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
3 JavaScript 47
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473.2 Document Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493.3 Window Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513.4 Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 523.5 Special Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . 543.6 Arithmetic Operations . . . . . . . . . . . . . . . . . . . . . . . . . . 563.7 Comparison Operators . . . . . . . . . . . . . . . . . . . . . . . . . . 573.8 Bitwise Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 583.9 Program Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 603.10 Recursion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.11 Other JavaScript Constructs . . . . . . . . . . . . . . . . . . . . . . . 673.12 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683.13 Creating New Objects . . . . . . . . . . . . . . . . . . . . . . . . . . 703.14 Predened Core Objects . . . . . . . . . . . . . . . . . . . . . . . . . 71i
 
3.15 Object object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 783.16 Date Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 823.17 Regular Expression . . . . . . . . . . . . . . . . . . . . . . . . . . . . 843.18 Prompts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 883.19 Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 893.20 Java Applets and JavaScript . . . . . . . . . . . . . . . . . . . . . . . 953.21 JavaScript and XML . . . . . . . . . . . . . . . . . . . . . . . . . . . 973.22 Loading a js-le . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
4 Resources and Web Sites 101Bibliography 103Index 103
ii

Activity (40)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
adddata liked this
Sohaib Anwar liked this
pmindramsc liked this
Greg Kawere liked this
Greg Kawere liked this
Alex1315 liked this
Kaashan Hussain liked this
Ramanje Sir liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->