Source Code:
Display dimensions of div
width() - returns the width of an element.
height() - returns the height of an element.
Result:
W3Schools.com
- Try it yourself