attr () method, which returns the attribute's value for an element if it is present and returns undefined if the attribute doesn't exist. JS; HTML. JS. 1. 2.
確定! 回上一頁