Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
<head>页面加载后是否可以在使用 JavaScript 内部进行修改?例如,如果我为外部样式表添加元素,那会有效吗?或者如果我改变了<title>,那会反映吗?如果没有,有没有办法做到这一点?
<head>
<title>
绝对地。
虽然,更改标题最好用document.title = "new title here";
document.title = "new title here";