29. CSS HTML
.class {background:red;}
#id {background:blue;}
div class=¡°class¡±
???
/div
div id=¡°id¡±
???
/div
div ?? ?? div /div
http://plegic.com/DETS/2.html
33. CSS HTML
#color { color:red; }
#size { font-size:20pt; }
#underline { text-decoration:underline;}
#overline {text-decoration:overline;}
#linethrogh {text-decoration:line-
through;}
div id=color?? ??/div
div id=size????/div
div id=underline??/div
div id=overline??/div
div id=linethrogh???/div
http://plegic.com/DETS/6.html
34. CSS HTML
#lighter{ font-weight:lighter;}
#normal{ font-weight:normal;}
#bold{ font-weight:bold;}
#bolder{ font-weight:bolder;}
div id=lighter?? ??/div
div id=normal??/div
div id=bold?? ??/div
div id=bolder?? ?? ??/div
http://plegic.com/DETS/7.html
35. CSS HTML
#right{ text-align:right; }
#left { text-align:left; }
#center { text-align:center;}
div id=right
?? ??
/div
div id=left
?? ??
/div
div id=center
??? ??
/div
http://plegic.com/DETS/8.html
36. CSS HTML
#red{ background:red; }
#blue { background:blue; }
#green { background:green;}
div id=red
?? ??
/div
div id=blue
?? ??
/div
div id=green
?? ??
/div
http://plegic.com/DETS/9.html
40. CSS HTML
#crosshair {cursor:crosshair}
#pointer {cursor:pointer}
#move {cursor:move}
#e-resize {cursor:e-resize}
#ne-resize {cursor:ne-resize}
#nw-resize {cursor:nw-resize}
#n-resize {cursor:n-resize}
#se-resize {cursor:se-resize}
#s-resize {cursor:s-resize}
#w-resize {cursor:w-resize}
#wait {cursor:wait}
#help {cursor:help}
p id=crosshairCrosshair/p
p id=pointerPointer/p
p id=moveMove/p
p id=e-resizee-resize/p
p id=ne-resizene-resize/p
p id=nw-resizenw-resize/p
p id=n-resizen-resize/p
p id=se-resizese-resize/p
p id=s-resizes-resize/p
p id=w-resizew-resize/p
p id=waitWait/p
p id=helpHelp/p
http://plegic.com/DETS/13.html
41. CSS HTML
#border1{
border:1px solid green;
}
#border2{
border:3px dotted red;
}
div id=border1
?? ???
/div
div id=border2
?? ?? ??
/div
http://plegic.com/DETS/14.html