<!DOCTYPE html>
<html>
<head>
	<title>HTML Code Displayed in iFrame</title>
</head>
<body>
	<h1>HTML Code Displayed in iFrame</h1>
	<p>Below is an example of displaying HTML code in an iFrame:</p>
	<iframe srcdoc="<!DOCTYPE html>
		<html>
		<head>
			<title>Example HTML Code</title>
		</head>
		<body>
			<h2>This is an example of HTML code</h2>
			<p>You can customize this code to create your own HTML documents.</p>
		</body>
		</html>" width="500" height="300"></iframe>
</body>
</html>
帮我写一个 iframe里面显示html代码

原文地址: https://www.cveoy.top/t/topic/EUI 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录