Section 18.2.1 of the W3C HTML 4.01 Specification <http://www.w3.org/TR/html4/interact/scripts.html> also provides that the "type" attribute should be used to perform the function previously carried out by the <script> element's "language" attribute.
Elliot Elliot Chabot, esq. Chief for Web Design and Standards Compliance CAO Web Solutions Branch U.S. House of Representatives H2-646 Ford House Office Building Washington, DC 20515-6165 (202) 226-6456 How am I doing <http://housenet.house.gov/keywords/survey/web> ? For general Web site questions, you may also call the Web Assistance Hotline at (202) 226-2140 or e-mail to webassista...@mail.house.gov and your concern will be directed to the appropriate staff person. From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Kevin Ireson Sent: Tuesday, July 14, 2009 9:09 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] JavaScript Language Clarifying within HTML Brett, The language attribute of the script element was deprecated some time ago. http://www.w3.org/TR/REC-html40/interact/scripts.html#h-18.2.1 <http://www.w3.org/TR/REC-html40/interact/scripts.html> http://www.w3.org/TR/xhtml1/#h-4.8 <http://www.w3.org/TR/xhtml1/> However, other might know a bit more about this. Kevin Ireson Work in progress includes: http://www.york-united-kingdom.co.uk http://www.hotels-london-hotels.com http://www.hotels-edinburgh-scotland-hotels.com From: Brett Patterson <mailto:inspiron.patters...@gmail.com> Sent: Tuesday, July 14, 2009 1:23 PM To: wsg@webstandardsgroup.org Subject: [WSG] JavaScript Language Clarifying within HTML I am not sure about the most recent standards regarding the "language" attribute of the SCRIPT tag within an HTML page, so I would like to know if it is still recommended to use the "language" attribute within the SCRIPT tag? And what version, if it is recommended to use that attribute, would one specify to have the most in both backwards and forwards compatibility? -- Brett P. ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ******************************************************************* ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *******************************************************************