minor fixes

This commit is contained in:
Ilya Kantor 2021-12-12 22:31:42 +03:00
parent 153fd11a85
commit a521d20055

View file

@ -27,7 +27,7 @@ The classes are:
- [HTMLAnchorElement](https://html.spec.whatwg.org/multipage/semantics.html#htmlanchorelement) -- the class for `<a>` elements,
- ...and so on.
There are many other tags with their own classes that may specific properties and methods, while some elements, such as `<span>`, `<section>`, `<article>` do not have any specific properties, so they are instances of `HTMLElement` class.
There are many other tags with their own classes that may have specific properties and methods, while some elements, such as `<span>`, `<section>`, `<article>` do not have any specific properties, so they are instances of `HTMLElement` class.
So, the full set of properties and methods of a given node comes as the result of the inheritance.