Click the button to get the tag name of the DIV's first child element.

A P element - First child in div

A Span element - Last child in div

Note: The firstElementChild property is not supported in IE8 and earlier versions.