Web basic
-
Upload
desbear-li -
Category
Education
-
view
128 -
download
2
Transcript of Web basic
X�İ!ASP.net!
PHP!jsp!ð!
Ěď ņŖİ!HTML!CSS!
javascript!canvas webGL!
SVG!
p4�
MySQL!SQL Server!
SQLlit!any DB!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> !!<html xmlns="http://www.w3.org/1999/xhtml"> ! !!!!!!!!!!!!!!!!</html>!
<head>! !!!!!!!!</head>! !!!
<body>! !!!!</body>!
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="index, follow" />! <meta name="keywords" content="Ě©ŎńF" />! <meta name="description" content="Ě©æ¦" />
<title>Ě©ĩŋ</title><link rel="stylesheet" href="css/style.css" type="text/css" /><script type="text/javascript" src="js/javascriptname.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> !!<html xmlns="http://www.w3.org/1999/xhtml"> ! !!!!!!!!!!!!!!!!</html>!
<head>! !!!!!!!!</head>! !!!
<body>! !!!!</body>!
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="index, follow" />! <meta name="keywords" content="Ě©ŎńF" />! <meta name="description" content="Ě©æ¦" />
<title>Ě©ĩŋ</title><link rel="stylesheet" href="css/style.css" type="text/css" /><script type="text/javascript" src="js/javascriptname.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> !!<html xmlns=" !!!!!!!!!!!!!!!!</html>!
<head>! !!!!!!!!</head>! !!!
<body>! !!!!</body>!
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="index, follow" />! <meta name="keywords" content=" <meta name="description" content="
<title><link rel="stylesheet" href="css/style.css" type="text/css" /><script type="text/javascript" src="js/javascriptname.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd!<html xmlns="http://www.w3.org/1999/xhtml"> ! !!!!!!!!!!!!!!!!</html>!
<head>! !!!!!!!!</head>! !!!
<body>! !!!!</body>!
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="index, follow" />! <meta name="keywords" content=" <meta name="description" content="
<title><link rel="stylesheet" href="css/style.css" type="text/css" /><script type="text/javascript" src="js/javascriptname.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd!<html xmlns=" !!!!!!!!!!!!!!!!</html>!
<head>! !!!!!!!!</head>! !!!
<body>! !!!!</body>!
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="index, follow" />! <meta name="keywords" content=" <meta name="description" content="
<title><link rel="stylesheet" href="css/style.css" type="text/css" /><script type="text/javascript" src="js/javascriptname.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd!<html xmlns=" !!!!!!!!!!!!!!!!</html>!
<head>! !!!!!!!!</head>! !!!
<body>! !!!!</body>!
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="index, follow" />! <meta name="keywords" content=" <meta name="description" content="
<title><link rel="stylesheet" href="css/style.css" type="text/css" /><script type="text/javascript" src="js/javascriptname.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd!<html xmlns=" !!!!!!!!!!!!!!!!</html>!
<head>! !!!!!!!!</head>! !!!
<body>! !!!!</body>!
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="index, follow" />! <meta name="keywords" content="Ě©ŎńF" />! <meta name="description" content="Ě©æ¦" />
<title><link rel="stylesheet" href="css/style.css" type="text/css" /><script type="text/javascript" src="js/javascriptname.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd!<html xmlns=" !!!!!!!!!!!!!!!!</html>!
<head>! !!!!!!!!</head>! !!!
<body>! !!!!</body>!
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="index, follow" />! <meta name="keywords" content=" <meta name="description" content="
<title>Ě©ĩŋ</title><link rel="stylesheet" href="css/style.css" type="text/css" /><script type="text/javascript" src="js/javascriptname.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd!<html xmlns=" !!!!!!!!!!!!!!!!</html>!
<head>! !!!!!!!!</head>! !!!
<body>! !!!!</body>!
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="index, follow" />! <meta name="keywords" content=" <meta name="description" content="
<title><link rel="stylesheet" href="css/style.css" type="text/css" /><script type="text/javascript" src="js/javascriptname.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd!<html xmlns=" !!!!!!!!!!!!!!!!</html>!
<head>! !!!!!!!!</head>! !!!
<body>! !!!!</body>!
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="index, follow" />! <meta name="keywords" content=" <meta name="description" content="
<title><link rel="stylesheet" href="css/style.css" type="text/css" />
<script type="text/javascript" src="js/javascriptname.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd!<html xmlns=" !!!!!!!!!!!!!!!!</html>!
<head>! !!!!!!!!</head>! !!!
<body>! !!!!</body>!
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="index, follow" />! <meta name="keywords" content=" <meta name="description" content="
<title><link rel="stylesheet" href="css/style.css" type="text/css" />
<script type="text/javascript" src="js/javascriptname.js"></script>
Ě©�~#¤�T�B
<ul> <li></li> </ul>JcÑã�ěìcÑã!ñė��*<li>Z�ü6!ËË]4Z�ĺãp4!
*<ul>{<ol>���Ĥ.�×�<li>!<li>��,ļÿç��!<ul><ol><li>��Æý�9
<ol> <li></li> </ol>
<table>! <tr>! <td>(^( )^)</td>! </tr>! </table>
�»�É2�´5table*¿�!tr��S�tdÈ�S���ŕ!
¤aI�¬É2��´İå¤Q�J!ÚĤ�*ň
<table summary="a summary of recent major volcanic eruptions in the Pacific Northwest"> <caption>Recent Major Volcanic Eruptions in the Pacific Northwest</caption> <thead> <tr> <th scope="col">Volcano Name</th> <th scope="col">Location</th> <th scope="col">Last Major Eruption</th> <th scope="col">Type of Eruption</th> </tr> </thead> <tfoot> <tr> <td colspan="4">Compiled in 2008 by Ms Jen</td> </tr> </tfoot> <tbody> <tr> <th scope="row">Mt. Lassen</th> <td>California</td> <td>1914-17</td> <td>Explosive Eruption</td> </tr> <tr> <th scope="row">Mt. Hood</th> <td>Oregon</td> <td>1790s</td> <td>Pyroclastic flows and Mudflows</td> </tr> <tr> <th scope="row">Mt. St. Helens</th> <td>Washington</td> <td>1980</td> <td>Explosive Eruption</td> </tr> </tbody> </table>
HTML5 SECTION ARTICLE
HEADERFooter Video
source
navaside hgroup
calendardatetime
emailurl
search
canvas
audiomenu
keygen
figure
<ARTICLE>articlef�Ī��'��aĶOJÿĈ��á�!
,ºijJ<header>{!<footer>qxĈ%��á��!<div><section><article>,$ğ�!
Æý�¬ĝÿû�
<!--[if lt IE 9]>!<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>!<![endif]-->
/* Suggested order:! * display! * list-style / table-layout! * position / float / z-index / top right bottom left / clear! * visibility / overflow / clip! * width / height! * margin / padding / border / outline! * background! * color! * font! * text-decoration / text-align / vertical-align / white-space! * content / cursor! * other! */!
#mystyle{! width: 300px;! height: 250px;! border: 1px solid #333;! background: url(../images/bear.png) ! no-repeat left top #444;! color:#ff0044;! font-size:95%;! font-weight:normal;! text-decoration: none;! letter-spacing: 0.1em;! line-height: 160%;!}
border_�²Ĭ�ãķģ&��xİh�ō�²Ĭ!border-left:�0²Ĭ�border-right�border-top�border-bottom$LŏÏ!²Ĭ�ħªÛËĂArĦģ!!
border: Ģ� ĨH ŊR�
background�¡ê�!,$�ÍÝđurl(ď®)ÜñĔŁ!m�xno-repeat repeat-x repeat-y!�X÷öʼnleft right{y÷öʼn top bottom!�,$>±ģ�Rī�
Rī!�»cssqğ,$4#000000�16øUqĦģRī!E��ã¹�Mû{¹RËË,$łîI¬ħĴ_,�Á�16øURī/�!�,�ÍģR@ex:white black red green ð!!
CSS3ÊŊR(�RGBA�xĈ!�D�Ý��A�Ŕz ! color:rgba(255,255,255,0.5);
#Mystyle{ } ð> ul#Mystyle{ }!Y��œp4ul#Mystyle
<ul id=”mystyle”>! <li>! <a href=”#”> XX </a>! </li>!</ul>
£d¤ÀĖ ul��a+�xĨHd,$ÚĨģ!#Mystyle li a{ }
<ul id=”mystyle”>! <li>! <a href=”#”> XX </a>! </li>!</ul>
�ÿ!ÚĨ&�Mystyle�<ÞaĩŘßĂÖő}!"ŗ§ ąÃ!E�u��ü6¤�Îő}Ġ¤ØxŔzňĜ
<ul id=”mystyle”>! <li>! <a href=”#”> XX </a>! <ul>! <li><a href=”#”></a></li>! </ul>! </li>!</ul>
#Mystyle li a{ color:#ff0000;}#Mystyle li ul li a{color:#000;}
£ #Mystyle li a ě .bearߤ4>Ĩ�ĨH!!
#Mystyle li a, .bear{color:red;}
<ul id=”mystyle”>! <li>! <a href=”#”> XX </a>! </li>!</ul>!<a class=”bear”>XXXXXXX</a>
inlineChdisplay:inline;
<span><input><a><img>a|A�D<[����t=(=dglp HERU8�inlineD<�+text-alignrL�z@k
��Nq^cD<
inline-blockdisplay:inline-block;
�$xBblock2inlineM7�Q7���#n�]5%�rLt(2margin
ie6....�Y�5���m���\/�{�ej�X)
div {display:inline; zoom:1;...}zoom:1 IEO��haslayout{�*W&�