js怎么取出页面a标签的href值 1、接着,完成上述步骤后,在index.html的script标记中,输入js代码:$(body).append($(a).attr(href));,如下图所示。最后,完成上述步骤后,浏览器运行index...