HTML 5 : covers CSS3, JavaScript, XML, XHTML, AJAX, PHP and Query
Material type:
TextPublication details: New Delhi, Dreamtech Press, 2022.Edition: 2nd EditionDescription: xl,1219pISBN: - 9789351199076
- 004.65
| Item type | Current library | Shelving location | Call number | Status | Barcode | |
|---|---|---|---|---|---|---|
Books
|
Unity College Library | Computer Science | 004.65 (Browse shelf(Opens below)) | Available | 10998 |
Table of Contents
Introduction
PART I: HTML5
Chapter 1: Overview of HTML5 and Other Web Technologies.
Section I-Internet and Web Technologies.
Internet and Web.........
Introduction to Web Technologies
HTML
JavaScript
1
2
2
3
3
CSS
XML...
XHTML
AJAX..
ASP.NET
PHP..
Web Services.
Section II-HTML5 and its Essentials.
Exploring New Features of HTML5.
New Elements
New Attributes..
Link Relations..
Microdata..
ARIA Accessibility.
Web Forms 2.0.
Multimedia
2D and 3D Drawings Support.
Offline Web Applications and Caching.
5
5
5
6
6
7
7
7
8
8
10
10
10
11
11
13
14
15
Table of Contents
CSS Enhancements..
New Selectors
Client Side Storage.....
Web Sockets..
Web Workers
Notifications
Drag and Drop API
Geolocation.
Modernizr
15
18
19
19
19
19
HTML5-Next Generation of Web Development.
Structuring an HTML Document...
20
20
20
21
Elements and Attributes.
Tags
The DOCTYPE Element.
Exploring Editors and Browsers Supported by HTML5.
Creating and Saving an HTML Document.
Validating an HTML Document.
Viewing an HTML Document..
Hosting Web Pages...
Summary......
Chapter 2: Fundamentals of HTML
In Depth......
Understanding Elements
Root Elements...
Metadata Elements.
Section Elements.
Heading Elements..
Flow Elements
Phrasing Elements.
21
22
23
23
24
26
29
30
30
31
.32
32
33
34
40
43
43
46
Embedded Elements.
Interactive Elements.
48
Describing Data Types..
49
30
Basic HTML Data Types.
50
Data Types Defined by the RFC and IANA Documentation.
51
Data Types Defined by W3C Specifications.
53
Describing Character Entities.
56
56
Understanding Horizontal Rules.
Understanding Line Breaks..
57
57
Understanding a Paragraph.
58
Understanding Citations, Quotations, and Definitions.
59
Understanding Comments.
60
Immediate Solutions
Working with Root and Metadata Elements.
60
61
Working with SCRIPT and NOSCRIPT Elements.
64
Working with Section Elements.
67
Working with HEADER and FOOTER Elements
68
Working with Headings.
70
Working with Character Entities.
71
Working with Horizontal Rules.
72
Working with Line Breaks.
73
Working with a Paragraph.....
Working with Citations, Quotations, and Definitions.
74
Working with Comments....
76
76
Summary.
Chapter 3: Working with Text.
77
In-Depth....
78
Formatting Text with HTML Elements..
78
Formatting with HTML Physical Style Elements.
78
Formatting with HTML Logical Style Elements
79
Defining the MARK Element.
92
Defining the STRONG Element.
93
Defining the CODE Element.
93
Defining the SMALL Element.
Immediate Solutions
Displaying Plain Text.
Displaying Bold Text.
94
95
95
95
Displaying Italic Text
96
Displaying Small Text...
_ 97
Displaying Subscripted Text.
98
99
99
Displaying Superscripted Text.
Displaying Abbreviations.
Displaying Program Code.
Displaying Sample Program Output.
Displaying Keyboard Text..
100
101
Emphasizing Text with the EM Element.
102
Emphasizing Text with the STRONG Element.
103
103
Defining New Terms..
Displaying the Short Quotations
104
Displaying the Long Quotations..
105
106
Displaying Inserted Text......
Displaying Deleted Text.....
107
Displaying Variables and Arguments using the VAR Element..
Overriding Text Direction using the BDO Element...
Using the MARK Element.
Creating Keyboard Shortcut..
Summary
Chapter 4: Organizing Text in HTML
In Depth
Arranging Text.
107
108
109
110
111
112
113
114
114
115
115
115
116
116
117
117
Allowing Word Breaks...
Defining the Preformatted Text.
Defining the DIV Element.
Defining the SPAN Element.....
Formatting Text in Tables....
Defining the Ruby (Captioned) Text.
Displaying Lists...
Immediate Solutions
Allowing Word Breaks Using the WBR Element.
118
Displaying the Preformatted Text
Using the DIV Element.
118
118
Positioning Text Using the DIV Element.
Using the SPAN Element...
Formatting Text Using Tables..
120
120
121
122
Creating the Ruby (Captioned) Text
Creating Lists.
Summary.
2 Chapter 5: Working with Links and URLs..
In Depth....
Exploring the Hyperlinks
123
124
128
129
130
130
The target Attribute...
130
The id Attribute.
131
Exploring the URL..
131
Structuring the URL.
131
Encoding the URL
133
Exploring the Newsgroup and Mail System..
134
Exploring Link Relations.
134
Immediate Solutions
136
Creating a Hyperlink.
136
Using the target Attribute.
137
Using the id Attribute.
138
Linking to a Mail System.
140
Implementing Link Relations
...142
Summary
144
Chapter 6: Creating Tables.
145
In Depth
146
Understanding Tables.
146
Describing the TABLE Element
147
The CAPTION Element.
147
The COLGROUP Element
147
The COL Element.
148
The TBODY Element
148
The THEAD Element.
149
The TFOOT Elemerit.
149
The TR Element.
150
The TD and TH Elements
150
Immediate Solutions
152
Creating a Simple Table..
152
Adding a Title to a Column...
153
Adding a Caption to a Table...
154
Specifying the Properties of the Columns.
156
Changing the Properties of Multiple Columns..
156
Changing the Properties of a Single Column..
-15%
Sparning Rows and Columns..
-159
Spanning Rows....
159
Spanning Columns.
161
Using Images in a Table.
-163
Creating Advanced Tables.
-164
Nesting Tables.
-166
Chapter 7: Working with Images, Colors, and Canvas.
169
Summary.
165
In Depth...........
170
Inserting Images in a Web Page...
170
Describing Different Image Formats...
171
Describing Image Maps.
172
Exploring Colors....
173
Describing Color Names.
173
Describing Hex Values.....
173
Describing the RGB Configuration...
173
Describing Web-safe Colors.
174
Introducing Canvas.
175
Immediate Solutions.
176
Displaying a GIF Image.
176
Displaying a PNG Image
176
Displaying Alternate Text for an Image..
178
Modifying the Size of an Image.......
179
Creating Image Maps
182
Using an Image as a Hyperlink....
180
Using Color Names.
184
Using Hex Values...........
185
Using the RGB Configuration.
Implementing the CANVAS Element.
Summary
Chapter 8: Working with Forms
In Depth..
Exploring the FORM Element..
Exploring Types of the INPUT Element..
Describing the text and search Type.
186
187
188
189
190
190
191
192
Describing the tel Type.
192
Describing the url Type..
192
Describing the email Type....
192
Describing the password Type.
192
Describing the datetime-local Type.
193
Describing the datetime, date, month, week, and time Types.
193
Describing the number and range Types.....
193
Describing the file Type.
194
Describing the hidden Type.
194
Describing the checkbox Type
194
Describing the radio Type.
195
Describing the submit Type..
Describing the reset Type....
Exploring the BUTTON Element..
Exploring the Multiple-Choice Elements
195
195
196
197
The SELECT Element
The OPTION Element.
The OPTGROUP Element.
197
197
198
Exploring the TEXTAREA and LABEL Elements..
Exploring the FIELDSET and LEGEND Elements.
198
199
Describing the DATALIST Element
Describing the KEYGEN Element..
Describing the OUTPUT Element..
Describing the PROGRESS Element.
200
200
201
.202
Describing the METER Element.....
Submitting a Form.....
The enctype Attribute..
202
203
203
xii
Cape Link
A
S
D
F
SAN
Z
X
C
A
2
1
Q
W
E
R
The action Attribute
The method Attribute.
Immediate Solutions
20
20%
206
Creating a Form
Working with the INPUT Element..
Working with a Text Field..
Working with a Password Field.
-210
Creating a Hidden Field.
214
Creating a Checkbox Field.
-215
Creating a Radio Button Field.
216
Creating a Submit Button Field.
217
Creating a Reset Button Field.
217
Using the SELECT and OPTION Elements.
218
Using the OPTGROUP Element..
219
Working with the TEXTAREA Element
220
Using the FIELDSET and LEGEND Elements
221
Using the BUTTON Element..
222
Using the DATALIST Element..
224
Using the KEYGEN element.
225
Using the OUTPUT Element.
220
Using the PROGRESS Element.
229
Using the METER Element...
230
Using the enctype, action, and method Attributes.
Summary.
231
232
Chapter 9: Interactive Elements.
In Depth
The DETAILS and SUMMARY Elements.
The MENU Element
The COMMAND Element.
233
234
234
234
235
The KBD Element....
The TIME Element.
Immediate Solutions
235
23%
237
Using the DETAILS and SUMMARY Elements.
Using the COMMAND Element...
Using the MENU Element.
237
238
240
Using the KBD Element.
Using the TIME Element.
Summary
241
242
Chapter 10: Working with Multimedia
21
In Depth
244
245
246
Exploring Audio and Video File Formats.
246
Describing the Multimedia Elements...
249
Defining a Multimedia File Using the EMBED Element.
250
Defining a Multimedia File Using the OBJECT Element.
Exploring the FIGURE and FIGCAPTION Elements.
.251
252
Immediate Solutions......
253
Setting the Background Sound Using the AUDIO Element.
Using the VIDEO Element....
253
254
Embedding an Audio File Using the EMBED Element
256
Embedding a Video File Using the EMBED Element.
257
Embedding a Video File from Other Websites
258
Adding Multimedia Files Using the OBJECT Element.
259
Initializing an Object Using the PARAM Element
261
Using the FIGURE and FIGCAPTION Elements.....
263
Summary
264
PART II: DYNAMIC HTML
Chapter 11: Overview of JavaScript...
265
In Depth....
266
Exploring the Features of JavaScript
266
Using JavaScript in an HTML Document..
267
JavaScript in the HEAD Element.
268
JavaScript in the BODY Element.
268
JavaScript in an External File...
268
Exploring Programming Fundamentals of JavaScript..
Exploring the Lexical Structure of JavaScript
269
269
Exploring Variables......
275
Exploring Operators.
275
Exploring Control Flow Statements.
280
Exploring Popup Boxes..
284
PC
W
E
R
A
D
C
X
Z
285
Immediate Solutions
Incorporating JavaScript in the Head Element
285
Incorporating JavaScript in the Body Element
Using an External JavaScript File.
285
2
Using Variables,
2
Using Operators
290
Using the if Statement.
291
Using the if...else Statement.
292
Using the switch Statement.
294
Using the while Loop.
295
Using the do... while Loop.
296
Using the for Loop
298
Using the break Statement.
299
Using the continue Statement.
300
Using the alert Box..
301
Using the confirm Box..
312
Using the prompt Box....
303
Summary.
304
Chapter 12: JavaScript Functions, Events, Image Maps, and Animations.
305
In Depth
306
Exploring Functions.
306
Defining and Invoking a Function...
307
Defining Function arguments
308
Defining a Return Statement.
308
Defining Function Scope and Closures
309
Calling Functions with Timer...
309
Exploring Events..
310
Exploring Image Maps.
313
Exploring Animations.
Immediate Solutions..............
313
Working with Functions.
315
Creating a Function with Parameters..
315
Using Function Arguments.
316
Using a Return Statement.
317
Using Function Scope and Closures.
318
319
Working with the setTimeout() Method.
Working with the setInterval() Method.
Working with the onclick Event.
Working with the onload Event.
Working with the Mouse Events
Working with the onreset Event.
320
321
322
324
325
327
Working with the onsubmit Event.
Werking with Image Maps.
Working with Animations.
Summary
Chapter 13: JavaScript Objects.
In Depth
Exploring Objects in JavaScript.
Properties of an Object.
Methods of an Object..
Exploring the Standard/Built-in JavaScript Objects..
The String Object
The RegExp Object.
328
330
332
334
335
336
336
337
338
338
339
341
The Boolean Object.
344
The Number Object
345
The Array Object
346
The Math Object.
348
The Date Object
349
Immediate Solutions.
352
Working with Templates of an Object.
352
Working with the String Object..
354
Working with the Boolean Object.
358
Working with the Number Object.
358
Working with the Array Object
359
Working with the Date Object
Working with the Math Object.
Summary.
360
361
362
Contente
Chapter 14: Working with Browser Objects.
In Depth
Understanding the Window Object
Window Object Collection.
Window Object Properties.
Window Object Methods.
Understanding the Navigator Object
Navigator Object Collections
Navigator Object Properties.
Navigator Object Methods.
Understanding the History Object
History Object Properties.
History Object Methods
Understanding the Screen Object
Understanding the Location Object
Location Object Properties
363
364
364
365
365
167
368
364
368
369
369
370
370
371
Location Object Methods.
Immediate Solutions
Working with the Window Object Properties.
372
373
Working with the Window Object Methods.
373
Working with the Navigator Object Properties
374
376
378
Working with the Navigator Object Methods.
Working with the History Object
379
Working with the Screen Object
381
Working with the Location Object
382
Summary
386
Chapter 15: Working with Document Object.
In Depth...
Describing the Document Object
387
388
Exploring Document Object Collections.
Exploring Document Object Properties.
Exploring Document Object Methods
Exploring Cookies
Creating and Storing Cookies,
Reading Cookies
389
369
390
391
392
Table of Contents
Immediate Solutions
393
Working with Document Object Collection.
393
Working with Document Object Properties.
394
Working with Document Object Methods.
Using the Document Object with Forms.
Creating Cookies.
Deleting Cookies.
Summary
395
396
398
401
404
Chapter 16: Document Object Model.
405
In Depth
406
Understanding DOM Nodes.
406
Understanding DOM Levels
409
DOM Level 1
410
DOM Level 2
410
DOM Level 3.
411
Understanding DOM Interfaces.
411
The DOMException Interface.
412
The DOMImplementation Interface.
412
The Document Fragment Interface.
413
The Node Interface.
413
The NodeList Interface.
415
The Named NodeMap Interface.
415
The CharacterData Interface.
415
The Document Interface.
416
The Element Interface.
416
The Attr Interface:
417
The Test Interface
417
The Comment Interface.
415
Immediate Solutions.
419
Verifying the Type of the Node.
419
Verifying the Child Nodes of a Node.
420
Changing the Text of an Element
423
424
Summary
Chapter 17: Validation, Errors, Debugging, Exception Handling, and Security
425
In Depth
Introducing Form Validation.
Exploring Errors in JavaScript.
Describing Syntax Errors...
Describing Runtime Errors.
426
426
427
428
429
Describing Logic Errors
Debugging JavaScript Programs.
Using JSLint Checker...
Using Browser Sniffing..
Handling Exceptions.
The try-catch Statement.
The onerror Event.
Introducing Security in JavaScript.
The Same-Origin Policy.
430
431
431
431
432
432
433
433
433
The Signed-Script Policy...
434
Immediate Solutions
435
Validating Forms
435
Validating Required Fields.
435
Validating Numbers.
438
Validating User Name and Password..
441
Validating a Phone Number..
445
Validating Time..
447
Validating Date...
450
Validating Credit Cards.
453
Validating Zip Code..
Using Regular Expression to Validate Email Address...
Handling Exceptions.
456
458
461
Using the try-catch Statement.
Using the onerror event.
Summary
Chapter 18: Overview of CSS
In Depth
Discussing the Evolution of CSS.
Understanding the Syntax of CSS...
461
463
464
465
466
466
468
Table of Contents
Exploring CSS Selectors,
The Universal Selector.
The Type Selector
The Class Selector
The ID Selector
The Child Selector.....
The Descendant Selector
The Adjacent Sibling Selector.
The Attribute Selectors.....
The Query Selector
Inserting CSS in an HTML Document.
469
469
470
470
470
470
471
471
471
472
472
The Internal Style Sheet
472
The External Style Sheet...
473
The Inline style...
474
Defining Inheritance in CSS...
475
Immediate Solutions
477
Creating and Using a Simple External CSS File.
477
Using the Internal and Inline CSS Styles
480
Working with the querySelector() Method.
481
Working with the querySelectorAll() Method
483
Working with @import Rule.
485
Summary.
486
Chapter 19: Backgrounds and Color Gradients in CSS..
In Depth
Exploring Background of a Web Page...
.487
488
488
The background-color Property.
489
489
490
The background-image Property..
The background-repeat Property
The background-attachment Property.
The background-position Property.
The background-clip Property
The background-origin Property......
The background-size Property,
The background-quantity Property....
The background-spacing Property...
491
491
491
493
494
495
495
Table of Con
The background Property
Exploring Color Properties
The Opacity Property
The RGBA Value Format
49%
49%
501
502
502
HSL and HSLA Values Format.
503
Exploring Gradient Properties.
505
Immediate Solutions
505
Setting the Background Color.
507
Setting a Background Image.
509
Fising and Scrolling a Background Image.
Setting Multiple Background Images.
511
Using the background-clip and background-origin Properties.
512
Using Color Properties.
513
Using Gradient Properties.
518
Summary.
520
Chapter 20: Fonts and Text Styles.
In Depth
Understanding Fonts.
Exploring Font Properties in CSS.
The font-family Property.
The font-size Property...
The font-size-adjust Property.
The font-stretch Property..
The font-style Property.
The font-variant Property..
The font-weight Property.
The font Property.
Introducing Web Font.
521
522
522
523
523
524
525
525
526
526
526
527
....527
Applying CSS to Text..
Immediate Solutions
528
Working with Font Families.
531
Using Absolute Values....
531
Using Relative Values.
532
Using Percentage Values..
.533
Working with the font-size-adjust Property
534
Xx
535
Contents
Working with the font-style Property.
Working with Web Fonts.
Using the text-transform Property
Using the text-indent Property.
Using the text-decoration Property
Using the text-shadow Property.
Using the text-stroke Property.
Wrapping text...
536
537
538
538
540
541
541
543
Summary
Chapter 21: Creating Boxes and Columns Using CSS
In Depth
Exploring the Box Model.
Exploring Box Dimensions
544
545
546
546
547
Exploring Padding Properties.
548
Exploring Border Properties.
549
Exploring Margin Properties..
556
Exploring width and height Properties
557
Exploring min-width, max-width, min-height and max-height Properties.
557
Floating Boxes
557
Overflowing of Box Content..
558
Exploring Marquee Properties.
558
Rotating Boxes.......
559
Exploring the Line Box Model.
560
Exploring the Template Layout Model...
561
The display Property.
The position Property
Exploring the Multi-Column Model..
Immediate Solutions.
Working with Padding
Using the padding-top Property..
Using the padding-right Property.
561
562
563
567
567
568
569
Using the padding-left Property..
Using the padding-bottom Property.
571
571
Using the shorthand padding Property.
Working with Border Properties...
572
573
Working with Margin.
Using the margin-top Property
573
57
Using the margin-right Property
57
Using the margin-bottom Property.
579
Using margin-left Property.
58 C
Using Shorthand margin Property.
581
Working with Rounded Corners.
582
Creating Border with Images and Shadows.
581
Working with Columns.
Using the column-width and column-count Properties.
584
Using the column-gap and column-rule Properties..
587
Using the column-span and column-fill Properties.
Inserting Column and Page Breaks.
Creating Floated Boxes..
Setting Box Dimensions.
Summary
Chapter 22: Displaying, Positioning, and Floating an Element..
In Depth
Controlling the Display of an Element Using CSS.
589
590
593
594
596
597
598
598
Exploring the display Property
Exploring the visibility Property
Positioning an Element
599
599
600
Fixed Positioning.
601
Relative Positioning..
601
Absolute Positioning.
602
Floating an Element Using CSS..
.....602
Immediate Solutions.
...604
Working with the display Property...
604
Working with the visibility Property
607
Hiding an Element.
609
Setting Fixed Position of an Element..
610
Setting Relative Position of an Element..
612
Setting Absolute Position of an Element.....
613
Overlapping of Elements...
Floating an Element to the Right.
615
616
Fable of Contents
617
618
122
623
624
624
626
427
637
628
Floating an Element to the Left
Tuming-Off Float.
Summary
Chapter 23: List Styles.
In Depth.
The list-style-type Property
The list-style-image Property
The list-style-position Property...
The list-style shorthand Property.
Immediate Solutions
Using the list-style-type Property.
628
Using the list-style-image Property.
629
Using the list-style-position Property
Using the list-style shorthand Property
630
631
Creating Horizontal Lists.
Summary...
Chapter 24: Table Layouts.
In Depth
The table-layout Property.
The caption-side Property...
The border-collapse Property.
The border-spacing Property
The empty-cells Property.
Immediate Solutions......
Setting the Auto Table Layout.
Setting the Fixed Table Layout.
633
634
635
636
636
637
637
638
638
639
639
640
Specifying a Table Caption........
641
Displaying Border around Cells.
643
Specifying Border Spacing......
644
Specifying Border around Empty Cells.
646
Displaying Images in a Table
648
Applying Rounded Corners on Table Cells..
Summary.
649
652
Content
Chapter 25: Pseudo-Classes and Pseudo-Elements
In Depth
Exploring the Pseudo-Classes
Dynamic Pseudo-Classes.
The Target Pseudo-Class
The Language Pseudo-Class
Ul Element States Pseudo-Classes.
Structural Pseudo-Classes
653
654
454
653
656
656
656
The Negation Pseudo-Class
658
Exploring the Pseudo-Elements.
658
Immediate Solutions.....
660
Using Dynamic Pseudo-Classes.
660
Using the Target Pseudo-Class,
663
Using the Language Pseudo-Class
666
Using the UI Element States Pseudo-classes.
666
Using the Structural Pseudo-Classes
670
Using the Negation Pseudo-Class.
672
Using the first-line Pseudo-Element.
674
Using the first-letter Pseudo-Element
675
Using the before Pseudo-Element.
.676
Using the after Pseudo-Element.
677
Summary
678
Chapter 26: Effects, Frames, and Controls in CSS
679
In Depth
680
Exploring Different Types of Effects in CSS
680
Opacity Effects
Transition Effects.
681
Transformation Effects.
681
Animation Effects.
681
Creating Frames Using CSS..
682
Customizing Controls Using CSS.
683
Immediate Solutions
684
Changing Image Transparency with Mouse Events.
685
.685
Writing Text in a Transparent Box.
Applying the Transformation Effects..
687
xxiv
688
Table of Contents
Applying the Transition Effects.
60
Applying the Animation Effects.
Creating Frames.
Changing the Appearance of Buttons.
Changing the Appearance of Vertical Mertus.
Changing the Appearance of Horizontal Menus.
Changing the Appearance of Scroll Bars
Summary
695
703
705
708
710
712
Chapter 27: Implementing the Advanced Features of HTML5..
713
In Depth
714
714
Creating Editable Content
Checking Spelling Mistakes.
715
Exploring Custom Data Attributes
715
Exploring Microdata.
715
The itemscope Attribute..
716
The itemprop Attribute.
716
The itemref Attribute
717
The itemtype Attribute.
718
The itemid Attribute.
718
Exploring Client-Side Storage.
718
Session Storage.
719
Local Storage
719
Database Storage.
720
Exploring the Drag and Drop Feature.
721
The DragEvent and DataTransfer Interfaces.
722
The draggable and dropzone Attributes.
722
Exploring ARIA Accessibility.
723
Exploring Offline Web Applications.
724
Exploring Web Communication.
724
Geolocation API
725
Web Sockets,
725
Web Workers.
726
Exploring Cross-Document Messaging.
726
Exploring Desktop Notifications.
727
Supporting 2D and 3D Graphics.
72
Detecting HTML5 and CSS3 Features Using Modernizr.
72
Immediate Solutions..
730
Using the content Editable Attribute...
7
In
Implementing the Spell Check Attribute.
-732
Creating Custom Data Attributes
73)
Implementing Session Storage.
-73
Implementing Local Storage
73
Implementing Database Storage.....
-740
Implementing the Drag and Drop Feature.
-745
Implementing the Geolocation Feature
7
751
Implementing Web Worker.
755
Implementing Notifications
757
Creating 2D Graphics.
758
Implementing Modernizr
760
Summary.
PART III: XML
Chapter 28: Working with Basics of XML
In Depth
Exploring XML
Comparing XML with HTML
Exploring Advantages and Disadvantages of XML.
Describing the Structure of an XML Document
.761
762
762
763
761
765
Exploring XML. Declaration..
Exploring XML Elements.
Exploring XML Attributes
765
766
767
Exploring an XML Tree....
Exploring XML Comments....
Exploring XML Entity References.
Exploring XML Parsers.
Describing DTD....
Defining DTD for a Single Element.
767
768
768
768
769
770
Defining DTD for Nested Elements..
771
Defining Attributes in the DTD.....
771
Table of Contents
772
773
774
774
775
776
777
Defining Entities in the DTD.
Referencing External Entities,
Immediate Solutions
Creating an XML. Document
Defining XML Attributes
Creating an XML Tree
Working with XML Comments
Defining XML. Entity References
Working with XML Parsers,
Working with DID...
Creating Internal DTD
Summary
779
779
781
78-4
786
Chapter 29: Implementing Advanced Features of XML
In Depth
Exploring XML. Namespaces.
787
788
788
Describing the Need of Namespaces.
789
Describing the Namespace Syntax.
710
Describing the Scope of a Namespace Declaration.
790
791
Defining a Default Namespace...
Defining a Namespace with DID
792
Describing an XML Schema..
792
Understanding the Simple Type Element.
793
Understanding the Complex Type Element..
797
Describing the Data Types of Schema.
799
Using Namespaces in XML Schemas
802
Understanding XML CDATA
802
Describing Entity References.
Understanding XML Encoding.
803
803
Immediate Solutions
805
Using a Default Namespace
805
Using Multiple Namespaces.
806
Specifying a Namespace in DTD.
807
Creating an XML Schema Using Simple Type Elements.
808
Creating an XML Schema Using Complex Type Elements.
810
Working with XML Encoding.
812
Table of Contents
Using CDATA in an XML Document
BES
Specifying Namespaces in an XML Schema Document.
Chapter 30: Converting XML Documents in Other Formats.......
819
Summary
In Depth
820
Exploring the DOM Parser.
Exploring the SAX Parser
21
Exploring JAXP
822
Exploring the XSLT Processor...
第21
Exploring XSL-FO...
Areas..
Documents
Lists and Tables
Immediate Solutions..
Parsing XML. Documents Using DOM Parser..
Parsing XML. Documents Using the SAX Parser.
821
824
8826
822
829
829
831
Parsing XML Documents Using JAXP.
ER
Parsing XML Documents Using the XSLT Processor..
Summary...
838
842
Chapter 31: Working with XSLT.......
843
In Depth
-844
Exploring XSLT Elements and Attributes
844
The xsl:template Element.
847
The xsl:apply-templates Element..
848
The xshimport Element...
The xsl:call-template Element.
The xsl:include Element.
849
849
850
The xsl:element Element...
850
The xsl:attribute Element..
The xsl:attribute-set Element..
851
The xsl:value-of Element..
851
Exploring Variables and Parameters......
852
Exploring Conditional Statements...
852
Sorting Elements....
853
855
Table of Contents
Exploring XSLT Functions.
856
Exploring NaN Values and Patterns.
859
Immediate Solutions.
861
Transforming an XML Document.
861
Using the xsl template and xskapply-templates Elements,
863
Using XSLT Functions.
865
Specifying Conditions Using the xsl:if Element.
871
Specifying Multiple Conditions.
873
874
Sorting Elements.
Declaring Parameters.
875
Using a NaN Value
877
Summary..
878
Chapter 32: Working with XPath, XLink, and XPointer
879
In Depth....
880
Exploring the XPath Language.
880
Functionality of the XPath Language.
881
XPath Functions.
883
Exploring the XLink Language.
885
Exploring the XPointer Language.
886
XPointer Syntax...
887
XPointer Functions
887
Immediate Solutions......
888
Implementing XPath Using the count() Function.
888
Implementing XPath Using the last() Function.
890
Implementing XPath Using local-name(), name(), and namespace-uri() Functions.
891
Implementing XPath Using the ceiling() Function.
893
Implementing XPath Using the floor() Function.
895
Implementing XPath Using the number() Function.
896
Implementing XPath Using the round() Function
897
Implementing XPath Using the concat() Function.
Implementing XPath Using the contains() Function.
Implementing XPath Using the normalize-space() Function.
Implementing XPath Using the starts-with() Function...
Implementing XPath Using the string-length () Function.
Implementing XPath Using the substring() Function.
898
900
901
902
903
904
Implementing XPath Using the substring-after() Function.
Implementing XPath Using the translate() Function
90%
900
Working with XLink..
806
909
Working with XPointer
910
Summary
PART IV: AJAX
911
Chapter 33: Overview of AJAX
912
In Depth...
912
Exploring Different Web Technologies.
915
Describing Problems with Technologies
916
Exploring AJAX.
917
AJAX Web Application Model.
919
How AJAX Works?.
920
Immediate Solutions
Creating a Simple AJAX Application.....
920
Displaying Date and Time without Using AJAX.
922
Displaying Date and Time using AJAX.....
923
Summary.
926
Chapter 34: Asynchronous Data Transfer with XMLHttpRequest...
927
In Depth
928
Creating the XMLHttpRequest Object.
928
XMLHttpRequest Properties.
930
XMLHttpRequest Methods.
933
Using the XMLHttpRequest Object in Different Browsers.
934
Immediate Solutions......
Reading a File Synchronously..
936
936
Reading a File Asynchronously.
Performing Tasks Using the XMLHttpRequest Object.
938
Validating an Input Field.
941
Reading Response Headers...
941
Loading List Boxes Dynamically.
.945
Summary.
948
952
953
954
954
955
956
957
Chapter 35: Implementing AJAX Frameworks.
In Depth
Describing the Prototype Framework..
Describing the Script.aculo.us Framework.
Describing the Dojo Toolkit Framework
Describing the Rico Framework.
Describing the Spry Framework..
958
Describing the DWR Framework.
958
Describing the Yahoo UI Library Framework.
959
Describing the Google Web Toolkit Framework
959
Immediate Solutions
960
Using the Prototype Framework....
960
Using the Dojo Framework..
966
Using the Rico Framework.
973
Using the Spry Framework..
980
Summary.
986
Chapter 36: Working with ASP.NET AJAX Application
In Depth.
988
988
Introducing ASP.NET AJAX Extensions.
989
Objectives of ASP.NET AJAX Extensions..
987
Architecture of ASP.NET AJAX...
ASP.NET AJAX Server Controls.
992
993
ASP.NET AJAX Control Toolkit
990
993
Configuring ASP.NET AJAX
997
997
997
999
Immediate Solutions
Differentiating between AJAX and Non-AJAX Applications.
Creating a Simple Non-AJAX Application.
Creating a Simple AJAX Application..
Using the Timer Control.
Using the Timer Control Inside the UpdatePanel Control.
1001
1001
1003
Using the Timer Control Outside the UpdatePanel Control.
1006
Using the UpdateProgress Control.
Using the UpdateProgress Control for Single UpdatePanel Control.
1008
XXX
Using the UpdateProgress Control for Multiple UpdatePanel Controls..
1006
Table of Contents
Implementing Localization with ASP.NET AJAX.
Creating Custom ASP.NET AJAX Controls.
Summary..
Chapter 37: Integrating PHP and AJAX
In Depth
Exploring the Fundamentals of PHP..
Variables.....
Strings
Arrays
Comments.
Operators
Control Structures.
Methods.
Exploring the Interaction between PHP and AJAX.
Using PHP Enabled Server.
Immediate Solutions
Using the echo Statement in PHP.
Using the if-else Statement in PHP.
Using a Loop Statement in PHP..
Using a Method in PHP.
1011
1000
1036
1037
1038
1038
1009
1039
1009
1040
10
1041
1042
1043
1044
1046
1046
1046
1047
1048
Sending Data from a Web Application to a Server
1049
Validating a Field Using AJAX and PHP.....
1051
Creating a Polling Application Using AJAX and PHP.
1054
Creating a Suggestion Application Using AJAX and PHP.
1058
Handling XML. Data using PHP and AJAX...
1061
Retrieving Data from a Database Using PHP and AJAX..
1065
Summary.
1068
Chapter 38: Consuming Web Services Using AJAX.
1069
In Depth.
1070
Exploring Web Service Protocols.
1070
SOAP...
1071
Web Service Description Language.
1073
UDDI...
1076
Table of Contents
1076
Consuming Web Services Using AJAX
Exploring New Technologies to Create Web Services..
Java API for XML based RPC
Java Architecture for XML Binding.
Java API for XML. Messaging
Java API for XML Registries.
Java API for XML Parsing
Exploring Cross Domain Web Services.
Immediate Solutions
Creating a Web Service.
Creating a Web Service Endpoint..
Creating a Home Page...
Consuming a Web Service..
Summary.
Chapter 39: Working with jQuery
1087
In Depth
REST
1088
1088
Exploring the Fundamentals of jQuery..
1078
1078
1079
1079
1079
1079
1080
1080
1081
1081
1081
1084
1085
1086
Loading and Using jQuery
1091
Using the jQuery Library File..
1091
Describing Callback Functions..
1092
Exploring jQuery Selectors.
1093
Exploring jQuery Methods to Access HTML Attributes.
1095
Exploring jQuery Methods for Traversing.
1096
Exploring jQuery Manipulators....
1097
Exploring jQuery Events...
1099
Exploring jQuery Effects...
1101
Exploring jQuery with AJAX
1102
Immediate Solutions.
Using jQuery Selectors,
1104
1104
Using jQuery Methods to Access Attributes.....
1105
Using jQuery Traversing Methods.
1107
Using jQuery Manipulators.
1108
Using jQuery Events..
1111
Creating jQuery Animation Effects.
1112
Working with AJAX and jQuery..
1118
Summary.
Chapter 40: Case Study: HTML5 Black Book Website.
1122
1123
Appendix A: Obsolete Elements and Attributes of HTML5
1125
Appendix B: Browser Compatibility of HTML5 & CSS3.
1131
Appendix C: Overview of XHTML..
1135
Glossary.
1191
Index
1211
There are no comments on this title.