淘宝怎么上传HTML文件

html-css07

淘宝怎么上传HTML文件,第1张

你的图片是在硬盘上的,要使用

网络相册

,这样就可以了,html淘宝是支持的,只是有些样式淘宝不支持,你可以试一下,如果还是不行可以旺我,

旺:网络

钓具

呵呵 我以前也以为所有以‘.html’为后缀的为静态网页后来才知道错了,很多网站你看到是以‘.do’做后缀名,是因为项目可以通过这样的后缀名来拦截一些东西比如当前这个页面是以‘.htm’结尾,项目其实只要用到'q172323144'这个信息,后面什么不只要,也就是一个虚的,而‘.htm’只是用来获得前面的那段信息,而你看到淘宝的就是一个以'.html'的虚后缀名,并不是一个文件名为‘.html’,再打个比方‘www.baidu.com/aaa.html’(当然不存在)它指向的并不一定是一个文件名为aaa.html,有可能是文件名为bbb.jsp

<style>

#container

{

width:156px

height:30px

padding: 0

}

.made

{

width:50px

height:30px

margin:0

float: left

text-align: center

line-height: 30px

font-size: 30px

border: 1px solid #ccc

cursor:pointer

font-weight: bold

}

</style>

<script>

window.onload=function()

{

var oDiv=document.getElementById('container')

var aDiv=oDiv.getElementsByTagName('div')

aDiv[2].onclick=function()

{

aDiv[1].innerHTML=parseInt(aDiv[1].innerHTML)+1

}

aDiv[0].onclick=function()

{

if(parseInt(aDiv[1].innerHTML)<=0)

{

aDiv[1].innerHTML=0

}

else

{

aDiv[1].innerHTML=parseInt(aDiv[1].innerHTML)-1

}

}

}

</script>

</head>

<body>

<div id="container">

<div class="made">-</div>

<div class="made">3</div>

<div class="made">+</div>

</div>

</body>

</html>

大概是这样吧