The title belongs to a special node element in HTML.
Because it can use Doucment.getelementsbytagname ("title") [0] to get its title, it cannot change its value with Doucment.getelementsbytagname ("title") [0].
However, there is always a way to solve it. in JavaScript, the method of modifying the title is:
<script type="text/javascript"> 'dinphy-cumin _ Line | Small knowledge, everyone enjoy, you can also do '; </script>
The node element between <body></body> is obtained or modified with document.getElementsByTagName (). DocumentElement represents everything in the middle of
JS will use Document.title to replace the title of the page because the Title,head,body and other tags are the default unique label, so Document.title and document.body can directly find the results. And the title is a structure of the label, that is, the title, can only join Nodetext. And can not add other elements, so its use and has a special. To keep the code from making an error, So JS in the provisions document.title this object has only one attribute (also can be said to have no attributes), Document.title itself is a property of the Document object, not one of its sub-object, in the use of document.title= "" To change the title.
Use JS code to print and modify the title of the blog Park (or website)