The “offsetWidth” property, the “clientWidth“ property or the “getBoundingClientRect()” method can be opted for getting the width of an element in JavaScript.
確定! 回上一頁