Essential XHTML fast: Creating Dynamic Web Sites with XHTML and JavaScript / Edition 1

Essential XHTML fast: Creating Dynamic Web Sites with XHTML and JavaScript / Edition 1

by John Cowell
     
 

ISBN-10: 1852336846

ISBN-13: 9781852336844

Pub. Date: 01/31/2003

Publisher: Springer London

XHTML is a flexible XML based markup language for designing Web sites. In January 2000, the W3C announced that it was supporting the development of XHTML as a replacement to HTML. HTML will continue to be around for a while, but if you want to develop Web sites for the future you need to switch to XHTML. Designers who make the change find that they can develop

…  See more details below

Overview

XHTML is a flexible XML based markup language for designing Web sites. In January 2000, the W3C announced that it was supporting the development of XHTML as a replacement to HTML. HTML will continue to be around for a while, but if you want to develop Web sites for the future you need to switch to XHTML. Designers who make the change find that they can develop faster, better sites using XHTML. Most Web sites are interactive, responding to the viewer. To do this you need to use a scripting language - JavaScript is the most popular scripting language and interfaces easily with XHTML. To develop powerful interactive Web sites you need to understand these technologies and how they work together. Essential XHTML fast gives you everything you need to develop great Web sites in XHTML, including an introduction to scripting with JavaScript so that you can create dynamic interactive Web pages. There are many step-by-step examples, which you can download from the series Web site. It covers key aspects such as: The relationship between XML and XHTML Cascading Style sheets for formatting layout Using text, images and image maps as links Creating and using tables The new standard for frames Interactive XHTML forms The JavaScript language Incorporating JavaScript into XHTML pages Handling events in JavaScript The source code for the examples in this book is available at the Essential series web site http://www.essential-series.com

Read More

Product Details

ISBN-13:
9781852336844
Publisher:
Springer London
Publication date:
01/31/2003
Series:
Essential Series
Edition description:
Softcover reprint of the original 1st ed. 2003
Pages:
246
Product dimensions:
0.55(w) x 6.14(h) x 9.21(d)

Table of Contents

1. Why Do I Need XHTML?.- Why switch to XHTML?.- What do I need?.- Is this book for you?.- How to use this book.- Don’t type!.- 2. XML And XHTML.- HTML versions.- What is XML?.- What is XHTML?.- Tags, elements and attributes.- XML rules.- What is JavaScript?.- Getting started.- 3. Creating XHTML Documents.- Starting an XHTML document.- The XML statement.- The DOCTYPE statement.- The namespace declaration.- Combining namespaces.- The html element.- White space.- The head element.- The title element.- The meta element.- The base element.- The body element.- Validating the document.- The p element.- Other paragraph types.- 4. Formatting Documents.- Headings.- Line breaks.- Inserting lines.- Colours and Fonts.- Setting the background colour.- Setting the text colour.- Setting the font.- Lists.- Nesting lists.- Definition lists.- 5. Creating Links.- What is a URL?.- The prool identifier.- The Web server.- The folder and filename.- The a element.- Absolute and relative URLs.- Absolute URLs.- Relative URLs.- Server relative URLs.- Links within a document.- Email links.- 6. Creating And Using Tables.- Creating tables.- Formatting tables.- Formatting cells.- The align and valign attributes.- The colspan and rowspan attributes.- Grouping table elements.- The colgroup element.- Style sheets.- 7. Working With Images.- Image Formats.- GIF files.- JPEG files.- PNG files.- Which format should I use?.- Minimizing file size.- Displaying images.- Linking from an image.- Image maps.- Defining Rectangles.- Defining Circles.- Defining Polygons.- Defining the default region.- Activating the map.- Client and Server side maps.- 8. Cascading Style Sheets.- Types of style sheets.- Embedding a style sheet.- Style sheet codes.- Linking to a style sheet.- Applying styles to more than one element.- In-line formatting.- Classes and IDs.- Creating and using IDs.- Creating and using classes.- Creating a style sheet.- Font properties.- Font characteristics.- Text properties.- The margin property.- Colour properties.- Box properties.- Changing anchor colours.- Positioning attributes.- Using layers.- Media types properties.- Changing the background.- Conflicting properties.- 9. Creating And Using Frames.- Types of frames.- Creating fixed frames.- Controlling frame size.- Creating more complex framesets.- Preventing frame resizing.- Formatting.- Scrollbars.- Frame borders.- Frame margins.- Navigation.- Special targets.- Browsers which do not support frames.- Legal problems.- In-line frames.- 10. CREATING FORMS.- Creating and using forms.- The form element.- What is sent to the server?.- Controls.- The input element.- Text field controls.- Password controls.- Checkbox controls.- Radio button controls.- File input controls.- Buttons.- The button element.- The textarea element.- List controls.- Grouping controls.- Disabling controls.- The PC buyer document.- Processing forms.- The form element.- The method attribute.- The action attribute.- Using email to process a form.- Setting the form element.- Creating the template document.- 11. Javascript and XHTML.- Java and JavaScript.- Using Java applets.- Using JavaScript.- The type attribute.- The src attribute.- The CDATA Section.- JavaScript data types.- Identifiers.- Numbers.- Integer literals.- Floating point literals.- Octal and hexadecimal literals.- Arithmetic operators.- Increment & decrement.- Shortcut operators.- Strings.- Escape sequences.- Working with strings.- Booleans.- Functions.- write and writeln.- Passing more than one value.- Scope of variables.- Declaring variables.- What’s next?.- 12. THe Javascript Language.- JavaScript errors.- Formatting JavaScript code.- Comments.- Case sensitivity.- Compound Statements.- The ifstatement.- The else clause.- The elseifclause.- The comparison operators.- The logical operators.- The && operator.- The— operator.- The ! operator.- The switch construct.- Looping.- while loops.- do..while loops.- for loops.- for..in and with statements.- Labels.- The break statement.- The continue statement.- 13. Javascript Core Objects.- The navigator object.- Important JavaScript objects.- The Date object.- The Array object.- The for..in construct.- The with construct.- The String object.- The Math object.- 14. Handling Events.- The mouse events.- The keyboard events.- The document and window events.- The form events.- Verifying form data.- The focus events.- 15. Deprecated and Valid Elements.- Deprecated elements.- Current XHTML elements.- 16. INDEX.

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >