The most common is that links to other html files are made through the <a href>
tag, however, how would I call a .html file from within a javascript function? That is, the user clicks the link whose onclick event is pointing to any function and within that function I would call the .html file.
The common thing is that we make <a href="anyhtmlfile.html">Clickme</a>