let head = document.getElementsByTagName(‘head‘); let meta = document.createElement(‘meta‘); meta.content = "dddddddddddddddddddddddddd"; head[0].appendChild(meta)
HTML中添加meta元数据内容
原文:https://www.cnblogs.com/dafei4/p/13125124.html