This function of VML is very useful. Templates, as the name suggests, can reduce the amount of code written and improve the readability of the code. When understanding VML templates, you can understand them the same as CSS in HTML. It is a defined shape. You can just declare the type attribute directly the next time you use it. Take a look at the following example:
After defining the above template, you can directly Called:
Don’t know Have you noticed that the use of "," in VML is not mandatory. You can use coordsize="6,6" or coordsize="6 6", the effect is the same.