News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Derick Rethans's Blog:
HTML name attribute deprecated
October 23, 2007 @ 12:52:00

Derick Rethans has pointed out a "gotcha" that was passed along to him (somewhat incorrectly) about the "name" attribute being deprecated in XHTML 1.0.

Just now somebody on IRC was claiming that the "name" attribute in HTML - the one that is used to give form input fields a name to be used in $_GET and _$POST in PHP is in fact deprecated. [...] But if you read correctly, it's only for the elements: a, applet, form, frame, iframe, img, and map.

For the official information, check out the section of the new spec dealing with this transition.

0 comments voice your opinion now!
name attribute xhtml deprecated element name attribute xhtml deprecated element


blog comments powered by Disqus

Similar Posts

WebDevLogs.com: Which way to get the PHP self script name is the fastest?

Sameer Borate's Blog: Adding HTML5 'Canvas' element to Wordpress

David Coallier's Blog: Namespaces part 4.1 (What namespaces don't fix (part 1))

PHP in Action: Get links with XPath

Debuggable Blog: Make your life easier with these five CakePHP Quicktips


Community Events





Don't see your event here?
Let us know!


version interview library series security artisanfiles symfony language release laravel conference opinion tool framework list community composer introduction voicesoftheelephpant podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework