how to get innerhtml value in javascript and check whether it is matching input value code example
Example 1: .innerhtml
// .innerHTML method is used to change the html contents of a DOM object
document.getElementById("demo").innerHTML = "Paragraph changed!";
Example 2: what is the meaning of the table innerhtml in javascript
table.innerhtml