Skip to content

Commit

Permalink
Use standard description format (#33937)
Browse files Browse the repository at this point in the history
* Update index.md

I think 'Document' should be in lowercase because javascript is case-sensitive so 'Document.documentElement' doesn't work. It should have been 'document.documentElement'.

* Update files/en-us/web/api/document/documentelement/index.md

* Update index.md

---------

Co-authored-by: Joshua Chen <[email protected]>
  • Loading branch information
Sharandeep23 and Josh-Cena authored Jun 5, 2024
1 parent 61fd660 commit 376da6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/api/document/documentelement/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ browser-compat: api.Document.documentElement

{{ApiRef("DOM")}}

**`Document.documentElement`** returns the
The **`documentElement`** read-only property of the {{domxref("Document")}} interface returns the
{{domxref("Element")}} that is the root element of the {{domxref("document")}} (for
example, the {{HTMLElement("html")}} element for HTML documents).

Expand Down

0 comments on commit 376da6e

Please sign in to comment.