jQuery Intro

jQuery Intro Quiz

jQuery Intro Exercise

jQuery Basic

jQuery Basic Quiz

jQuery Basic Exercise

jQuery Advance

jQuery Advance Quiz

jQuery Advance Exercise

jQuery Selectors

jQuery Effects

jQuery Events

jQuery Methods and Properties

jQuery Traversing

jQuery CSS and HTML Methods

jQuery outerWidth() Method

jQuery outerWidth() Method



The outerWidth() method is used to return the outer width of the FIRST matched element. It includes both the element width, padding of its x-axis if present, and border width. If the parameter is set to true, it will also include the margin of its x-axis.




Its syntax is:- $(selector).outerWidth(includeMargin)


Further Explanation:-


Parameter Description
includeMargin Optional. A Boolean value specifying whether or not to include the margin
  • true - Includes the margin
  • false - Default. Does not include the margin

Code Explanation

All Tutorials related to jQuery CSS and HTML Methods

All Sections related to Jquery