Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8308537

Browse files
committed
closes #2757
1 parent 2ac7526 commit 8308537

File tree

1 file changed

+4
-2
lines changed
  • 2-ui/1-document/05-basic-dom-node-properties

1 file changed

+4
-2
lines changed

‎2-ui/1-document/05-basic-dom-node-properties/article.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ The classes are:
2525
- [HTMLInputElement](https://html.spec.whatwg.org/multipage/forms.html#htmlinputelement) -- the class for `<input>` elements,
2626
- [HTMLBodyElement](https://html.spec.whatwg.org/multipage/semantics.html#htmlbodyelement) -- the class for `<body>` elements,
2727
- [HTMLAnchorElement](https://html.spec.whatwg.org/multipage/semantics.html#htmlanchorelement) -- the class for `<a>` elements,
28-
- ...and so on, each tag has its own class that may provide specific properties and methods.
28+
- ...and so on.
29+
30+
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.
2931

3032
So, the full set of properties and methods of a given node comes as the result of the inheritance.
3133

@@ -128,7 +130,7 @@ For instance:
128130
129131
```html run
130132
<body>
131-
<script>
133+
<script>
132134
let elem = document.body;
133135
134136
// let's examine what it is?

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /