HTML 5 Black Book, Covers CSS 3, JavaScript, XML, XHTML, AJAX, PHP and jQuery, 2ed

DT Editorial Services

ISBN: 9789351199076

1260 pages

INR 899


HTML5 Black Book is the one-time reference book, written from the Web professional’s point of view, containing hundreds of examples and covering nearly every aspect of HTML5. It will help you to master various Web technologies, other than HTML5, including CSS3, JavaScript, XML and AJAX. If you are a Web designer or developer, then this book is your introduction to new features and elements of HTML5, including audio and video media elements, the canvas element for drawing, and many others.

Chapter 1: Overview of HTML5 and Other Web Technologies

Section I – Internet and Web Technologies

Internet and Web

Introduction to Web Technologies

Section II – HTML5 and its Essentials

Exploring New Features of HTML5

HTML5- Next Generation of Web Development

Structuring an HTML Document

Exploring Editors and Browsers Supported by HTML5

Creating and Saving an HTML Document

Validating an HTML Document

Viewing an HTML Document

Hosting Web Pages


Chapter 2: Fundamentals of HTML

In Depth

Understanding Elements

Describing Data Types

Describing Character Entities

Understanding Horizontal Rules

Understanding Line Breaks

Understanding a Paragraph

Understanding Citations, Quotations and Definitions

Understanding Comments


Immediate Solutions

Working with Root and Metadata Elements

Working with SCRIPT and NOSCRIPT Elements

Working with Section Elements

Working with HEADER and FOOTER Elements

Working with Headings

Working with Character Entities

Working with Horizontal Rules

Working with Line Breaks

Working with a Paragraph

Working with Citations, Quotations and Definitions

Working with Comments


Chapter 3: Working with Text


Formatting Text with HTML Elements

Defining the MARK Element

Defining the STRONG Element

Defining the CODE Element

Defining the SMALL Element


Immediate Solutions

Displaying Plain Text

Displaying Bold Text

Displaying Italic Text

Displaying Small Text

Displaying Subscripted Text

Displaying Superscripted Text

Displaying Abbreviations

Displaying Program Code

Displaying Sample Program Output

Displaying Keyboard Text

Emphasizing Text with the EM Element

Emphasizing Text with the STRONG Element

Defining New Terms

Displaying Inserted Text

Displaying Deleted Text

Displaying Variables and Arguments using the VAR Element

Overriding Text Direction using the BDO Element

Using the MARK Element

Creating Keyboard Shortcut


Chapter 4: Organizing Text in HTML

In Depth

Arranging Text

Displaying Lists


Immediate Solutions

Allowing Word Breaks Using the WBR Element

Displaying the Preformatted Text

Using the DIV Element

Positioning Text Using the DIV Element

Using the SPAN Element

Formatting Text Using Tables

Creating the Ruby (Captioned) Text

Creating Lists


Chapter 5: Working with Links and URLs

In Depth

Exploring the Hyperlinks

Exploring the URL

Exploring the Newsgroup and Mail System

Exploring Link Relations


Immediate Solutions

Creating a Hyperlink

Linking to a Mail System

Implementing Link Relations


Chapter 6: Creating Tables

In Depth

Understanding Tables

Describing the TABLE Element


Immediate Solutions

Creating a Simple Table

Adding a Title to a Column

Adding a Caption to a Table

Specifying the Properties of the Columns

Spanning Rows and Columns

Using Images in a Table

Creating Advanced Tables

Nesting Tables


Chapter 7: Working with Images, Colors and Canvas

In Depth

Inserting Images in a Web Page

Exploring Colors

Introducing Canvas


Immediate Solutions

Displaying a GIF Image

Displaying a PNG Image

Displaying Alternate Text for an Image

Modifying the Size of an Image

Using an Image as a Hyperlink

Creating Image Maps

Using Color Names

Using Hex Values

Using the RGB Configuration

Implementing the CANVAS Element


Chapter 8: Working with Forms

In Depth

Exploring the FORM Element

Exploring Types of the INPUT Element

Exploring the BUTTON Element

Exploring the Multiple-Choice Elements

Exploring the TEXTAREA and LABEL Elements

Exploring the FIELDSET and LEGEND Elements

Describing the DATALIST Element

Describing the KEYGEN Element

Describing the OUTPUT Element

Describing the PROGRESS Element

Describing the METER Element

Submitting a Form


Immediate Solutions

Creating a Form

Working with the INPUT Element

Using the SELECT and OPTION Elements

Using the OPTGROUP Element

Working with the TEXTAREA Element

Using the FIELDSET and LEGEND Elements

Using the BUTTON Element

Using the DATALIST Element

Using the KEYGEN element

Using the OUTPUT Element

Using the PROGRESS Element

Using the METER Element

Using the enctype, action and method Attributes


Chapter 9: Interactive Elements

In Depth

The DETAILS and SUMMARY Elements

The MENU Element

The COMMAND Element

The KBD Element

The TIME Element


Immediate Solutions

Using the DETAILS and SUMMARY Elements

Using the COMMAND Element

Using the MENU Element

Using the KBD Element

Using the TIME Element


Chapter 10: Working with Multimedia

In Depth

Exploring Audio and Video File Formats

Describing the Multimedia Elements

Defining a Multimedia File Using the EMBED Element

Defining a Multimedia File Using the OBJECT Element

Exploring the FIGURE and FIGCAPTION Elements


Immediate Solutions

Setting the Background Sound Using the AUDIO Element

Using the VIDEO Element

Embedding an Audio File Using the EMBED Element

Embedding a Video File Using the EMBED Element

Embedding a Video File from Other Websites

Adding Multimedia Files Using the OBJECT Element

Initializing an Object Using the PARAM Element

Using the FIGURE and FIGCAPTION Elements


Chapter 11: Overview of JavaScript

In Depth

Exploring the Features of JavaScript

Using JavaScript in an HTML Document

Exploring Programming Fundamentals of JavaScript


Immediate Solutions

Incorporating JavaScript in the Head Element

Incorporating JavaScript in the Body Element

Using an External JavaScript File

Using Variables

Using Operators

Using the if Statement

Using the ifelse Statement

Using the switch Statement

Using the while Loop

Using the dowhile Loop

Using the for Loop

Using the break Statement

Using the continue Statement

Using the alert Box

Using the confirm Box

Using the prompt Box


Chapter 12: JavaScript Functions, Events, Image Maps and Animations

In Depth

Exploring Functions

Exploring Events

Exploring Image Maps

Exploring Animations


Immediate Solutions

Working with Functions

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

Working with the onsubmit Event

Working with Image Maps

Working with Animations


Chapter 13: JavaScript Objects

In Depth

Exploring Objects in JavaScript

Exploring the Standard/Built-in JavaScript Objects


Immediate Solutions

Working with Templates of an Object

Working with the String Object

Working with the Boolean Object

Working with the Number Object

Working with the Array Object

Working with the Date Object

Working with the Math Object


Chapter 14: Working with Browser Objects

In Depth

Understanding the Window Object

Understanding the Navigator Object

Understanding the History Object

Understanding the Screen Object

Understanding the Location Object


Immediate Solutions

Working with the Window Object Properties

Working with the Window Object Methods

Working with the Navigator Object Properties

Working with the Navigator Object Methods

Working with the History Object

Working with the Screen Object

Working with the Location Object


Chapter 15: Working with Document Object

In Depth

Describing the Document Object

Exploring Cookies


Immediate Solutions

Working with Document Object Collection

Working with Document Object Properties

Working with Document Object Methods

Using the Document Object with Forms


Chapter 16: Document Object Model

In Depth

Understanding DOM Nodes

Understanding DOM Levels

Understanding DOM Interfaces


Immediate Solutions

Verifying the Type of the Node

Verifying the Child Nodes of a Node

Changing the Text of an Element


Chapter 17: Validation, Errors, Debugging, Exception Handling and Security

In Depth

Introducing Form Validation

Exploring Errors in JavaScript

Debugging JavaScript Programs

Handling Exceptions

Introducing Security in JavaScript


Immediate Solutions

Validating Forms

Using Regular Expression to Validate Email Address

Handling Exceptions


Chapter 18: Overview of CSS

In Depth

Discussing the Evolution of CSS

Understanding the Syntax of CSS

Exploring CSS Selectors

Inserting CSS in an HTML Document

Defining Inheritance in CSS


Immediate Solutions

Creating and Using a Simple External CSS File

Using the Internal and Inline CSS Styles

Working with the querySelector() Method

Working with the querySelectorAll() Method

Working with @import Rule


Chapter 19: Backgrounds and Color Gradients in CSS

In Depth

Exploring Background of a Web Page

Exploring Color Properties

Exploring Gradient Properties


Immediate Solutions

Setting the Background Color

Setting a Background Image

Fixing and Scrolling a Background Image

Setting Multiple Background Images

Using the background-clip and background-origin Properties

Using Color Properties

Using Gradient Properties


Chapter 20: Fonts and Text Styles

In Depth

Understanding Fonts

Exploring Font Properties in CSS

Introducing Web Font

Applying CSS to Text


Immediate Solutions

Working with Font Families

Using Absolute Values

Using Relative Values

Using Percentage Values

Working with the font-size-adjust Property

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


Chapter 21: Creating Boxes and Columns Using CSS

In Depth

Exploring the Box Model

Exploring the Line Box Model

Exploring the Template Layout Model

Exploring the Multi-Column Model


Immediate Solutions

Working with Padding

Working with Border Properties

Working with Margin

Working with Rounded Corners

Creating Border with Images and Shadows

Working with Columns

Creating Floated Boxes

Setting Box Dimensions


Chapter 22: Displaying, Positioning and Floating an Element

In Depth

Controlling the Display of an Element Using CSS

Positioning an Element

Floating an Element Using CSS


Immediate Solutions

Working with the display Property

Working with the visibility Property

Hiding an Element

Setting Fixed Position of an Element

Setting Relative Position of an Element

Setting Absolute Position of an Element

Overlapping of Elements

Floating an Element to the Right

Floating an Element to the Left

Turning-Off Float


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

Using the list-style-image Property

Using the list-style-position Property

Using the list-style shorthand Property

Creating Horizontal Lists


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

Specifying a Table Caption

Displaying Border around Cells

Specifying Border Spacing

Specifying Border around Empty Cells

Displaying Images in a Table

Applying Rounded Corners on Table Cells


Chapter 25: Pseudo-classes and Pseudo-elements

In Depth

Exploring the Pseudo-Classes

Exploring the Pseudo-Elements


Immediate Solutions

Using Dynamic Pseudo-Classes

Using the Target Pseudo-Class

Using the Language Pseudo-Class

Using the UI Element States Pseudo-classes

Using the Structural Pseudo-Classes

Using the Negation Pseudo-Class

Using the ::first-line Pseudo-Element

Using the ::first-letter Pseudo-Element

Using the ::before Pseudo-Element

Using the ::after Pseudo-Element


Chapter 26: Effects, Frames and Controls in CSS

In Depth

Exploring Different Types of Effects in CSS

Creating Frames Using CSS

Customizing Controls Using CSS


Immediate Solutions

Changing Image Transparency with Mouse Events

Writing Text in a Transparent Box

Applying the Transformation Effects

Applying the Transition Effects

Applying the Animation Effects

Creating Frames

Changing the Appearance of Buttons

Changing the Appearance of Vertical Menus

Changing the Appearance of Horizontal Menus

Changing the Appearance of Scroll Bars


Chapter 27: Implementing the Advanced Features of HTML5

In Depth

Creating Editable Content

Checking Spelling Mistakes

Exploring Custom Data Attributes

Exploring Microdata

Exploring Client-Side Storage

Exploring the Drag and Drop Feature

Exploring ARIA Accessibility

Exploring Offline Web Applications

Exploring Web Communication

Exploring Cross-Document Messaging

Exploring Desktop Notifications

Supporting 2D and 3D Graphics

Detecting HTML5 and CSS 3 Features Using Modernizr


Immediate Solutions

Using the contentEditable Attribute

Implementing the Spell Check Attribute

Creating Custom Data Attributes

Implementing Session Storage

Implementing Local Storage

Implementing Database Storage

Implementing the Drag and Drop Feature

Implementing the Geolocation Feature

Implementing Web Worker

Implementing Notifications

Creating 2D Graphics

Implementing Modernizr


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

Exploring XML Entity References

Exploring XML Parsers

Describing DTD


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 DTD

Creating Internal DTD


Chapter 29: Implementing Advanced Features of XML

In Depth

Exploring XML Namespaces

Describing an XML Schema

Understanding XML CDATA

Describing Entity References

Understanding XML Encoding


Immediate Solutions

Using a Default Namespace

Using Multiple Namespaces

Specifying a Namespace in DTD

Creating an XML Schema Using Simple Type Elements

Creating an XML Schema Using Complex Type Elements

Working with XML Encoding

Using CDATA in an XML Document

Specifying Namespaces in an XML Schema Document


Chapter 30: Converting XML Documents in Other Formats

In Depth

Exploring the DOM Parser

Exploring the SAX Parser

Exploring JAXP

Exploring the XSLT Processor

Exploring XSL-FO


Immediate Solutions

Parsing XML Documents Using DOM Parser

Parsing XML Documents Using the SAX Parser

Parsing XML Documents Using JAXP

Parsing XML Documents Using the XSLT Processor


Chapter 31: Working with XSLT

In Depth

Exploring XSLT Elements and Attributes

Exploring Variables and Parameters

Exploring Conditional Statements

Sorting Elements

Exploring XSLT Functions

Exploring NaN Values and Patterns


Immediate Solutions

Transforming an XML Document

Using the xsl:template and xsl:apply-templates Elements

Using XSLT Functions

Specifying Conditions Using the xsl:if Element

Specifying Multiple Conditions

Sorting Elements

Declaring Parameters

Using a NaN Value


Chapter 32: Working with XPath, XLink and XPointer

In Depth

Exploring the XPath Language

Exploring the XLink Language

Exploring the XPointer Language


Immediate Solutions

Implementing XPath Using the count() Function

Implementing XPath Using the last() Function

Implementing XPath Using local-name(), name(), and namespace-uri() Functions

Implementing XPath Using the ceiling() Function

Implementing XPath Using the floor() Function

Implementing XPath Using the number() Function

Implementing XPath Using the round() Function

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

Implementing XPath Using the substring-after() Function

Implementing XPath Using the translate() Function

Working with XLink

Working with XPointer


Chapter 33: Overview of AJAX

In Depth

Exploring Different Web Technologies

Describing Problems with Technologies

Exploring AJAX


Immediate Solutions

Creating a Simple AJAX Application

Displaying Date and Time without Using AJAX

Displaying Date and Time using AJAX


Chapter 34: Asynchronous Data Transfer with XMLHttpRequest

In Depth

Creating the XMLHttpRequest Object

Using the XMLHttpRequest Object in Different Browsers


Immediate Solutions

Reading a File Synchronously

Reading a File Asynchronously

Performing Tasks Using the XMLHttpRequest Object


Chapter 35: Implementing AJAX Frameworks

In Depth

Describing the Prototype Framework

Describing the Framework

Describing the Dojo Toolkit Framework

Describing the Rico Framework

Describing the Spry Framework

Describing the DWR Framework

Describing the Yahoo UI Library Framework

Describing the Google Web Toolkit Framework


Immediate Solutions

Using the Prototype Framework

Using the Dojo Framework

Using the Rico Framework

Using the Spry Framework


Chapter 36: Working with ASP.NET AJAX Application

In Depth

Introducing ASP.NET AJAX Extensions

Configuring ASP.NET AJAX


Immediate Solutions

Differentiating between AJAX and Non-AJAX Applications

Using the Timer Control

Using the UpdateProgress Control

Implementing Localization with ASP.NET AJAX

Creating Custom ASP.NET AJAX Controls


Chapter 37: Integrating PHP and AJAX

In Depth

Exploring the Fundamentals of PHP

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

Sending Data from a Web Application to a Server

Validating a Field Using AJAX and PHP

Creating a Polling Application Using AJAX and PHP

Creating a Suggestion Application Using AJAX and PHP

Handling XML Data using PHP and AJAX

Retrieving Data from a Database Using PHP and AJAX


Chapter 38: Consuming Web Services Using AJAX

In Depth

Exploring Web Service Protocols

Consuming Web Services Using AJAX

Exploring New Technologies to Create Web Services

Exploring Cross Domain Web Services


Immediate Solutions

Creating a Web Service

Consuming a Web Service


Chapter 39: Working with jQuer

  • Name:
  • Designation:
  • Name of Institute:
  • Email:
  • * Request from personal id will not be entertained
  • Moblie:
  • ISBN / Title:
  • ISBN:    * Please specify ISBN / Title Name clearly