How to use the title property?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
How to use the title property?
Rating:
The title property belongs to the document object. It is used to change the title of the browser window that is displayed on the title bar.
The following is the syntax of using the title property:
The following example will demonstrate the use of the title property:
<script language="javascript">
document.title="My Web Page"
</script>
</body>
Rating:
Was this information helpful?
Other articles
- What is the italics method?
- What is a radio button?
- What is the Array object?
- How to use the bgColor property?
- What is the defaultStatus property?