/

HTML / CSS / JavaScript Tutorial

JavaScript DOM HTML property: tagName

[this page | pdf | back links]

The tagName property of HTML elements within the JavaScript DOM returns the tag name of the element (i.e. the type of element that it is).

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile