复制一个网站的css,html代码,算不算侵权

html-css010

复制一个网站的css,html代码,算不算侵权,第1张

还是算的。html、xml、css这类代码虽然写的时候受功能限制不像写文章那么自由,但也是受版权保护的。在具体案子中,特定的受语法、功能限制的部分主张权利可能会有困难。但整个网站照抄基本上就算是侵权了。

DIV+CSS页面版权底部贴着浏览器,首先我们需要设置好一个适当的高度和宽度,网页布局中一般是分成3个部分,header,content,footer,一般header和footer的高度都是确定的,所以想要让版权贴着浏览器,只需要将content的区域的高度设置好就行,如一个高度是800的页面,头部和底部就是150,那么给content区域一个500就可以实现这个效果,具体看下代码:

<html>

<head>

<style>

body{

width:960px //限定网页的宽度

margin:0 auto

boreder:1px solid #f00 //加个边框利于观察

}

#header{

height:150px

width:960px

}

#content{

height:500px

width:960px

}

#footer{

height:150px

width:960px

}

</style>

</head>

<body>

<div id='headr'>

<p>我是头部区域</p>

</div>

<div id='content'>

<p>我是内容部区域</p>

</div>

<div id='footer'>

<p>我是底部区域</p>

</div>

</body>

</html>

DIV+CSS定义网页版权区域,我们通常布局的时候都是头部,内容区域,还有底部,一般都是使用三个div,然后id分别设置为header,content,footer,然后在定义每个div的高度,一般来说,header,footer都是公共的,因为高度,内容一般都是固定的,版权的话,都是在底部的区域,举个例子:

<html>

<head>

<style>

#header{

width:960px//通过id来控制

height:200px

}

@content{

width:960px//通过id来控制

height:auto //内容区域的高度一般都是auto的

}

#footer{

width:960px//通过id来控制

height:200px

}

</style>

</head>

<body>

<div id='header'>

<p>我是头部区域</p>

</div>

<div id='content'>

<p>我是内容区域</p>

</div>

<div id='footer'>

<p>我是低部区域</p>

<p>版权信息</p>

</div>

</body>

</html>