So, I have this code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Enter Details</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<form>
<label>Student's Name</label>
<input type="text" placeholder="Enter student's name">
<br><br>
<label>Roll No.</label>
<input type="text" placeholder="Enter student's Roll No.">
<br><br>
<label>Class</label>
<input type="text" placeholder="Enter student's class">
<br><br>
<label>Enter marks for English</label>
<input type="text" placeholder="Marks for English goes here...">
<br><br>
<label>Enter marks for Maths</label>
<input type="text" placeholder="Marks for Maths goes here...">
<br><br>
<label>Enter marks for Science</label>
<input type="text" placeholder="Marks for Science goes here...">
<br><br>
<button>Get your marksheet</button>
</form>
</body>
</html>
Let's say I have given all the inputs a class or id to identify them. I make another html file and make a table and I want the table's value to be the same as one of the inputs. So, technically speaking, how can I use one HTML file's classes and ids in another HTML file?