What are "tagnames" in JavaScript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What are "tagnames" in JavaScript?

5th Jan 2020, 1:48 AM
mumtahina rahman
mumtahina rahman - avatar
3 Answers
+ 2
Javascript has no tag name!
5th Jan 2020, 2:50 AM
Jahid Hasan
Jahid Hasan - avatar
+ 2
The tagName read-only property of the Element interface returns the tag name of the element on which it's called. https://developer.mozilla.org/en-US/docs/Web/API/Element/tagName https://code.sololearn.com/WsYnG8qCLqCQ/?ref=app
5th Jan 2020, 4:05 AM
Calviղ
Calviղ - avatar
+ 1
Like javascript Variable If else statement function loop object array do while Etc...
5th Jan 2020, 2:52 AM
Jahid Hasan
Jahid Hasan - avatar