[body (background/link/vlink color)] Body ¶i¶¥¨Ï¥Î
[color] ¤Q¤»¶i¦ìÃC¦âªí
[ol (Different Types)] ½s¸¹¦¡±ø¦C¶i¶¥¨Ï¥Î
[ul (Different Types)] µL½s¸¹¦¡±ø¦C¶i¶¥¨Ï¥Î
[p & align] ¹j¦æ»P¹ï»ô
[font size & color] ¦r«¬¶i¶¥¨Ï¥Î
[image size] ¹Ï§Î¶i¶¥¨Ï¥Î
[table-- color & multiple layers] ªí®æ¶i¶¥¨Ï¥Î
[fieldset-- legend] ®Ø½u¨Ï¥Î
[fragment indentifiers] ¶¤º³sµ²
[image mapping] ¹Ï§Î¹ï¬M
[iframe] ¤º¹j¶
[frame] ¹j¶
[meta] °ÊºA¤å¥ó
[bookmark] Bookmark Icon
[marquee] °ÊºA¤Þ¨¥
[passwd] ¶±³]±K½X
[Adobe Acrobat / Word File] ´Ó¤JAdobe AcrobatÀÉ®×
[Director/Flash Files Included] ¦bHTML´¡¤JDirector ©Î Flash3ÀÉ®×
[Sound/Vedio Show] Ánµ»P¼v¹³¨Ò¤l
[Streaming Video/Audeo File] ¡@ºô¿ý¦ê¬y¼vµÀÉ®×
[Web Layout Application] ºô¶½s±Æ»P¹ï¦ìÀ³¥Î
[Example] ²³æªººô¶½d¨Ò
¡± body (background/link/vlink color)
<body bgcolor | background text link vlink alink
leftmargin topmargin marginwidth marginheight>
[»¡©ú]: ºô¶©³¦â©Î©³¯¾«ü©w
-- bgcolor : ºô¶©³¦â(ª`·N:ÃC¦â¥Î¤»¦ì¤Q¤»¶i¦ì¥N½X,¥B«e¥[ #)
-- background : ºô¶©³¯¾ (µ¹¹ÏÀɦW)
-- bgproperties = "fixed" : I´º¤£ÀHscrollbar²¾°Ê (¥u¾A¥Î©óIE)
-- text : ºô¶¤å¦rÃC¦â
-- link : ºô¶AnchorÃC¦â
-- vlink : ºô¶³QÂI¹Lªº AnchorÃC¦â
-- leftmargin = n : body¤º®e¶Zwindow¥ªÃ䤧¶ZÂ÷ (¥u¾A¥Î©óIE)
-- topmargin = n : body¤º®e¶Zwindow¥kÃ䤧¶ZÂ÷ (¥u¾A¥Î©óIE)
-- marginwidth = n : body¤º®e¶Zwindow¤§¾î¦V¶¡¶Z (¥u¾A¥Î©óNetscape)
-- marginheight = n : body¤º®e¶Zwindow¤§Áa¦V¶¡¶Z (¥u¾A¥Î©óNetscape)
Example 1: (©³¦â¬°¥Õ¦â¡Blink¬°ÂŦâ)
<body bgcolor="#ffffff" text="#000000" link="#0000ff"
vlink=#8e2323 alink="#3299cc">
Example 2: (©³¦â¬°¦ÇÂŦâ¡Blink¬°¶À¦â)
<body bgcolor="#236b8e" text="#ffffff" link="#d9d919"
vlink="#5a5ad6" alink="#3299cc">
Example 3: (©³¹Ï)
<body background="bg.jpg"
text="#000000" link="#0066cc" vlink="#5a5ad6" alink="#cc6666">
Example 4: (³Ì±`¥ÎªºwindowÃä¶Z³]©w,¾A¥Î©óIE »P Netscape)
<body bgcolor=#ffffff text=#000000 link=616469 vlink=999999
topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>
(¦¹³Bªº"¥i¬Ù²¤)
¡± color (¤Q¤»¶i¦ìÃC¦âªí)
ÃC¦âªí(¤@): (¤Q¤»¶i¦ìÃC¦âªí)
**** Table of RGB Color (1)
ÃC¦âªí(¤G): (¤Q¤»¶i¦ìÃC¦âªí)
**** Netscape 216 Colors (2)
ÃC¦â³æ¦rªí(¤T): (¤Q¤»¶i¦ìÃC¦â³æ¦rªí)
ÃC¦â³æ¦rªí(¥|): (¤Q¤»¶i¦ìÃC¦âªí)
ÃC¦âªí(¤):
¡± ol (Different Types)
<ol type=a|a|i|i|1 value>
[»¡©ú]: ¦UºØ¦³§Ç¸¹¦C¦¡
Example 1:
<ol type=A >
<lh><i>special centers in tnua</i></lh>
<li>technological arts center</li>
<li>trditional arts center</li>
<li>performance arts center</li>
<li>computer center</li>
</ol>
Special Centers in tnua
Technological Arts Center
Trditional Arts Center
Performance Arts Center
Computer Center
Example 2:
<ol type=a >
<lh><i>special centers in tnua</i></lh>
<li>technological arts center</li>
<li>trditional arts center</li>
<li>performance arts center</li>
<li>computer center</li>
</ol>
Special Centers in tnua
Technological Arts Center
Trditional Arts Center
Performance Arts Center
Computer Center
Example 3:
<ol type=I >
<lh><i>special centers in tnua</i></lh>
<li>technological arts center</li>
<li>trditional arts center</li>
<li>performance arts center</li>
<li>computer center</li>
</ol>
Special Centers in tnua
Technological Arts Center
Trditional Arts Center
Performance Arts Center
Computer Center
Example 4:
<ol type=i >
<lh><i>special centers in tnua</i></lh>
<li>technological arts center</li>
<li>trditional arts center</li>
<li>performance arts center</li>
<li>computer center</li>
</ol>
Special Centers in tnua
Technological Arts Center
Trditional Arts Center
Performance Arts Center
Computer Center
Example 5:
<ol type=1 >
<lh><i>special centers in tnua</i></lh>
<li>technological arts center</li>
<li>trditional arts center</li>
<li>performance arts center</li>
<li>computer center</li>
</ol>
Special Centers in tnua
Technological Arts Center
Trditional Arts Center
Performance Arts Center
Computer Center
Example 6 :
<ol>
<li value=10 >red sox
<li>cubs
<li>royals
<li>dodgers
<li>indians
</ol>
Red Sox
Cubs
Royals
Dodgers
Indians
Example 7 :
<ol>
<li>red sox
<li>cubs
<li>royals
<li value=10 >dodgers
<li>indians
</ol>
Red Sox
Cubs
Royals
Dodgers
Indians
¡± ul (Different Types)
<ul type=square|disc|circle value>
[»¡©ú]: ¦UºØµL§Ç¸¹¦C¦¡ (¥u¾A¥ÎNetscape)
Example 1:
<ul type=square >
<lh><i>special centers in tnua</i></lh>
<li>technological arts center</li>
<li>trditional arts center</li>
<li>performance arts center</li>
<li>computer center</li>
</ul>
Special Centers in tnua
Technological Arts Center
Trditional Arts Center
Performance Arts Center
Computer Center
Example 2:
<ul type=disk >
<lh><i>special centers in tnua</i></lh>
<li>technological arts center</li>
<li>trditional arts center</li>
<li>performance arts center</li>
<li>computer center</li>
</ul>
Special Centers in tnua
Technological Arts Center
Trditional Arts Center
Performance Arts Center
Computer Center
Example 3:
<ul type=circle >
<lh><i>special centers in tnua</i></lh>
<li>technological arts center</li>
<li>trditional arts center</li>
<li>performance arts center</li>
<li>computer center</li>
</ol>
Special Centers in tnua
Technological Arts Center
Trditional Arts Center
Performance Arts Center
Computer Center
Example 4 :
<ol>
<li>red sox
<li>cubs
<li type=I >royals
<li>dodgers
<li>indians
</ol>
Red Sox
Cubs
Royals
Dodgers
Indians
Example 5 :
<ul type=square >
<li>red sox
<li>cubs
<li type=circle >royals
<li>dodgers
<li>indians
</ul>
Red Sox
Cubs
Royals
Dodgers
Indians
¡± p & align
<p align=left, right, center>
[»¡©ú]: ªÅ¦æ«áªº¤å¦r¹ï¦ì«ü¥O
Example 1:
Thinking of you at this beautiful holiday.<p align=left >
Merry Christmas & Happy New Year!</p>
Thinking of you at this beautiful holiday.
Merry Christmas & Happy New Year!
Example 2:
Thinking of you at this beautiful holiday.<p align=right >
Merry Christmas & Happy New Year!</p>
Thinking of you at this beautiful holiday.
Merry Christmas & Happy New Year!
Example 3:
Thinking of you at this beautiful holiday.<p align=center >
Merry Christmas & Happy New Year!</p>
Thinking of you at this beautiful holiday.
Merry Christmas & Happy New Year!
¡± font size & color
<font size | color | face>
[»¡©ú] : ¤å¦r¤j¤p¡BÃC¦â¡B¦r«¬«ü©w
-- size : ¤å¦r¤j¤p (-6 ~ +6)
-- color : ¤å¦rÃC¦â
-- face : ¤å¦r¦r«¬ (¤¤¤å°£©úÅé¡B²Ó©úÅé¥~¡AºÉ¶q¤£©w¸q¨ä¥¦¦rÅé)
Example 1 :
<font size=-1 color="#7fff00">i</font>
<font size=0 color="#ff7f00">n</font>
<font size=+1 color="#3299cc">f</font>
<font size=+2 color="#42426f">o</font>
<font size=+3 color="#6b4226">r</font>
<font size=+4 color="#e47833">m</font>
<font size=+3 color="#238e23">a</font>
<font size=+2 color="#d9d919">t</font>
<font size=+1 color="#5c4033">i</font>
<font size=0 color="#23238e">o</font>
<font size=-1 color="#5a5ad6">n</font>
i
n
f
o
r
m
a
t
i
o
n
Example 2 :
<font size=+3 color="#aa0000"><blink>C</blink></font>lick
<font size=+3 color="#00aa00"><blink>A</blink></font>bove
<font size=+3 color="#0000aa"><blink>I</blink></font>con !
C lick
A bove
I con !
Example 3 :
<font color="#aa0000" face="Time New Roman">Time New Roman</font>
<font color="#aa0000" face="Arial">"Arial"</font>
Time New Roman
Arial
Example 4 :
<basefont face=arial size=5>
³]©w«á¡A©¹«á©Ò¦³¶¤º¤å¦r¦r«¬¬°Arial¡A¯Å¼Æ¬°5
¡± Image Size
<img src="url" align | width | height | border | vspace
hspace | alt>
[»¡©ú] : ¥i«ü©w¹ÏÀɪº°ª«×¡B¼e«×¡A¹Ï»P¤å¦r¤§««ª½¶¡¶Z
-- vspcae : ¹Ï»P¤å¦r¤§««ª½¶¡¶Z
-- hspcae : ¹Ï»P¤å¦r¤§¤ô¥¶¡¶Z
-- width : ¹ÏÀɼe«×
-- height : ¹ÏÀɰª«×
-- alt : »¡©ú¥Î
Example 1:
<img src="sample.gif" alt="¦¹Imageì¹Ï¤j¤p¬°120x97">
¨S¦³³]¥ô¦ó°Ñ¼Æªº¼Ð·Çªí¥Ü
Example 2:
<img src="sample.gif" vspace=15 >
¹Ï»P¤å¦rªºÁa¦V¶¡¶Z
Example 3:
<img src="sample.gif" hspace=20 >
¹Ï»P¤å¦rªº¤ô¥¶¡¶Z
Example 4:
<img height=150 src="sample.gif">
height=150 (µ¥¤ñ¨Ò©ñ¤j)
Example 5:
<img height=50 src="sample.gif">
height=50 (µ¥¤ñ¨Ò©ñ¤j)
Example 6:
<img height=50 width=200 src="sample.gif">
height=50 width=97
Example 7: ¹Ï»PAnchor (link)¦X¥Î
<a href=sample.gif><img width="80" src="sample.gif" border=0 ></A>
(½Ðclick¦¹¹Ï)
(½Ðclick¦¹¹Ï)
¡± Color & Multiple Table
<table border bordercolor cellspacing cellpadding
bgcolor rowspan colspan width height valign>
[»¡©ú] : ¥i³]©w±_ª¬¦¡ªí®æ¤Î¦h¦âªí®æ
-- border = n : Table®ØÃä¤j¤p
-- bordercolor : Table®ØÃäÃC¦â
-- cellspacing = n : Table¤º³¡¹j½u¼e«×
-- cellpadding = n : Table¤º¤å¦r»P¹j½u¶¡¶Z
-- colspan=n : Table¸ó¦æ³]©w
-- rowspan : Table¸ó¦C³]©w
-- width : Tableªº¼e«×
-- height : Tableªº°ª«×
-- align = left, middle, right : Tableªº¾î¦V¹ï¦ì
-- valign = top, center, bottom : TableªºÁa¦V¹ï¦ì
-- nowrap : Cell¤¤ªº¤å¦r¤£Â_¦æ (¦Ü©ó TD ¤¤)
Example 1: Table¤º¤£¦P¦æªºÃC¦â³]©w
<table border cellspacing=5 cellpadding=10 bgcolor="#e0e0e0"
width=500>
<tr>
<td align=middle bgcolor="#ff0000" >
<a href="http://techart.tnua.edu.tw">techart center</a></td>
<td>red color for one cell</td>
</tr>
<tr>
<td align=middle bgcolor="#00ff00" >
<a href="http://music.tnua.edu.tw/">music department</a></td>
<td>green color for one cell</td>
</tr>
<tr>
<td align=middle>
<a href="http://finearts.tnua.edu.tw/">finearts department</a></td>
<td>background color of table (grey)</td>
</tr>
<tr>
<td align=middle>
<a href="http://theatre.tnua.edu.tw/">theatre department</a></td>
<td>background color of table (grey)</td>
<tr bgcolor="#00ffff" ><td align=middle>
<a href="http://dance.tnua.edu.tw/">dance department</a></td>
<td>blue color of the whole row</td>
</tr>
</table>
Example 2: ±_ª¬ªí®æ
<table border=1 cellpadding=5>
<tr><td>³æ¦ì</td>
<td>ip</td>
<td>Ápµ¸¤H</td>
<td>ºô¸ô³]³Æ¤Î¦aÂI</td>
</tr>
<tr><td>¹qºâ¤¤¤ß¥D¾÷</td>
<td>192.192.10.1</td>
<td>
<table border=1>
<tr><td>³\Þm«° Tel: 893-8818</td></tr>
<tr><td>email: chw@ccnia.tnua.edu.tw</td></tr>
<tr><td>¨t²ÎºûÅ@¤uµ{®v</td></tr>
</table>
</td>
<td align=center>
<table border=1>
<tr><td>ccnia.tnua.edu.tw</td></tr>
<tr><td>«¬¸¹<td>ibm 930</td> </tr>
</table>
</td>
</tr>
</table>
³æ¦ì
IP
Ápµ¸¤H
ºô¸ô³]³Æ¤Î¦aÂI
¹qºâ¤¤¤ß¥D¾÷
192.192.10.1
Sampson Tel: 2896-1000
Email: www@ccnia.tnua.edu.tw
¨t²ÎºûÅ@¤uµ{®v
Example 3: Span-tables: colspan ¸ó¦æªí®æ
<table border=1 cellpadding=2>
<tr><td colspan=2 ÃÀ³N»P¬ì§Þ¤¤¤ß</td></tr>
<tr><td>¤p¤û¦Ñ®v</td>
<td>¹q¸Ü : 1234</td>
</tr>
</table>
ÃÀ³N»P¬ì§Þ¤¤¤ß
¤p¤û¦Ñ®v
¹q¸Ü : 1234
Example 4: Span-tables: rowspan ¸ó¦Cªí®æ
<table border=1 cellpadding=2>
<tr><td rowspan=2 >ÃÀ³N»P¬ì§Þ¤¤¤ß</td>
<td>¤p¤û¦Ñ®v</td>
</tr>
<tr><td>¹q¸Ü : 1234</td></tr>
</table>
ÃÀ³N»P¬ì§Þ¤¤¤ß
¤p¤û¦Ñ®v
¹q¸Ü : 1234
Example 5: µLÃ䪺¦³¦âªí®æ
<table border="0" width="400" bgcolor=#ffffff>
<tr bgcolor="#588ccc" ><td><font color="#ffffff">½Ò µ{</font></td></tr>
<tr><td>¹q¸£Ã¸¹Ï»P¼v¹³³B²z</td></tr>
<tr> bgcolor=#eeeeee ><td>WWW Home Page ªº³]p </td></tr>
<tr><td>¹q¸£ºô¸ôªº°ò¥»·§©À»PÀ³¥Î</td></tr>
<tr bgcolor="#588ccc"><td><font color="#ffffff">µÛ §@</font></td></tr>
<tr><td>¤ºÁY»P¶N±i</td></tr>
<tr bgcolor=#eeeeee><td>¾ðªL¸Ì©ñ·ºå</td></tr>
<tr><td>§Ṳ́£¥u¬O¼Æ¦r</td></tr>
<tr bgcolor=#eeeeee><td>©¹¡Bºô¡BÃS¡B±¦¡BªP</td></tr>
<tr bgcolor="#588ccc"><td><font color="#ffffff">¿³ ½ì</font></td></tr>
<tr><td>¤£ °È ¥¿ ·~</td></tr>
<tr bgcolor=#eeeeee><td>¨ì ³B ¬y ®ö</td></tr>
</table>
½Ò µ{
¹q¸£Ã¸¹Ï»P¼v¹³³B²z
WWW Home Page ªº³]p
¤¬°Ê¦¡¦h´CÅé¨t²Î»s§@»PÀ³¥Î
µÛ §@
¤ºÁY»P¶N±i
¾ðªL¸Ì©ñ·ºå
§Ṳ́£¥u¬O¼Æ¦r
©¹¡Bºô¡BÃS¡B±¦¡BªP
¿³ ½ì
¤£ °È ¥¿ ·~
¨ì ³B ¬y ®ö
Example 6: ªí®æªº®ØÃäÃC¦â³]©w
<table bordercolor=#aa0000 border=10 >
<tr><td>¦ç¯Á¤Ç¨È</td>
<td>¯Á°¨§Q¨È</td>
</tr>
<tr><td>«n´µ©Ô¤Ò</td>
<td>«O¥[§Q¨È</td>
</tr>
</table>
¦ç¯Á¤Ç¨È
¯Á°¨§Q¨È
«n´µ©Ô¤Ò
«O¥[§Q¨È
Example 7: §Q¥ÎVALIGN¤ÎWIDTH¨Ó¹F¨ì¤å³¹¹ï¦ì¤§®ÄªG
<table width="500" border="0" cellpadding="10" cellspacing="0">
<tr>
<td width="130" valign="top" >
<a href="http://techart.tnua.edu.tw/1_labs/digiart.html">¼Æ¦ìÃÀ³N¹êÅç«Ç</a></td>
<td width="20"></td>
<td width="350" valign="top" >
¼Æ¦ìÃÀ³N¹êÅç«Ç¥Dn©v¦®¤D±N¿n·¥¶}©Ý¼Æ¦ìÃÀ³N¦UÃþ«¬³Ð§@
¤§¥i¯à©Ê¡A¥]¬A¼Æ¦ì¼v¹³¡þ°Êµe¡B¦h´CÅé³Ð§@¡B¤¬°Ê¸Ë¸m¡B
ºô¸ôÃÀ³N¡B¤¬°Ê¸Ë¸m»P¤½¦@ªÅ¶¡µ²¦Xµ¥³Ð§@¤§¥i¯à©Ê¡A¥¼¨Ó
ÂǵۼƦìÃÀ³N¹êÅç«Ç¤§³]¸m¿n·¥¶}µo¤£¦P¤¬°Ê¦¡¤¶±§Þ³N¡CC<p> </td>
</tr>
<tr>
<td width="130" valign="top">
<a href="http://techart.tnua.edu.tw/1_labs/digimusic.html">¹q¸£µ¼Ö¹êÅç«Ç</a></td>
<td width="20"></td>
<td width="350" valign="top">
¹q¸£µ¼Ö¡B¬ì§Þµ¼Ö¬O¥þ²y¼Ö¾Â¤§¤j¶Õ©ÒÁÍ¡A¨S¦³¹q¸£µ¼Ö
¤è±ªº¥ý¶iµo®i¡A»OÆW±NÄ~ÄòµLªk¥´¤J°ê»Ú³Ð§@¼Ö¾Â¡C§@¬°
»OÆWªº¤@Ó¹q¸£µ¼Ö±M·~¬ãµo²Õ´¡A§Ṵ́t¦X±Ð¨|³¡©Ò±À®i
ªº¡u±Ð¾Ç¨ô¶Vpµe¡v´£¥X¡u¹q¸£µ¼Ö³Ð·N¤ä´©pµe¡v¡A¨ÃÂX
¤j¦¨¥ß¡u¹q¸£µ¼Ö¡v¹êÅç«Ç¡C<p></td>
</tr>
</table>
¼Æ¦ìÃÀ³N¹êÅç«Ç
¼Æ¦ìÃÀ³N¹êÅç«Ç¥Dn©v¦®¤D±N¿n·¥¶}©Ý¼Æ¦ìÃÀ³N¦UÃþ«¬³Ð§@
¤§¥i¯à©Ê¡A¥]¬A¼Æ¦ì¼v¹³¡þ°Êµe¡B¦h´CÅé³Ð§@¡B¤¬°Ê¸Ë¸m¡B
ºô¸ôÃÀ³N¡B¤¬°Ê¸Ë¸m»P¤½¦@ªÅ¶¡µ²¦Xµ¥³Ð§@¤§¥i¯à©Ê¡A¥¼¨Ó
ÂǵۼƦìÃÀ³N¹êÅç«Ç¤§³]¸m¿n·¥¶}µo¤£¦P¤¬°Ê¦¡¤¶±§Þ³N¡C
¹q¸£µ¼Ö¹êÅç«Ç
¹q¸£µ¼Ö¡B¬ì§Þµ¼Ö¬O¥þ²y¼Ö¾Â¤§¤j¶Õ©ÒÁÍ¡A¨S¦³¹q¸£µ¼Ö
¤è±ªº¥ý¶iµo®i¡A»OÆW±NÄ~ÄòµLªk¥´¤J°ê»Ú³Ð§@¼Ö¾Â¡C§@¬°
»OÆWªº¤@Ó¹q¸£µ¼Ö±M·~¬ãµo²Õ´¡A§Ṵ́t¦X±Ð¨|³¡©Ò±À®i
ªº¡u±Ð¾Ç¨ô¶Vpµe¡v´£¥X¡u¹q¸£µ¼Ö³Ð·N¤ä´©pµe¡v¡A¨ÃÂX
¤j¦¨¥ß¡u¹q¸£µ¼Ö¡v¹êÅç«Ç¡C
Example 8: §Q¥Î Table ¨Ó§@µe±ºc¦¨ coing2002.zip ¡B
techart.zip
¡± Field & Legend
[»¡©ú] :<fieldset>...</fieldset>¼ÐÅÒ·|¦b°Ï¶ôªº¥~³ò¡A¥[¤W¯x§ÎªºÃ䮨¡AY¥[¤WBackground-colorªºÄݩʡA¥i¥H¨Ï°Ï¶ôªº³]©w§ó¬°©úÅã¡I
Example 1 :
<div style="width:80%">
<fieldset>
<legend align=right >¡iªá·Q¡jÃö´çªá¥cÃÀ³N¸`</legend>
ÀHµÛªá§Çªº½ü´À¡B¤Q¤G¸`®ðªºÂà´«¡A¤Hªº·P±¡¥@¬É·P¨ü¨ì¥~¦bÀô¹Òªº¼vÅT
¡AÅܱoÂ×´I¦Ó¿ñÁï¡C¤å¤H¶®¤h¥u½àªá¥c¡A±`±N¦Û¤v¤Û¤Æ¬°ªá¥c¡Aµ²¦X¤å¾Ç
ªºªíz¡BÃÀ³Nªº®i²{ª@µØ¤Fªáªº·Q¹³ªÅ¶¡¡A¨ä´d³ß¥æÂ´¡BÅܤƸU¤dªº«º®e
¡A»P¤Hªº±¡·P¬Û¦@»ï¡A¿Eµo¤å¾Ç®a»PÃÀ³N®aªº³Ð§@¡C¤£¶È¤å¤H¶®¤h¦p¦¹¡A
§Y¨Ï¬O´¶Ã¹¤j ²³¡A¤]±`¦]ªá¥Í¬¡Åܱo¦hªö¦h«º¡C<p>
¤HÃþªºÃÀ¤å¬¡°Ê³z¹L¥Hªá¬°¥DÃDªº¸àÄÀ¡A§ó ¯à®i²{ÃÀ¤åªººë¯«¼h¦¸¡A¦Óªá
¤]¦]»PÃÀ¤å³Ð§@¬Ûµ²¦X¡A¯d¤U§ó¦h·Q¹³ªºªÅ¶¡¡C
</fieldset>
</div>
¡iªá·Q¡jÃö´çªá¥cÃÀ³N¸`
ÀHµÛªá§Çªº½ü´À¡B¤Q¤G¸`®ðªºÂà´«¡A¤Hªº·P±¡¥@¬É·P¨ü¨ì¥~¦bÀô¹Òªº¼vÅT
¡AÅܱoÂ×´I¦Ó¿ñÁï¡C¤å¤H¶®¤h¥u½àªá¥c¡A±`±N¦Û¤v¤Û¤Æ¬°ªá¥c¡Aµ²¦X¤å¾Ç
ªºªíz¡BÃÀ³Nªº®i²{ª@µØ¤Fªáªº·Q¹³ªÅ¶¡¡A¨ä´d³ß¥æÂ´¡BÅܤƸU¤dªº«º®e
¡A»P¤Hªº ±¡·P¬Û¦@»ï¡A¿Eµo¤å¾Ç®a»PÃÀ³N®aªº³Ð§@¡C¤£¶È¤å¤H¶®¤h¦p¦¹¡A
§Y¨Ï¬O´¶Ã¹¤j ²³¡A¤]±`¦]ªá¥Í¬¡Åܱo¦hªö¦h«º¡C
¤HÃþªºÃÀ¤å¬¡°Ê³z¹L¥Hªá¬°¥DÃDªº¸àÄÀ¡A§ó ¯à®i²{ÃÀ¤åªººë¯«¼h¦¸¡A¦Óªá
¤]¦]»PÃÀ¤å³Ð§@¬Ûµ²¦X¡A¯d¤U§ó¦h·Q¹³ªºªÅ¶¡¡C
Example 2:
<fieldset>
<legend>2003/4/17</legend>
<p>¥Hªá¤§¤â¡A±À¶}¬K¤Ñ»P¤j¦a¡A¥ý©ñ¤@ÂI¶³»P³¾¨à¶i¨Ó¡A¦AÅý¥@¬É¿ñÁï¥X¥h¡K¡K
</fieldset>
2003/4/17
¥Hªá¤§¤â¡A±À¶}¬K¤Ñ»P¤j¦a¡A¥ý©ñ¤@ÂI¶³»P³¾¨à¶i¨Ó¡A¦AÅý¥@¬É¿ñÁï¥X¥h¡K¡K
Example 3 :
¡± Fragment Indentifiers
[»¡©ú] : Page¶¤ºªº³sµ² (¾A¦X¥Î¦bÁ¿¸qªººô¶¼¶¼g)
Example 1 : ³s¨ì¦P¤@ºô¶ªº¬Y¬q¸¨¤å³¹
(ª`·N:¤W±link»Ý #¡A¤U±³Qlink¤£»Ýn#; ¤W±link¥ÎHREF¡A¤U±³Qlink¥ÎNAME)
<a href="#Font" > [Font Size & Color] ¦r«¬¶i¶¥¨Ï¥Î</a><p>
<a name="Font" > </a>
<h1><font color="#aa0000">¡± font</font></h1>
³s¨ì¥»¥÷Á¿¸qªºFont³æ¤¸
Example 2 : ³s¨ì¤£¦Pºô¶ªº¬Y¬q¸¨¤å³¹
<a href="http://techart.tnua.edu.tw/~suchu/www/java.html#Java(4)">
³s¨ì¥t¤@¥÷JavaÁ¿¸q¤¤ªº"Java¤½¥qºë±m¨Ò¤l"</a>
³s¨ìJavaÁ¿¸q¤¤ªº"Javaºë±m¨Ò¤l"
¡± Image Mapping
[»¡©ú] : ¹ÏÀɤ£¦P¦ì¸mªºLinks
-- shape = rect : mapping ªº½d³ò¬°¯x§Î, mapping¤¤»Ýµ¹¯x§Î¥ª¤W¨¤»P¥k¤U¨¤¤§
¡@®y¼Ð¦ì¸m
-- shape = polygon : mapping ªº½d³ò¬°¦hÃä§Î, mapping¤¤»Ýµ¹¨C³»ÂI¤§®y¼Ð¦ì¸m
-- shape = circle : mapping ªº½d³ò¬°¶ê§Î, mapping¤¤»Ýµ¹¥b®|¤Î¶ê¤ß¤§®y¼Ð¦ì¸m
(¹Ï§Îmapping»Ý¥ý©w¸q)
<map name="xxxx">
<area shape=rect coords="x1,y1,x2,y2" href="url-1">
<area shape=polygon coords="x1,y1,x2,y2 x3,y3 ... ,xn,yn"
href="url-2">
<area shape=circle coords="x1,y1,r" href="url-2">
<area shape=default href="url-n">
<area shape=some-area nohref">
</map>
(¹Ï§Îlink¥ý«e©w¸qªºmapping)
<img src="url" usemap="#xxxx">
Example 1:
<map name=cow-photo>
<area shape=rect coords="15,19,82,117" href="photo-01.html">
<area shape=rect coords="93,18,157,116" href="photo-02.html">
<area shape=rect coords="167,18,234,115" href="photo-03.html">
<area shape=rect coords="245,18,311,116" href="photo-04.html">
<area shape=rect coords="17,137,110,208" href="photo-05.html">
<area shape=rect coords="122,138,213,206" href="photo-06.html">
<area shape=rect coords="223,140,310,207" href="photo-07.html">
<area shape=rect coords="16,226,108,296" href="photo-08.html">
<area shape=rect coords="120,224,212,293" href="photo-09.html">
<area shape=rect coords="224,227,310,293" href="photo-10.html">
<area shape=rect coords="15,320,82,415" href="photo-11.html">
<area shape=rect coords="91,320,160,416" href="photo-12.html">
<area shape=rect coords="168,320,236,417" href="photo-13.html">
<area shape=rect coords="245,319,311,416" href="photo-14.html">
<area shape=default href="try-again.html">
</map>
<img src="photo.jpg" usemap="#cow-photo"></a><p>
¡± iframe (¤º³¡®r¶)
<iframe name="xxxx" src="xxxx.html"
style="left:80px; top:200px; position:absolute; z-index:1; width:160; height:108">
</iframe>
[»¡©ú] : ¦bµøµ¡¤º³¡¤Á¦¨¤j¤p¤£¦Pªº¤lµøµ¡
-- name : ¤lµøµ¡ªº¦WºÙ
-- src : ¤lµøµ¡ªººô¶¨Ó·½
-- left : ¤lµøµ¡¦bÂsÄý¾¹ªº¥ªÃä¦ì¸m
-- top : ¤lµøµ¡¦bÂsÄý¾¹ªº¤WÃä¦ì¸m
-- width | height : ¤lµøµ¡ªº¤j¤p
-- More ¸Ñ»¡
¡± frame (¶±¤À³Î)
<frameset cols|rows frameborder=0 border=0
bordercolor framespacing=0 framepadding=0>
[»¡©ú] : §âµøµ¡¤Á¦¨¤j¤p¤£¦Pªº¤lµøµ¡
-- frameset : ¤Á³Î©w¸q
-- cols | rows = "300,*" ©Î "20%,*" : Áa¦V | ¾î¦V¤Á³Î ¬°300pixels (*ªí¥Ü³Ñ
¡@¤Uªº),©Î¥Î¿Ã¹õ¦Ê¤À¤ñªí¥Ü
-- frameborder = 0 border= n : ©w¸qframeªºÃä¬É¼e«×
¡@ («eforIE, «áfor Netscape)
-- bordercolor : frameªºÃä¬ÉÃC¦â
-- framespacing = n : ¤å¦r¶ZÃä¬É¤§¶¡¶Z
-- framepadding = n : frame »P fame ¶¡¶Z
<frame src="url" name="frame-name" scrolling="yes/no/auto"
noresize marginwidth="value" marginheigh="value">
[»¡©ú] : ¨CÓframe
-- frame : ¨CÓframeªº¤º³¡©w¸q
-- name : frameªº¦W¦r (¥i¨ÑTARGET¨Ï¥Î)
-- src=xxx.html : frame¤¤n³sµ²¨ºÓºô¶
-- scrolling="yes/no/auto" : frame¤¤n¤£nscrollbar
-- noresize : frame¤¤¤¹¤£¤¹³\³QÅܧósize
-- marginwidth = n, marginheigh = n : frame¤º³¡¤å¦r¶Z¥ªÃäÃä¬É»P¤W
¡@±Ãä¬Éªº¶¡¶Z (for IE)
¥Î¤Fbody´N¤£¯à¥Îframe;¥Î¤Fframe´N¤£¯à¥Îbody¡C
¦bFrame¤¤,LinkªºTARGET´y¯À:
"_blank" : load this link into a new unnamed windows
"_self" : load this link over itself
"_parent" : load this link into its parent (½d¨Ò)
"_top" : load this link into top level
Example 1: ¤W¤U¤Á³Î (°O±o¨CÓFrame³£nµ¹Ó¦W¦r)
<frameset rows="40%,*" >
<frame name="top" src="i-can.html">
<frame name="bottom" src="http://www.tnua.edu.tw/">
</frameset>
µù : *ªí¥Ü³Ñ¤Uªº60%¡A name ¥i¥ô·N¨ú§Anªº¦W¦r
Example 2: ¥ª¥k¤Á³Î
<frameset cols="40%,*" >
<frame name="left" src="i-can.html">
<frame name="right" src="http://www.tnua.edu.tw/">
</frameset>
Example 3: ¦h«¤Á³Î
<frameset cols="60%,*">
<frame name="left" src="http://www.tnua.edu.tw/">
<frameset rows="50%,*">
<frame name="top" src="i-can.html">
<frameset cols="50%,*">
<frame name="home-1" src="menu.html">
<frame name="home-2" src="http://techart.tnua.edu.tw">
</frameset>
</frameset>
</frameset>
Example 4:
<a href=http://techart.tnua.edu.tw/~suchu/graphics target=frame-name >
(ª`·Nºô¶¥ªÃäFrame¤¤ªº³sµ²,¥ÎTARGET°Ñ¼Æ«ü¨ì¥kÃäFramªº¦W¦r)
Example 5: ¨S¦³¬É½uªºFrame¼gªk
<frameset cols="131,*" frameborder="0" border="0" >
<frame src="menu.html" name="menu" scrolling="no"
noresize maginwidh="0" marginheight="0">
<frame src="home.html" name='home'
marginheight="20" marginwidth="20" >
</frameset>
Example 6: ¨S¦³Frame®Ø¡B¨S¦³¬É¶Zªº¼gªk¡A¾A¥Î©ó IE »P Netscape
<frameset cols="130,420" border="0" frameborder="0" framepadding="0" framespacing="0">
Example 7:
<frameset cols="10%,200,1*,2*"> ªí¥Ü¤Á³Î¬°10%,200pixel,³Ñ¤uªº§@ 1 ¤ñ 2 µ¥¥÷
¡± Meta (»Ý©ñ©ó HEAD ¤º)
<meta http-equiv="Refresh" content="2;url=http://techart.tnua.edu.tw">
[»¡©ú]: 1. ¨Ï¤@ºô¶°±¯d´X¬í«á¦Û°Ê¤Á´«¨ì¥t¤@ºô¶¡A
¡@¡@¡@¡@©ÎÂsÄý®É¶¡¶W¹L³]©w®É¶¡¡A¥²¶·«·sreload
<meta http-equiv="Refresh" content="text/html; charset=big5 ">
[»¡©ú]: 2. «Å§iºô¶¤ºªº¤å¦r¼Ò¦¡
<meta name="author" content="§@ªÌ¦WºÙ">
[»¡©ú]: 3. «Å§iºô¶¤ºªº§@ªÌ
<meta name="description" content="ºô¶´yz">
[»¡©ú]: 4. «Å§iºô¶¤º®eºKn
<meta name="keywords" content="ºô¶keyword">
[»¡©ú]: 5. «Å§iºô¶ÃöÁä¦r
Example 1: (±q¤@ºô¶¦Û°Ê¸õ¨ì¥t¤@ºô¶, ¥Øªº: ¥Î©óºô§}§ó°Ê§iª¾)
<head>
<meta http-equiv="Refresh" content="2; url=http://techart.tnua.edu.tw ">
<title>Table Color Test</title>
</head>
<body bgcolor="#ffffff" text="#000000" vlink="#5a5ad6" alink="#9a9a9a">
<h1>Test Meta with Image</h1>
<img src="Data/cow-bw.gif">
</body>
Example 2: (ÂsÄý®É¶¡¶W¹L³]©w®É¶¡¡A¥²¶·«·sreload)
<head>
<meta http-equiv="Expires" content="Sun, 04 Aug 2001 00:00:00 GMT ">
<title>Meta Test</title>
</head>
Example 3: (¥Øªº¡G«Å§iºô¶¤ºªº¤å¦r¼Ò¦¡)
<meta http-equiv="Content-Type" content="text/html; charset=big5 ">
ª`·N¡G ¦¹ Big5ªº¤å¦r¼Ò¦¡¡A¥i¨Ï¤å¦r¦Û°ÊÁY±Æ¡C¦ýY¦b English Windows
(§Y¨ÏÄ馳·¬¾ô¡B«n·¥¬P¤¤¤å¨t²Î)«h¥u·|¬Ý¨ì"¤f¤f¤f¤f¤f..."ªº¤¤¤å¦r¡C
³Ì¦n¦bEnglish Windows ¤U©Ò¨Ï¥Îªº Browser ¦w¸Ë¦³ Big5¦r«¬¡C)
Example 4: (¥Øªº¡G«Å§iºô¶¤ºªº§@ªÌ¡B¤º®eºõn¡BÃöÁä¦r)
(¥H¤U´yz»Ý¸m©ó HEAD ¤¤)
<meta name="AUTHOR" content="Xiaoniu SuChu Hsu, ¤p¤û">
<meta name="description" content="WWW Home Page Design --
1. ¥»½Òµ{¥Dn¤D¤¶²Ð¦P¾Ç¦p¦ó¹B¥ÎNetscape¨Ó¬d¸ß¥þ¥@¬É¤§¸ê°T.
2. ¾Ç²ß¦p¦ó»s§@ WWW Home Page ªº³]p (¼¶¼gHTMLµ{¦¡).
3. ¨Ã¶i¤@¨B¨Ï¥ÎCGI¡BJava Script¤ÎJavaµ{¦¡§@±M·~ªº³]p¡C">
<meta name="keywords" content="WWW,Netscape,HTML,CGI,Java,
Java Script,Icon,Front Page">
¡± Bookmark Icon (»Ý©ñ©ó HEAD ¤º)
<link rel="shortcut icon" href="My.ico">
<link rel="shortcut icon" href="http://techart.tnua.edu.tw/~suchu/CowDisk.ico">
[»¡©ú]: 1. My.ico¬°¦Û¤v·Ç³ÆlocalªºIcon¹ÏÀÉ
[»¡©ú]: 2. Icon¹ÏÀÉ¥ç¥i¥ÎremoteºÝ¤§¹ÏÀÉ
¡± Marquee °ÊºA¤Þ¨¥ (¥u¾A¦XIE)
<marquee dirction="right / left" scrollamount="1" >
(¼Æ¦r¶V¤p¡A¶VºC)
Example1 : ¸ôÁöÃø¨«¡AÁ`±o¦³¤H¨«¡F«D»Ý¦Ó¨«¡A«D¨D¦Ó¨«¡F¬°¥Í©R¦Ó¨«¡A¬°Ãø¦Ó¨«¡C
<marquee>¸ôÁöÃø¨«¡AÁ`±o¦³¤H¨«¡F«D»Ý¦Ó¨«¡A«D¨D¦Ó¨«¡F¬°¥Í©R¦Ó¨«¡A¬°Ãø¦Ó¨«¡C</marquee>
Example2 :
<marquee direction=right><img src="http://www.google.com/images/logo.gif"></marquee>
¡± ´Ó¤JAdobe Acrobat / Office ÀÉ®×
Example 1: ³sµ²¦¡ªº©I¥s Acrobat xxx.pdf ÀÉ®× (Click«á¥X²{) Click here
<a href=Acrobat.pdf>Click here</a>
¡@(³sµ²¦¡¡A·|©I¥s Acrobat³nÅé§âÀÉ®×¶}¥X¡C)
(¡°ª`·N¡GY¨SÄ馳Adobe Acrobatªº³nÅé¡A«h·|Åܦ¨§â xxx.pdf Save as¤U¨Ó)
Example 2: ³sµ²¦¡ªº©I¥s WORD xxx.doc ÀÉ®× Click here
<a href=word.doc>Click here</a>
¡@(³sµ²¦¡¡A·|©I¥s WORD³nÅé§âÀÉ®×¶}¥X¡C)
(¡°ª`·N¡G¦b Netscape¡A«h·|Åܦ¨§â xxx.doc Save as¤U¨Ó)
Example 3: ³sµ²¦¡ªº©I¥s ¨ä¥LÀÉ®×ÀÉ®×
¡E PowerpointÀÉ®× <a href=powerpoint_file.ppt>powerpoint_file.ppt</a>
¡E ExcellÀÉ®× <a href=excell_file.xls>excell_file.xls</a>
¡E ZipÀ£ÁYÀÉÀÉ®× <a href=winzip.zip>winzip.zip</a>
¡E exeÀɮ׻ݩñ©óftp server <a href=ftp://ftp_server/pub/other.exe>other.exe</a>
¡± Director or Flash Àɮתº¨Ï¥Î
Example 1: ³sµ²¦¡ªº©I¥s Director xxx.dcr ÀÉ®×
Click <a href=whispers.dcr>whispers.dcr</a> to see.
¡@Click whispers.dcr to see.
(¡°ª`·N¡G»Ýn Shockwave ªºplugin³nÅé)
Example 2 : ÁôÂæ¡®i¥Ü Flash File ball.html
(Flash³nÅé¥iª½±µ save¦¨ ¬ÛÃö htmlÀÉ¡A¤£¯à¥Î ³sµ²¦¡ªº©I¥s)
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
id="ball" width="400" height="240">
<param name="movie" value="Data/ball.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#000000">
<embed src="Data/ball.swf" quality="high" bgcolor="#000000"
width="400" height="240" swliveconnect="true" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</embed>
</object>
ª`·N¡Gflashªºhtml½X¥i¦Ûflash³nÅ骽±µpublish¥X¨Ó
(¡°ª`·N¡G»Ýn Flash Player ªºplugin³nÅé)
¡±Sound/Video
[»¡©ú]: ¦UºØ¦h´CÅéÀÉ®×¼½©ñ
¡©³sµ²¦¡¡ª ªº©I¥s ¦h´CÅéÀɮס©¤¬°Ê¦¡¼½©ñ¡ª
<a href="xxx.wav|xxx.mid|xxx.avi|xxx.mov>
1. Sound-example (WAVÁnµÀÉ xxx.wav)
<a href="jungle.wav">1. Sound-example</a>
2. Avi-example (AVI¼v¹³ÀÉ xxx.avi) (¤ý·qÁo ´£¨Ñ)
<a href="morph.avi">2. Avi-example</a>
3. QuickTime-example (QuickTime¼v¹³ÀÉ xxx.mov)
<a href="sample.mov">3. QuickTime-example</a>
¡°Quick Time Player [Download]
4. Mpeg-example (Mpeg¼v¹³ÀÉ xxx.mpg)
<a href="sample.mpg">4. Mpeg-example</a>
¡° Windows Media Player »P Real One Player ¥i¼½©ñ mpeg1, mpeg2ÀÉ®×
¦ýmpeg4¡A»Ý¦w¸ËDivX502Bundle.exe ¼v¹³¸ÑÀ£ÁY³nÅé
¡©ÁôÂæ¡¡ª ªº®i¥Ü¦h´CÅéÀɮס©¦Û°Ê¼½©ñ¡ª (only for Netscape)
1. ÁôÂæ¡I´ºµ¼Ö sound1.html
<bgsound src="jungle.wav" Loop=4> <!----for IE---->
¡©Flash Video (shockwave-flash)¡ª Video¼½©ñ
<object width="425" height="355">
<param name="movie" value="http://www.youtube.com/v/WoUzfIlX_D8&rel=1"></param>
<param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/WoUzfIlX_D8&rel=1" type="application/x-shockwave-flash"
wmode="transparent" width="425" height="350"></embed>
</object>
2. Google Video
<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash"
src="http://video.google.com/googleplayer.swf?docId=507732229697832036&hl=en">
</embed>
¡± ºô¶½s±Æ»P¹ï¦ìÀ³¥Î
Example 01 : §Q¥ÎµL®ØÃäTable»PVALIGN°Ñ¼Æ¨Ó¹F¨ì¹ï¦ìªº®ÄªG
Example 02 : §Q¥Î¤@ӫܤpªº³z©úÀɮרӹF¨ì¹ï¦ì
Example 03 : §Q¥Î Style Sheet ¨Ó¹F¨ì¹ï¦ì
<p style="text-indent:xx% (©Îxxpt) | line-height: xx pt">
½d¨Ò¤@ ¡G FRAMEªº¨Ï¥Î
¡@¡E½d¨Òºô¶§e²{
¡@¡E½d¨Òº¶µ{¦¡ : index.html
¡@¡E½d¨Ò¥ªÃäFrameµ{¦¡ : menu.html
¡@¡E½d¨Ò¥kÃäFrameµ{¦¡ : main.html
¡@¡E½d¨Ò¥ªÃäFrameªº²Ä¤@Ó linkµ{¦¡ : subject1.html
½d¨Ò¤G ¡G ASCC ¤¤¬ã°|¹qºâ¤¤¤ß (¥ÎTABLE¨Ó¹ï¦ì)
¡@¡EASCC ¤¤¬ã°|¹qºâ¤¤¤ß (ºô¶§e²{)
¡@¡EASCC ¤¤¬ã°|¹qºâ¤¤¤ß (ºô¶¤ÀªR)
½d¨Ò¤T ¡G ¥xÆW¤H¤åªÀ·|¹q¤l¼vµ¼Æ¦ì³Õª«À] (¥ÎTABLE¨Ó¹ï¦ì)
¡@¡E¼vµ¼Æ¦ì³Õª«À] (ºô¶§e²{)
¡@¡E¼vµ¼Æ¦ì³Õª«À] (ºô¶¤ÀªR)
¡@¡Eindex.html |
menu.html |
home.html
HTML4 ³Ì·sª©±Ð¾Ô¤â¥U -- ®]¬R ½sĶ (¤å»í)
ºë³qHTML -- ¬xÀA»í¡E½²©÷§¡ (¤å»í)
HTML -- ªL×¥ ½sĶ (ªQ®æ)
WWW ¤§ HTML »P CGI ¼g§@¤j¥þ -- ½²©_¥É¡E³s®¶º~ (²Ä¤Tªi)
Home Page»s§@¹ê°È§Þ¥© (HTML, CGI, Java, VRML) --
Á餹¤¤¡E³¯«Ø»Ê¡E´¿§Ó¥ú (¥ß«Â)
HTML ±Ð¾Ô¤â¥U/¦p¦ó»s§@Home Page -- ¦ó¤ë¼ü (³Í¥ß¸ê°TªÑ¥÷¦³¤½¥q)
WWW ¤Jªù (¬[¯¸»P¨t²ÎºûÅ@) -- ´å¥ú§Ó (ùÖ®p)
JAVA §Þ³N¤â¥U -- (ªQ®æ)
CGI µ{¦¡³]p -- (ªQ®æ)
Web Graphics Bible -- Ron Wodaski (IDG Worldwide)