HTML中添加meta元数据内容
let head = document.getElementsByTagName(‘head‘); let meta = document.createElement(‘meta‘); meta.content = "dddddddddddddddddddddddddd"; head[0].appendChild(meta)
2022-10-09 12:24:34
let head = document.getElementsByTagName(‘head‘); let meta = document.createElement(‘meta‘); meta.content = "dddddddddddddddddddddddddd"; head[0].appendChild(meta)