📜  动态更改元标记 javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:23.978000             🧑  作者: Mango

代码示例1
$(document).ready(function(){
    $('title').text("Your new title tag here");
    $('meta[name=description]').attr('content', 'new Meta Description here');
});