append 和appendChild是两个常用的方法,用于将元素添加到文档对象 ... createElement('p'); parent.append(child); // 这会将子元素追加到div元素 ...
確定! 回上一頁