We all know that a button is defined in the web, the most common method is to use the type = 'Button' of the input element. But in HTML SPEC 4.0, an Button element is added, and IE4.0 has begun to support . As the name suggests, it is also used to define a web page button, but it is very different from . The biggest difference between Button Elements and Input Elements is that Button is a container type element that can include legitimate HTML code, through the CanhaveChildren and Canhave attributes provided by IE5.5, we can see that these two properties are True. The Input element cannot be included in a subhavechildren and canhave HTML attributes in False in the INPUT elements. In this way, we have to make a button that is very easy, for example: Sing Song button> with MNemonic Web Page Button: 转载请注明原文地址:https://www.9cbs.com/read-34347.html