Zen Cart Logo
Forums / Zen Cart Code Suggestions / HTML5 deprecation of "name" attribute

HTML5 deprecation of "name" attribute

Views: 37

Results 1 to 1 of 1
26 Jun 2021, 1:08 AM
#1
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
943
Plugin Contributions:
3

HTML5 deprecation of "name" attribute

While messing around with an element on my installation, I recently came across this tidbit that the "name" attribute was being deprecated in HTML5.

My question is, is it acceptable to make a change to the various zen_draw_ functions to reflect that? Maybe insert the $name as both a "name" and "id"?

EDIT: Never mind, this was only for "<A>" tags. Not general HTML forms. Never mind.