【www.shkuanshun.cn--网页设计】
【篇一】笔试网页设计
intencode(constvoid*raw_in,void*raw_out,uint32_tpassword,size_tlen)
{
constuint8_t*in=(constuint8_t*)raw_in;
uint8_t*out=(uint8_t*)raw_out;
uint32_tseed=password^0x42381238u;
for(size_ti=0;i
uint8_ta=(in[i]^seed)>>2;
uint8_tb=((((uint32_t)in[i])(10-6);
a&=63;
b&=192;
a=63&(a^(b
【篇二】笔试网页设计
笔试(网页设计)2
四、用心想一想,你一定是生活中的.智者! (每题9分,共36分)
1. 写出ul、ol、dl三种列表的html结构,
答:
2. 将以下CSS代码进行缩写,注意要符合缩写的规范。
a) 代码一:
border-width:1px;
border-color:#000;
border-style:solid;
b) 代码二:
background-position:0 0;
background-repeat:no-repeat;
background-attachment:fixed;
background-color:#f00;
background-image:url(background.gif);
c) 代码三:
font-style:italic;
font-family:“Lucida Grande”,sans-serif;
font-size:1em;
font-weight:bold;
font-variant:small-caps;
line-height:140%;
d) 代码四:
list-style-position:inside;
list-style-type:square;
list-style-image:url(image.gif);
【篇三】笔试网页设计
笔试(网页设计)
一、 耐心填一填!(每空4分,共24分)
1. 为div设置类a与b,应编写HTML代码___________,
2. 设置CSS属性clear的`值为_both___________时可清除左右两边浮动。
3. ____li________标签必须直接嵌套于ul、ol中。
4. CSS属性_____margin_______可为元素设置外补丁。
5. 设置CSS属性float的值为___none_________时可取消元素的浮动。
6. 文字居中的CSS代码是____text-align:center________。
二、 精心选一选!(每题4分,共16分)
1. 下列哪个样式定义后,内联(非块状)元素可以定义宽度和高度( C )
A. display:inline B. display:none C. display:block D. display:inheric
2. 选出你认为最合理的定义标题的方法( C )
A. 文章标题
B.
文章标题
C.
文章标题
D.文章标题
3. br标签在XHTML中语义为( A )
A.换行 B.强调 C.段落 D.标题