jQuery selector for elements that have a tag name of T

$('div')

selects all elements with a tag name of div in the document

$('em')

selects all elements with a tag name of em in the document

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.