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

Paperback (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $18.99
Usually ships in 1-2 business days
(Save 72%)
Other sellers (Paperback)
  • All (9) from $18.99   
  • New (6) from $43.38   
  • Used (3) from $18.99   


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

Read More Show Less

Product Details

  • ISBN-13: 9781852336844
  • Publisher: Springer London
  • Publication date: 1/31/2003
  • Series: Essential Series
  • Edition description: Softcover reprint of the original 1st ed. 2003
  • Edition number: 1
  • 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.- 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 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 Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)