From 376da6eeed886361367923824132ccfc5ac1177d Mon Sep 17 00:00:00 2001 From: Sharandeep <45589659+Sharandeep23@users.noreply.github.com> Date: Wed, 5 Jun 2024 19:15:05 +0600 Subject: [PATCH] Use standard description format (#33937) * 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 --- files/en-us/web/api/document/documentelement/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/document/documentelement/index.md b/files/en-us/web/api/document/documentelement/index.md index c616731d1940ecd..fadbfdad59e4fa7 100644 --- a/files/en-us/web/api/document/documentelement/index.md +++ b/files/en-us/web/api/document/documentelement/index.md @@ -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).