Case Analysis of Common Properties of html5 form
Most people do not understand the knowledge points of this "html5 form commonly used attributes instance Analysis" article, so the editor summarizes the following contents, detailed contents, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "html5 form commonly used attributes instance Analysis" article.
Html5's new form adds a lot of common attributes to make it easier to write code, without the need for other js plug-ins, just configure the validation properties in the html code to complete form validation.
The following is the common validation html code for forms:
Page code:
Function showValue (o)
{
Document.forms ["form1"] ["sum"]. Value = o.value
}
Number:
Mailbox:
Date:
Color:
0
The above is about the "html5 form commonly used attribute instance analysis" of this article, I believe we all have a certain understanding, I hope the editor to share the content to help you, if you want to know more related knowledge, please pay attention to the industry information channel.