效果好看的html源码(好看的html模板)
华为云服务器特价优惠火热进行中! 2核2G2兆仅需 38 元;4核4G3兆仅需 79 元。购买时间越长越优惠!更多配置及优惠价格请咨询客服。
合作流程: |
今天给各位分享效果好看的html源码的知识,其中也会对好看的html模板进行解释,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在开始吧!
微信号:cloud7591如需了解更多,欢迎添加客服微信咨询。
复制微信号
本文目录一览:
- 1、网页音乐播放器HTML源码
- 2、HTML源代码
- 3、哪位大师能写下这样的页面的一个html源代码,感激不尽,必有重谢!!
- 4、找一个全html的精美企业网站源码
- 5、html网页制作、跪求源代码
- 6、HTML源码
网页音乐播放器HTML源码
1、实现ASP.Net MVC网页播放音乐html代码。
2、实现控制音频播放、暂停还需要加入JS代码如下。
3、实现前台处理方法代码。
4、实现后台处理的方法代码。
5、支持HTML5浏览器效果1。
6、如果不支持HTML5浏览器效果如下。
HTML源代码
style type="text/css"
#demo{height:120px;overflow:hidden;}
#demo1{float:left;}#demo2{float:left;}
#indemo{float:left; width:1000%}
/style
div id="demo"
div id="indemo"
div id="demo1"这里放你要循环的图片/div
div id="demo2"/div
/div
/div
script
!--
var speed=20; //数字越大速度越慢
var tab=document.getElementById("demo");
var tab1=document.getElementById("demo1");
var tab2=document.getElementById("demo2");
tab2.innerHTML=tab1.innerHTML;
function Marquee(){
if(tab.scrollLeft=0)
tab.scrollLeft+=tab2.offsetWidth
else{
tab.scrollLeft--;
}
}
var MyMar=setInterval(Marquee,speed);
tab.onmouseover=function() {clearInterval(MyMar)};
tab.onmouseout=function() {MyMar=setInterval(Marquee,speed)};
--
/script
可以的啊,把上面代码复制到一个新建的html中,把img src="你的图片" /放到代码中就行了啊
哪位大师能写下这样的页面的一个html源代码,感激不尽,必有重谢!!
先看效果:
代码:
!doctype html
html
head
meta charset="utf-8"
title书店/title
style type="text/css"
*{
padding:0;
margin:0;
box-sizing:border-box;
}
li{
list-style:none;
}
.wrap{
width:960px;
margin:0 auto;
}
.header{
overflow:hidden;
margin:10px auto;
}
.logo{
font-size:20px;
color:#00F;
text-align:center;
line-height:100px;
height:100px;
width:20%;
float:left;
}
.banner{
height:100px;
width:80%;
float:left;
border:1px solid #00F;
font-size:30px;
text-align:center;
line-height:100px;
background:#990;
}
.nav ul{
width:100%;
background:#6CC;
overflow:hidden;
}
.nav ul li{
float:left;
line-height:30px;
margin-right:15px;
}
.nav ul li a{
color:#000000;
text-decoration:underline;
}
.main{
margin-top:20px;
overflow:hidden;
}
.sidebar{
width:200px;
float:left;
}
.login{
border:1px solid #06F;
}
.login h2{
line-height:24px;
background:#6CC;
color:#000000;
text-align:center;
font-size:18px;
font-weight:normal;
}
.login p{
margin:10px 10px;
}
.login p input{
width:100px;
}
.login button{
background:none;
border:1px solid #000000;
padding:5px 10px;
margin:15px;
}
.car{
margin:30px auto;
width:50px;
height:50px;
border-radius:50%;
background:#C90;
line-height:50px;
text-align:center;
}
.book{
width:750px;
float:right;
}
.book ul li{
border:1px solid #069;
padding:10px;
overflow:hidden;
margin-bottom:20px;
}
.book ul li img{
float:left;
width:100px;
height:120px;
border:1px solid #999;
margin-right:10px;
}
.book ul li .info{
float:left;
}
.book ul li .info p{
margin-bottom:10px;
}
.book ul li .more{
margin-top:20px;
}
.book ul li .more a{
color:#000000;
text-decoration:underline;
}
.book ul li .more .buy{
padding:3px 5px;
background:#FC0;
color:#000000;
border:1px solid #000000;
border-radius:3px;
text-decoration:none;
margin-left:15px;
}
/style
/head
body
div class="wrap"
div class="header"
div class="logo"h1网上书店/h1/div
div class="banner"欢迎访问/div
/div
div class="nav"
ul
lia href="#"首页/a/li
lia href="#"文学类/a/li
lia href="#"计算机类/a/li
lia href="#"英语类/a/li
lia href="#"动态啥类/a/li
/ul
/div
div class="main"
div class="sidebar"
div class="login"
h2用户登录/h2
form method="post"
p用户名:input type="text" //p
p密 码:input type="password" //p
button登录/button
button注册/button
/form
/div
div class="car"
购物车
/div
/div
div class="book"
ul
li
img src=""
div class="info"
p名称:图灵/p
p作者:言小鱼/p
p价格:无价/p
p class="more"a href="#"详细信息/aa href="#" class="buy"购买/a/p
/div
/li
li
img src=""
div class="info"
p名称:图灵/p
p作者:言小鱼/p
p价格:无价/p
p class="more"a href="#"详细信息/aa href="#" class="buy"购买/a/p
/div
/li
/ul
/div
/div
/div
/body
/html
满意请采纳~
找一个全html的精美企业网站源码
做企业网站光几个html简单源码是没办法满足的,你要上产品需要产品管理系统,发布企业新闻需要文章管理系统。你可以通过网站源码素材下载更全面的整站模板,如果是html静态网页其实根本称不上整站,都是还需要加工的。
html网页制作、跪求源代码
效果图,图片自己换,
html代码:
!DOCTYPE html
html
head
meta charset="utf-8"/
title泰国/title
link rel="stylesheet" type="text/css" href="css/index.css"/
script type="text/javascript" src="js/index.js"/script
/head
body
div class="box"
div class="titles"泰国/div
div class="img-box"
img class="auto-img" src="images/a001.jpg"/
/div
div class="text-box"
div class="text-box-a"
a href="#"曼谷、芭提雅(珊瑚岛、金沙岛)5晚7天/a
/div
div class="text-box-a"
东航直飞曼谷客机,入住1晚曼谷国际5星+4晚泰式5星酒店,芭提雅双岛(珊瑚岛+金沙岛)清...
/div
div class="text-box-a"
出发日期:星期一,星期二,星期三,星期四,星期五
/div
/div
div class="bottom ovf"
div class="fl text-a1"
班期:每周发团
/div
div class="fr"
div class="price"¥nbsp;4549/div
div class="rush-to-buy"立即抢购/div
/div
/div
/div
/body
/html
css样式:
html,body{
padding:0;
margin:20px 0 0;
}
a{
text-decoration:none;
}
.fl{
float:left;
}
.fr{
float:right;
}
.ovf{
overflow: hidden;
}
.box{
width:50%;
margin:0 auto;
border:1px dashed #000000;
padding:4px;
}
.titles{
width:100%;
text-align: center;
color:#ffffff;
background-color: #ff0000;
}
.img-box{
width:100%;
margin-top: 4px;
}
.auto-img{
display: block;
width:100%;
}
.text-box{
width:100%;
}
.text-box-a{
width:100%;
font-size: 14px;
line-height: 20px;
letter-spacing: 1px;
}
.text-box-aa{
color:#0089ff;
}
.bottom{
margin-top: 30px;
}
.text-a1{
font-size: 18px;
font-style: italic;
font-style:oblique;/*为保证斜体效果加一个*/
}
.price{
font-size: 16px;
color:#8B3E2F;
}
.rush-to-buy{
width:80px;
text-align: center;
background-color: #ff0000;
font-size: 16px;
}
HTML源码
!DOCTYPE html
html
head
meta charset="UTF-8"
meta name="description" content="" /
meta name="viewport" content="width=device-width, initial-scale=1.0"
title水印测试/title
style
.div{
position:relative;
width:300px;
height:300px;
background:url(img/1.jpg) no-repeat left top;
background-size:100%;
}
.div .ico{
width:100px;
height:100px;
position:absolute;
right:10px;
bottom:10px;
display:none;
background:url(img/1.png) no-repeat left top;
background-size:100px;
}
.div:hover .ico{
display:block;
}
/style
/head
body
div class="div"
div class="ico"/div
/div
/body
/html
这个是用纯css实现的,换成图片一个道理。

关于效果好看的html源码和好看的html模板的介绍到此就结束了,不知道你从中找到你需要的信息了吗 ?如果你还想了解更多这方面的信息,记得收藏关注本站。
