Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Web Programming with HTML, XHTML, and CSS This forum is for discussing Jon Duckett's book Beginning Web Programming with HTML, XHTML, and CSS.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Web Programming with HTML, XHTML, and CSS section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 1st, 2004, 10:41 PM
Registered User
 
Join Date: Nov 2004
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Deprecated attributes

I'm new to this forum and to writing web pages. I've enjoyed the book so far. It appears to be well organized and gives a nice overview of where web programming has been and where it is going. I am hoping to build my site using Strict XHTML but have run into some confusion about deprecated attributes.

For example, the name attribute is marked as deprecated. I'm currently in chapter six, however, and there is a lot of discussion about name/value pairs. It's not clear whether someone writing Strict XHTML should be using id/value pairs instead.

A more general question: If an attribute has been deprecated, is it deprecated for all elements that it is associated with?

Reply With Quote
  #2 (permalink)  
Old December 2nd, 2004, 06:32 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

> A more general question: If an attribute has been deprecated, is it deprecated for all elements that it is associated with?

No, certainly not.

The name attribute is deprecated for most elements, with the exception of form input elements. The easiest way to find out if something is allowed or not is to look at a document type definition for XHTML strict.

http://www.w3.org/TR/xhtml1/#a_dtd_XHTML-1.0-Strict

Not everything that you might expect to be deprecated really is, for instance there is still some presentational markup allowed in XHTML strict.

HTH!


Regards,
Rich

--
[http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Call-time pass-by-reference has been deprecated tusharkale Beginning PHP 0 October 9th, 2007 09:32 AM
How to handle several attributes? sebhoff XSLT 2 March 20th, 2007 02:47 AM
Chapter 17, p.568, "Style", deprecated attributes irish_songbird BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 0 October 22nd, 2006 08:41 PM
import org.xml.sax is deprecated sax XML 1 November 17th, 2003 07:35 AM
GenericDataSource Deprecated lizethfc JSP Basics 0 June 5th, 2003 11:08 AM



All times are GMT -4. The time now is 11:40 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.