Title of a document : Document « Development « JavaScript DHTML
- JavaScript DHTML
- Development
- Document
Title of a document
<html>
<head>
<title>MY TITLE</title>
</head>
<body>
The title of the document is:
<script type="text/javascript">
document.write(document.title)
</script>
</body>
</html>
Related examples in the same category