更新时间:2021-11-10 21:35:45
与< input> $ c不同$ c>标签,
< button>
可以包含其他html元素作为其标签。 <输入类型=按钮>
只能接受字符串作为其标签文本(不支持CSS样式)。
Unlike <input>
tags, <button>
's can contain other html elements as their labels. <input type="button">
can only accept a string as its label text (css styles not withstanding).
此外,< button>
元素接受有关多种形式和单击操作的各种罕见但有用的属性。 有关详细信息,请参见MDN页面。
Additionally, the <button>
element accepts a wide range of uncommon but useful attributes regarding multiple forms and click actions. See the MDN page for more details.
对于另一个活着的另一个,HTML标准是向后兼容的。人类会将人类带入火星,然后再将其从HTML标准中删除。
As for one "out living" the other, the HTML standard is remarkably backwards compatible. Humanity will put men on Mars before either is eliminated from the HTML standard.