The invention provides a control method for dynamic configuration of an 
HTML template. The control method comprises the following steps: 1, acquiring an 
HTML code, and replacing an attribute to be set by a template 
label; 2, establishing a configuration attribute with a 
JSON structural file according to the template 
label in the step 1; 3, loading the configuration attribute set in the step 2, cyclically reading each element, performing interface drawing and binding relevant events; 4, in the process of attribute 
configuration selection, calling a relevant method in response to events bound to corresponding elements; 5, reading the template established in the step 1, matching corresponding contents, extracting the contents, and replacing corresponding values in the saved configuration attribute. A 
system applying the method comprises a 
code acquisition unit, a 
JSON configuration attribute unit, a reading unit, an event 
proxy server and an interface generator. The control method is easy for adding, operation of 
html and js is avoided, and a user unfamiliar with codes can configure a template and an attribute conveniently.