Element selector ("element")

Element Selector (“element”)

element selector

Description: Selects all elements with the given tag name.

  • version added: 1.0jQuery( "element" )

    element: An element to search for. Refers to the tagName of DOM nodes.

JavaScript's getElementsByTagName() function is called to return the appropriate elements when this expression is used.

Example:

Finds ever