The id attribute defines a unique name for the button and the text attribute assigns a label to the button. The onClick event handler specifies a named subroutine to execute.

  • id属性定义了一个唯一的名称来对应的按钮,并且text属性会分配给按钮一个标签。onClick事件处理器指定一个被命名的子程序来执行。
目录 查词历史