JSFiddle - React, Tailwind, and code Playground
HTML
<div id="links">
<a href="http://stuff.com" onclick="return go(this);">stuff</a>
<a href="http://www.fun.com" onclick="return go(this);">fun</a>
<a href="http://bing.com" onclick="return go(this);">bing</a>
</div>
<div id="container"></div>
CSS
div#container {
width:500px;
height:500px;
overflow:hidden;
}
JavaScript
function go(obj) {
var page=obj.href;
document.getElementById('container').innerHTML='<object data="'+page+'" type="text/html"><embed src="'+page+'" type="text/html" /></object>';
return false;
}