-->
Page 1 of 1

ESP8266 and HTML

PostPosted: Wed Apr 26, 2017 2:24 pm
by Ivanoto
Hi,
I'm new in this forum. I develope a webserver with ESP8266 and I'm in trouble with html page.

My problem is with input text label. I need to set size of field where I write 3 numbers.
This is html of it:
Code: Select allcontent += "<p><input type = \"number\" name=\"ip_1\" placeholder=\"000\" size=\"3\" maxlength=\"3\"></p>";

I don't realize how set maximum lenght to 3 and dimention size of field.

Somebody can help me ?
Thanks,