Update article.md

This commit is contained in:
Ghost-017 2018-11-25 18:33:01 +08:00 committed by GitHub
parent 924ec1e19f
commit a3c4ef85a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,7 +91,7 @@ interface HTMLInputElement: HTMLElement {
// here go properties and methods of <input> elements // here go properties and methods of <input> elements
*!* *!*
// "DOMString" means that these properties are strings // "DOMString" means that the value of these properties are strings
*/!* */!*
attribute DOMString accept; attribute DOMString accept;
attribute DOMString alt; attribute DOMString alt;
@ -99,12 +99,12 @@ interface HTMLInputElement: HTMLElement {
attribute DOMString value; attribute DOMString value;
*!* *!*
// boolean property (true/false) // boolean value property (true/false)
attribute boolean autofocus; attribute boolean autofocus;
*/!* */!*
... ...
*!* *!*
// now the method: "void" means that that returns no value // now the method: "void" means that the method returns no value
*/!* */!*
void select(); void select();
... ...