The difference between jQuery Dimension Methods and other methods is that it provides a way to measure the size of an element in pixels, ems, or percentages.
The dimensions of an element can be retrieved using the following methods:
- height() - Returns the height of the element in pixels.
- width() - Returns the width of the element in pixels.
Share a personalized message with your friends.