0

Where can I use the "name" attribute in html

Can i use the "name" attribute in other html elements or just the input

30th May 2018, 7:57 AM
Aiden Brody
Aiden Brody - avatar
4 Respostas
0
IT CAN ONLY BE USED IN INPUT TAG. BECAUSE WHEN YOU ARE SUBMITTING FORM , DATA YOU HAD FILLED IN FORM WILL GO IN (NAME:VALUE) PAIR TO SERVER. HERE VALUE IS DATA YOU HAD ENTERED IN PARTICULAR INPUT TAG AND NAME IS name ATTRIBUTE YOU USED WITH THAT INPUT TAG.
30th May 2018, 9:15 AM
Meet Mehta
Meet Mehta - avatar
0
IT IS USELESS IN ANY OTHER TAG AS YOU ARE NOT SUBMITTING ANY VALUE.
30th May 2018, 9:19 AM
Meet Mehta
Meet Mehta - avatar
0
YES YOU CAN. I'M PROVIDING YOU LINK OF SOLOLEARN PHP FORM SECTION. https://www.sololearn.com/learn/PHP/1840/
30th May 2018, 9:32 AM
Meet Mehta
Meet Mehta - avatar
- 1
Thank you do you know if you can use php t get a elements value or is it just possible with javascript
30th May 2018, 9:24 AM
Aiden Brody
Aiden Brody - avatar