I have multiple HTML pages having almost identical code. I would like to move the common code to a shared HTML file (say commons.html)and whichever page requires this common code would access it from commons.html . I want to do the above stated for ease of maintainability.
I am constrained to use pure HTML and javascript . So the question is how do i use markups from another html page (in this case commons.html)