Here "div" and "p" elements would respond to click event by default
Now click event with attribute will also invoke the default function
Understanding the linkage/relation of an attribute to an element
Using div element myclassdiv.
This is a div element; jQuery uses it's id "#div1"

First Paragraph : showing jQuery

Second Paragraph: showing jQuery