There are five different types of jQuery dimension methods:
getHeight()
getWidth()
getDepth()
getMaxHeight()
getMaxWidth()
The jQuery dimension methods can be used to set the height and width of an element on a webpage. These two values can either be set as pixel values or as percentages of the window size or viewport size. The main difference between these two is that pixel values will always show up at a certain size no matter what device is being viewed on whereas percentages will adjust accordingly for any device.
jQuery dimension methods are used to find out the dimensions of an element. jQuery offers a number of dimension methods with different purposes and each one has a slightly different syntax.
The length() method returns the width or height of an element, depending on which parameter it is passed. The width() method returns the width of an element, while the height() method returns the height.
Learner's Ratings
4.9
Overall Rating
91%
9%
0%
0%
0%
Reviews
A
atul Machindra raut
5
The way he is teaching is awesome. All the topics explain well. Thank you Joel sir!
A
Akshay P
4
it was good but pls also provide captions of the vedio
D
Dravinanshu Mishra
5
Excellent course.
C
Chinna
5
Explanation is good......
A
Are you Mango
5
you can make more responsive website after leraning this . It is very easy language
K
Kishor balpande
5
The way he is teaching is awesome. All the topics explain well. Thank you Joel sir!
J
Jai Kumar
5
Its is One Of the My Best Learning Course Evevr Because this is First Website Or Channel They Are free And Easy to Learn thankyou So much For this Course.
Share a personalized message with your friends.