Document.getelementbyid on different html page

This is test.html with p tag “tt”

<html>
<head>
	<script type="text/javascript" src="/eel.js"></script>
    <script type="text/javascript" src="/script.js"></script>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
    <link rel="stylesheet" href="style.css">
</head>
<body>
<p id="tt">This is p tag in test.html</p>
</body>
</html>