JavaScript Tag Name Property Tutorial

tagName Property

The tagName property returns the tag name of the element. In HTML, the returned value of the tagName property is always in UPPERCASE.

Syntax

element.tagName

Example: 1

Get the tagName of an element:

Take Your Free Live Demo Class Now

Enter Your DETAILS BELOW

To Get Complete Information or We Will Call You

We Will Send You the Course Fees Details In Below Number

Enter Your DETAILS BELOW

We Will Call Back You Shortly

Enter Your DETAILS BELOW

We Will Call Back You Shortly

Enter Your DETAILS BELOW

Enter Your DETAILS BELOW TO take

free demo class