Width and Height
width, height, innerWidth and outerHeight measure elements.
Example
var w = $("#box").width();
var h = $("#box").height();
var iw = $("#box").innerWidth();
var ow = $("#box").outerWidth(true);Exercise
Include padding.
$("b").Width()
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.