From 6db114a326b0d2b2b2b7bd452aaebf19a66b990f Mon Sep 17 00:00:00 2001 From: bendtherules Date: Sat, 7 Nov 2020 17:20:21 +0530 Subject: [PATCH] element-properties - clarify .tagName --- docs/element-properties.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/element-properties.mdx b/docs/element-properties.mdx index bfd5c44..1132153 100644 --- a/docs/element-properties.mdx +++ b/docs/element-properties.mdx @@ -12,9 +12,9 @@ import MDN from "../components/MDNBadge" `Element.tagName: string` -This property returns the **tag name** of any element in uppercase form. This is useful to identify type of a element. +This read-only property on any element returns the **tag name** in uppercase form. This is useful to identify type of a element. -Ex. tagName of `
` element is `"DIV"`. +Ex. `.tagName` of `
` element is `"DIV"`. ```js