0
点赞
收藏
分享

微信扫一扫

JavaScript:设置网站title

君之言之 2022-03-12 阅读 43
jqueryhtml



  1. 原生
    ​document.title = '标题' ​
  2. jQuery
    ​ $('title').html('title'); ​​或者
    ​ $('title').text('title'); ​


举报

相关推荐

0 条评论