<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="5;url=爱心.html">
<title>自动跳转</title>
</head>
<style>
body{
background-image: url(huolang.png);
}
</style>
</html>
运行结果
爱心