<html>
<head>
</head>
<body>
<iframe id='smartPartFrame' src='data:text/html;charset=utf-8,<h1>inteGREAT</h1>' scrolling='no' width='1000px' height='70px'></iframe>
</body>
</html>
The above html code used to show h1 in iframe. Chrome, Firefox, Edge working fine. IE 11 is showing the error: the page cannot be displayed. I wants to set html directly in src not file path.