HTML DOM Title ƙanƙi

  • 上一页
  • 下一页

Title obiyi

Title obiyi ce a fika HTML <title> a yin da ce.

An fika Title obiyi

A ba ce kai kira getElementById() ce a fika <title> a yin da ce:

var x = document.getElementById("myTitle");

亲自试一试

An fika Title obiyi

A ba ce a ce kai kira <title> a yin da ce document.createElement() mace:

var x = document.createElement("TITLE");

亲自试一试

Title 对象属性

属性 描述
text 设置或返回文档标题的文本。

标准属性和事件

Title 对象支持标准属性事件

相关页面

HTML 参考手册:HTML 标签</a></p> </div> <div class="prenextnav"> <ul> <li> 上一页 <a href="/ha/jsref/dom_obj_time.html" title="HTML DOM Time ƙanƙi"><time></a></li> <li> 下一页 <a href="/ha/jsref/dom_obj_track.html" title="HTML DOM Track ƙanƙi"><track></a></li> </ul> </div><div style="background-color:#fcfdf8; padding:0;"> </div> </div> <!-- maincontent end --> <div id="sidebar"> <div><h3><center> 工具箱 </center><h3> <h5 id="tools_reference"><a href="/ha/jsref/index.html">Kita'ada a JavaScript da HTML DOM mutummin</a></h5> <h5 id="tools_example"><a href="/ha/js/js_examples.html">JavaScript 实例</a></h5> <h5 id="tools_quiz"><a href="/ha/js/js_quiz.html">JavaScript 测验</a></h5> <h5 id="tools_tutorial"><a href="/ha/js/index.html">JavaScript 教程</a></h5> </div> <div><h3><center> 赞助商链接 </center><h3> <div id="sbtg"> <script src="/myjs/zzsr.js"></script> </div> </div> </div> <div id="footer"> <p id="p1"> CodeW3C.com 提供的内容仅用于培训和测试,不保证内容的正确性。通过使用本站内容随之而来的风险与本站无关。版权所有,保留一切权利。 </p> <p id="p2"> <a href="/ha/about/index.html" title="Hanyan CodeW3C.com">Hanyan CodeW3C.com</a> <a href="/ha/about/about_helping.html" title="Yanar CodeW3C.com">Yanar CodeW3C.com</a> <a href="/ha/about/about_use.html" title="Hanyan ƙa ƙa ƙa">Kwarin yanar</a> <a href="/ha/about/about_privacy.html" title="Hanyan ƙarantawa">Kwarin ƙarantawa</a> <a href="http://www.comfortsoftwaregroup.com/" target="_blank"><img src="/comfortsoftwaregroup.png"></a> <a href="http://www.ce4e.com/" target="_blank"><img src="/poweredby.png" alt="Ana da Ce4e.com"></a> </p> </div> </div> <!-- wrapper end --> <script src="/myjs/tongji.js"></script> </body> </html>