خرید بک لینک

Vote count: 0

So, I've read recently some posts about HTML5 best practices and all of them have the following practice:

"Use id attribute instead of name attribute"

Is that right? I mean, how am I going to handle forms in PHP, for example, if not by inputs' name attribute?

asked 6 mins ago

1 Answer

Vote count: 0

Look here for reference:

Difference between id and name attributes in HTML

https://teamtreehouse.com/community/what-is-the-difference-between-id-and-name-attributes-in-form-elements

Long story short, ID is not meant for naming form elements.

answered 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 20 خرداد 1395 ساعت: 2:44

صفحه بندی