HTML静态网页成品作业(HTML+CSS+JS)——迪士尼公主介绍(6个页面)

🎉不定期分享源码,关注不丢失哦

文章目录


一、作品介绍

🏷️本套采用HTML+CSS,使用Javacsript代码,共有6个页面

二、作品演示






三、代码目录

四、网站代码

HTML部分代码

c 复制代码
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title></title>
	<link rel="stylesheet" href="./css/style.css">
</head>
<body>
	<div class="main">
		<div class="h2">迪士尼公主</div>
		<div class="banner">
			<img src="./img/bb.png" alt="">
		</div>
		<div class="imgbox">
			<div class="imgitem" onmousemove="m(this)" onmouseleave="l(this)">
				<a href="1.html">
					<img src="./img/1.jpg" alt="">
					<span>白雪公主</span>
				</a>
			</div>
			<div class="imgitem"  onmousemove="m(this)" onmouseleave="l(this)">
				<a href="2.html">
					<img src="./img/2.jpg" alt="">
					<span>长发公主</span>
				</a>
			</div>
			<div class="imgitem"  onmousemove="m(this)" onmouseleave="l(this)">
				<a href="3.html">
					<img src="./img/3.jpg" alt="">
					<span>贝儿</span>
				</a>
			</div>
			<div class="imgitem"  onmousemove="m(this)" onmouseleave="l(this)">
				<a href="4.html">
					<img src="./img/4.jpg" alt="">
					<span>辛德瑞拉</span>
				</a>
			</div>
			<div class="imgitem"  onmousemove="m(this)" onmouseleave="l(this)">
				<a href="5.html">
					<img src="./img/5.jpg" alt="">
					<span>花木兰</span>
				</a>
			</div>
		</div>
	</div>
	<script src="./js/index.js"></script>
</body>
</html>

五、源码获取

🥇 ~ 关注我,点赞博文~ 每天带你涨知识!

🎁1.看到这里了就[点赞+好评+收藏]三连 支持下吧,你的「点赞,好评,收藏」是我创作的动力。

💙2.想要获取本文源码,点击前往吧

相关推荐
Dontla3 小时前
为什么React列表项需要key?(React key)(稳定的唯一标识key有助于React虚拟DOM优化重绘大型列表)
javascript·react.js·ecmascript
德育处主任Pro6 小时前
『React』Fragment的用法及简写形式
前端·javascript·react.js
CodeBlossom6 小时前
javaweb -html -CSS
前端·javascript·html
CodeCraft Studio6 小时前
【案例分享】如何借助JS UI组件库DHTMLX Suite构建高效物联网IIoT平台
javascript·物联网·ui
打小就很皮...7 小时前
HBuilder 发行Android(apk包)全流程指南
前端·javascript·微信小程序
dancing9999 小时前
cocos3.X的oops框架oops-plugin-excel-to-json改进兼容多表单导出功能
前端·javascript·typescript·游戏程序
萌萌哒草头将军10 小时前
🚀🚀🚀Prisma 发布无 Rust 引擎预览版,安装和使用更轻量;支持任何 ORM 连接引擎;支持自动备份...
前端·javascript·vue.js
鱼馅饼10 小时前
vscode使用系列之快速生成html模板
ide·vscode·html
书语时10 小时前
ES6 Promise 状态机
前端·javascript·es6
拉不动的猪11 小时前
管理不同权限用户的左侧菜单展示以及权限按钮的启用 / 禁用之其中一种解决方案
前端·javascript·面试