Example - Getting the class name. In this example, we are using the .className property to get the class names of the paragraph element having id = "p1".
確定! 回上一頁