New course! Every coder should learn Generative AI!
Try a free lesson+ 5
What os the importance of entype attribute of form tag?
This is the full story: I was trying to create a node.js program that will verify your email and password using formidable.The method of the form was POST. I tried to debug the program without entype = multipart/form-data and I was getting an error. When I tried to do the same with the entype attribute, everything was right. So what is entype attribute of form element and what is its importance and use?
1 Answer
+ 4
It has been not answer for a while...
1. It's enctype According to my research
2. I don't know about this attribute
3. This is what I found ↓
https://www.w3schools.com/tags/att_form_enctype.asp