#Javascript #Tutorial #Hindi
Link for Complete JavaScript Tutorial in Hindi for Beginners: https://www.youtube.com/playlist?list=PLjpp5kBQLNTSvHo6Rp4Ky0X8x_MabmKye
Link for Complete HTML and CSS Tutorial in Hindi for Beginners: https://www.youtube.com/playlist?list=PLjpp5kBQLNTSdLVVjU_kea8J8lP24ZseT
In this video i will talk about how to Get Width and Height of an Element in JavaScript.
The offsetWidth property returns the viewable width of an element in pixels, including padding, border and scrollbar, but not the margin.
The offsetHeight property returns the viewable height of an element in pixels, including padding, border and scrollbar, but not the margin.
The clientWidth property returns the viewable width of an element in pixels, including padding, but not the border, scrollbar or margin.
The clientHeight property returns the viewable height of an element in pixels, including padding, but not the border, scrollbar or margin.
Please subscribe to watch more videos like this: https://www.youtube.com/channel/UCWCGvAu1NDCldmLasELk62g?sub_confirmation=1
Join this channel to support Tech Gun:
https://www.youtube.com/channel/UCWCGvAu1NDCldmLasELk62g/join