HTML Basic (1)



 Hyber Text Markup Language 
Tag ဆိုတာဘာလဲ Tag ဆိုတာကေတာ့ ရိုးရိုး Text ေတြနဲ႕ HTML code ေတြကို ခြဲျခားလို႕ရေအာင္လုပ္ထားတာပါ။ဘယ္လိုမ်ဳိးလဲဆိုရင္ေတာ့ <b>This is bold </b> ဆိုရင္ web browser နဲ႕ ၾကည့္ရင္ စာလံုးဟာ bold ျဖစ္ေနပါလိမ့္မယ္။ အဲဒီမွာ <b> နဲ႕ </b> တို႕ဟာ tag ေတြပါ။ အမ်ားအားျဖင့္ tag ေတြဟာ အဖြင့္ နဲ႕ အပိတ္ပါတယ္။ အပိတ္ဆိုရင္ / ေလးခံထားေပးရပါတယ္။

HTML အတြက္ Editor

HTML အတြက္ Editor ေတြ IDE ေတြအမ်ားၾကီးရိွပါတယ္။ သူက HTML မတတ္ရင္ေတာင္ Website တစ္ခုဆြဲလို႕ရပါတယ္။ ဒါေပမယ့္ Dreamweaver ကိုသံုးရင္ေတာ့ HTML code ေတြသိလာမွာ မဟုတ္သလို တျခား website ေတြကို ျပင္ရတာလည္းခက္ပါလိမ့္မယ္။ ကၽြန္ေတာ္တို႕ေတြ သူမ်ားေတြေပးထားတ့ဲ website template ကိုျပင္ခ်င္တယ္။ ကိုယ္ပိုင္ေသေသခ်ာခ်ာ HTML code ေတြကိုသိခ်င္တယ္။ ဒါဆိုရင္ေတာ့ ေလ့လာကာစမွာ Notepad သံုးျပီးေလ့လာပါ။ ေလ့က်င့္ပါ။ HTML က web site ဆြဲရတ့ဲ အထဲမွာအလြယ္ဆုံးနဲ႕ အေျခခံအက်ဆုံးပဲ။ သူ႕ကိုေသေသခ်ာခ်ာနားလည္ထားမွ တျခား web programming ေတြျဖစ္တ့ ဲ PHP, ASP.NET , JSP , Ruy On Rail တို႕မွာ အေထာက္အကူျဖစ္မွာပါ။

HTML ကိုေလ့လာမယ္

1.Starting To Creat and Edit Webpage

Notepad ျဖင့္စတင္ျခင္း
၁. Windows Key + R ကို ႏိွပ္လိုက္ပါ။ Run Dailog Box တက္လာပါမည္။ ထို႕ေနာက္ notepad လုိ႕ရိုက္လိုက္ပါ။
ျပီးလွ်င္ OK ကို ႏိွပ္လိုက္ပါ။ ဒါဆိုရင္ notepad တက္လာပါလိမ့္မယ္။
၂. Notepad ထဲတြင္ Format ေအာက္က word warp ကို check လုပ္ထားပါ ။ ဘာျဖစ္လို႕လည္းဆိုရင္ေတာ့ Word
Warp က Notepad မွာစာရိုက္တာ ျပည့္သြားရင္ ေအာက္တစ္ေၾကာင္း ဆင္းသြားရန္အတြက္ ျဖစ္သည္။

HTML စတင္ေရးသားျခင္း

၁. Notepad ထဲတြင္ အခုလိုေရးသားလိုက္ပါ။

<html>
<head>
<title>This is title</title>
</head>
<body>
This is body
</body>
</html>
HTML နဲ႕ စျပီး HTML နဲ႕ျပန္ပိတ္ရပါတယ္။ အဲဒီၾကားမွာ html code ေတြေရးရပါတယ္။ Head Tag နဲ႕ Head Tag အပိတ္ၾကားတြင္ Title ထည့္ထားသည္ကို ေတြ႕ရမည္။ Title သည္ Browser ၏ ထိပ္bar တြင္
ေတြ႕ျမင္ရန္ျဖစ္သည္။ Body အဖြင့္ နဲ႕ အပိတ္ၾကားမွာ မိမိ၏ ႏွစ္သက္ရာစာမ်ားေရးသားႏိုင္သည္ ။
၂. အဲဒါကို တေနရာ မွာ save သြင္းလိုက္ပါ။ Save Dialog boxတက္လာရင္ filetype ကို All file လို႕ေပးလိုက္ပါ။ file name ကို firstrun.html လို႕ေပးလိုက္ပါ။ firstrun သည္မိမိ၏ ႏွစ္သက္ရာ နာမည္ေပးႏိုင္သည္။ .html သည္ file extension ျဖစ္သည္။ HTML ေရးထားေသာ page မ်ားကို.html ႏွင့္ .htm လို႕ေပးမွသာ browser တြင္ ေပၚပါလိမ့္မည္။
၃. Save သြင္းလိုက္ေသာ file လမ္းေၾကာင္းကို သြားလိုက္ပါ ။ first.html fileေလးကို double click လုပ္ျပီး ဖြင့္လိုက္ပါ ။ဒါဆို page ေလးတစ္ခုတက္လာတာကို ျမင္ရပါမယ္။ထိပ္ပိုင္းတြင္ File ပတ္လမ္းေၾကာင္းကို address barတြင္ေတြ႕ရမည္ျဖစ္သည္။ title tag ထဲတြင္ ေရးထားေသာ This is tileဆိုေသာ စာကို Windos ၏ Title bar ႏွင့္ Tab Title bar တို႕တြင္ေတြ႕ရမည္။ Body tag ထဲတြင္ ေရးထားေသာ This is body ဆိုေသာစာသားကို စာမ်က္ႏွာအျဖဴေပၚတြင္ ေပၚေနသည္ကို ေတြ႕ရမည္ျဖစ္သည္။
ျပင္မယ္ဆိုရင္ေတာ့IE7 မွာဆိုရင္Page > View Source ကိုႏိွပ္လိုက္ပါက Notepad န႕ဲ ကိုယ္ေရးထားတ့ ဲ HTML ပြင့္လာပါမယ္။IE 6 မွာဆိုရင္View > Source ကို ႏိွပ္လိုက္ပါက Notepad နဲ႕ ကိုယ္ေရးထားတ့ ဲ HTML ပြင့္လာပါမယ္။အဲဒီမွာ ေရးထားတ့ ဲ codeေတြကို ဖတ္ႏိုင္သလို ကိုယ့္စက္ထဲမွာေရးထားတ့ ဲ page ဆိုရင္ေတာ့ ျပင္ျပီး တစ္ခါတည္းsave လုပ္ႏိုင္ပါတယ္။ Internet ေပၚက Web site ေတြကိုေတာ့ view > source ကေနဖြင့္ျပင္ျပီး saveလုပ္လို႕မရပါဘူး။

Header Tag

notepad ထဲမွာ ဒီလိုရိုက္လိုက္ပါ
<html>
<head>
<title>Example Of Header</title>
</head>
<body>
<h1>This is Header</h1>
This is normal text
</body>
</html>
အဲဒီ code ေလးကို notepad ထဲမွာထည့္ေရး.. ျပီးေတာ့ run ၾကည့္လိုက္ပါ။ 
 Head Tag ကh1 ကေန h6 အထိ ရိွပါတယ္။ နံပါတ္ၾကီးေလေလ ေသးသြားေလေလပဲ။ h6 ဆိုအေသးဆံုးကို ေရာက္သြားျပီ။ ကဲလက္ေတြ႕ စမ္းၾကည့္ရေအာင္။ notepad ထဲမွာ ေအာက္ကလို ရိုက္ျပီး save လုပ္လိုက္။ ျပီးရင္ ဖြင့္ၾကည့္လိုက္ရင္ေတြ႕ရပါလိမ့္မယ္။
<html>
<head>
<title>Example</title>
</head>
<body>

<h1>H1</h1>
<h2>H2</h2>
<h3>H3</h3>
<h4>H4</h4>
<h5>H5</h5>
<h6>H6</h6>
</body>
</html>
အခုဆို html အေၾကာင္းနည္းနည္း နားလည္လာေလာက္ပါျပီ။ တကယ္တန္းေတာ့ မခက္ပါဘူး။ ဒါကအစပဲရိွပါေသးတယ္။ ဒီေလာက္ေလးနဲ႔ပင္စာေတြပဲပါတ့ ဲ page တစ္ခုေရးလို႕ရေနျပီ။ဒါေပမယ့္လိုအပ္တာေတြရိွေသးတာေပါ့။ အခုဆက္ျပီး bold ၊ italic ၊ underline လုပ္ပံုေလးေတြ ဆက္ေျပာပါမယ္။ လြယ္ပါတယ္။

Line Break

HTML မွာ စာတစ္ေၾကာင္းဆင္းခ်င္ရင္ေတာ့ <br/> ကိုသံုးပါတယ္။ သူ႕မွာ close tag
မပါဘူး။ <br/> ပဲေရးေရး <br> ပဲေရးေရးရပါတယ္။
<html>
<head>
<title>Example</title>
</head>
<body>
First Line<br/>Second Line<br>Third Line
</body>
</html>

Bold, Italic , Underline Tag
bold မို႕လို႕ ကၽြန္ေတာ္တို႕ေတြ <b> ကိုသံုးပါမယ္။ ေနာက္ျပီး italic မို႕လို႕ <i> ေပါ့။ ဒါဆိုရင္ Underline
ကဘာလဲဆိုရင္ သိျပီးသားေလာက္ပါ။ ကၽြန္ေတာ္တို႕ေတြ <u> ကိုသံုးပါမယ္။ အဲဒါကို notepad ထဲမွာ ဒီလိုေရးျပီးrun လိုက္ရင္ရပါတယ္။
<html>
<body>
<b>This is bold</b> <br/>
<i>This is italic</i> <br/>
<u>This is underline</u> <br/>
</body>
</html>
Bold လုပ္မယ္။ ေနာက္ျပီး အဲဒါကို underline သားမယ္။ ဒါမွ မဟုတ္ italic လုပ္မယ္။ အဲလိုမ်ဳိးလုပ္ခ်င္တယ္။ရပါတယ္။ tag ေတြထဲမွာ tag ေတြထည့္လိုက္ေပါ့။ ဒီလိုထည့္လို႕ရပါတယ္။
<i><b>This is bold italic </b></i>
<u><i><b>This is bold italic </b></i></u>
အဲလိုမ်ဳိးေရးလို႕ရပါတယ္။ တခ်ဳိ႕လူေတြက ေမးတတ္တယ္။
<i> နဲ႕စမွ ရမွာလား။ ဒီလိုတိုင္း အစဥ္တိုင္းေရးမွ ရမွာလား။ ေနာက္ျပီး <b><i></b></i> အဲလိုမ်ဳိးေတြေကာပိတ္လို႕မရဘူးလား။ဘာနဲ႕ စစရပါတယ္။ အစဥ္တိုင္းမဟုတ္ပဲ <b><i> This is bold italic </i></b> လို႕ေရးလည္းျဖစ္ပါတယ္။ေနာက္ျပီး tag အဖြင့္ေတြ အပိတ္ေတြက ၾကိဳက္သလိုျဖစ္ေနလို႕ရပါတယ္။ ဒါေပမယ့္ structure က်က်ေလး။ပံုစံက်က်ေလး ျဖစ္ေနရင္ေကာင္းတာေပါ့။ ေနာက္မို႕ဆို code ကိုျပန္ဖတ္ရခက္တာေပါ့။

Pre Tag

ကၽြန္ေတာ္တို႕ေတြ စာတစ္ေၾကာင္းဆင္းရမွာ မၾကိဳက္ဘူး။ Enter ေခါက္လိုက္ရံုနဲ႕တင္ တစ္ေၾကာင္းဆင္းခ်င္တယ္။
အလြယ္ဆံုး နည္းလမ္းကေတာ့ dream weaver သံုးလိုက္ျခင္းပဲ။ အဲဒါဆိုရင္ေတာ့ HTML
နားလည္မွာမဟုတ္ေတာ့ဘူး။ ေနာက္တစ္နည္းကေတာ့ <pre> ပါ။ ဒါေပမယ့္ သူက font ပံုစံေျပာင္းသြားတယ္။
အဲဒါက ကိစၥ မရိွပါဘူး။ ေနာက္ပိုင္း font ေတြဘယ္လိုေျပာင္းရလဲ ဆိုတာသိလာရင္ လာျပင္လုိက္လို႕ရပါတယ္။
ေနာက္ျပီး <pre> မွာ သူက tab ေခါက္ထားတာေတြ အစသိပါတယ္။
<html>
<head>
<title>Example</title>
</head>
<body>
<pre>Pre Tag, Now Enter
Now Tab Tab
</pre>
</body>
</html>

Paragraph Tag
ကၽြန္ေတာ္တို႕ေတြ စာေတြကို paragraph ပံုစံေရးခ်င္တယ္။ စာပိုဒ္ေတြနဲ႕ ေရးမယ္ေပါ့။ ဒါဆိုရင္ <p>
ကိုသံုးလို႕ရပါတယ္။ သူက အပိတ္ tag မပါလည္းရပါတယ္။ ထည့္ရင္ေတာ့ ပိုေကာင္းတာေပါ့။
<html>
<head>
<title>Example</title>
</head>
<body>

<h1>About Notepad</h1>
<p>Notepad is a basic text editing program and it is most commonly used to view or edit
text files. A text file is a file type typically identified by the .txt file name extension.</p>
<b> How do I change the font style and size?</b>
<p>Changes to the font style and size affect all the text in the document.<br/>
Click the Format menu, and then click Font.<br/>
Make your selections in the Font, Font style, and Size boxes.<br/>
An example of how your font will look appears under Sample.<br/>
When you are finished making font selections, click OK.<br></p>
</body>
</html>

Horizonal Line
ကၽြန္ေတာ္တို႕ေတြ horizonal မ်ဥ္းသားခ်င္တ့ ဲ အခါမွာ သုံးလို႕ရပါတယ္။ သုံးပုံသုံးနည္းကေတာ့ <hr> ပါပဲ။ close tag မပါပါဘူး။
<html>
<head>
<title>Example</title>
</head>
<body>

<h1>About Notepad</h1>
<p>Notepad is a basic text editing program and it is most commonly used to view or edit
text files. A text file is a file type typically identified by the .txt file name extension. </p>
<hr>
<h1> How do I change the font style and size?</h1>
<p>Changes to the font style and size affect all the text in the document.<br/>
Click the Format menu, and then click Font.<br/>
Make your selections in the Font, Font style, and Size boxes.<br/>
An example of how your font will look appears under Sample.<br/>
When you are finished making font selections, click OK.<br></p>
</body>
</html>
အထက္ပါ code ကို run လိုက္ရင္ ဒီလိုျမင္ရမယ္။ အဲမွာ <hr> ထည့္ထားတ့ေဲ နရာက line ေလးတားထားတာကို
ျမင္ရပါလိမ့္မယ္။

Attribue
ကၽြန္ေတာ္တို႕ေတြဟာ tag ေတြမွာလည္း attribute ေတြထည့္ျပီး သံုးႏိုင္ပါတယ္။ attribute ဆိုတာကေတာ့ အဲဒီtag ပိုင္ဆိုင္တ့ ဲ properties ေပါ့။ tag တိုင္းမွာေတာ့ attribute မရိွပါဘူး။ အခု ဦးစြာ အရင္ဆုံး body မွာပါတဲ့ colorattribute အေၾကာင္းေလးနဲ႕ စလိုက္ရေအာင္။

Body Color
<html>
<head>
<title>Example</title>
</head>
<body bgcolor=silver>
Body BGCOLOR
</body>
</html>
အဲဒီcode ေလးကို run လုိက္ရင္ေတာ့ အရင္ကလို background color က အျဖဴေရာင္မဟုတ္ေတာ့ပဲ
စိမ္းႏုေရာင္ေလးျဖစ္ေနတာကိုေတြ႕ရပါမယ္။ေအာက္က Table မွာ အသုံးမ်ားတ့ ဲ color 16 ေရာင္နာမည္
ေတြပါ
Silver
Gray
Maroon
Green
Navy
Purple
Olive
Teal
White
Black
Red
Lime
Blue
Magenta
Yellow
Cyan
ကၽြန္ေတာ္တို႕ေတြဟာ color ေတြကို code အေနနဲ႕လည္း အသံုးျပဳႏိုင္ပါတယ္။ သံုးရမွာကေတာ့ RGB color ပါ။Hex code number ကိုအသံုးျပဳရပါတယ္။ #FF0000 ဆိုရင္ေတာ့အနီေရာင္ပါ။ ေရွ႕ဆံုး ၂ လံုးက အနီေရာင္ျဖစ္ျပီးအလယ္ ၂ လံုးက အစိမ္းေရာင္ပါ။ ေနာက္ဆံုး ၂လံုးကေတာ့ အျပာေရာင္ေပါ့။ အဲဒီ အေရာင္ ၃ေရာင္ကို စပ္ျပီးသုံးရပါတယ္။ တကယ္လို႕ color ေတြကို မသိဘူးဆိုရင္ photoshop ကေနလည္း ၾကိဳက္ႏွစ္သက္တ့ ဲ အေရာင္ကိုယူျပီးသံုးႏိုင္ပါတယ္။ ဘယ္လိုယူရမလဲဆိုရင္ေတာ့ အရင္ဆံုး photoshop ကိုဖြင့္လိုက္။ ဘယ္ဘက္ ေအာက္နားမွာcolor ေရြးဖို႕ေလးပါတယ္။အဲဒါေလးကို double click လုပ္လိုက္ပါ။ color dialog box တက္လာပါမယ္။ ျပီးရင္ ႏွစ္သက္ရာ အေရာင္ေရြးပါ။color အေရာင္ေရြးျပီးရင္ ေအာက္နားမွာ hex code ေလးကို copy ကူးလိုက္ရံုပါပဲ။ ကၽြန္ေတာ္တို႕ေတြ colorအေနနဲ႕သံုးခ်င္ရင္ # ေလးကို ေရွ႕မွာ ခံျပီးသံုးလိုက္ရံုပါပဲ။
<html>
<head>
<title>Example</title>
</head>
<body bgcolor=#e5bb2c>
Body BGCOLOR Hex code
</body>
</html>

အခုဆိုရင္ေတာ့ attribute ပိုင္း နဲ႕ color ပိုင္းေလးကို နည္းနည္းပါးပါးသိေလာက္ျပီလို႕ထင္ပါတယ္။ attributeထည့္လို႕ရတ့ ဲ tag ေတကြ လည္း အမ်ားၾကီးရိွပါေသးတယ္။ ျဖည္းျဖည္းျခင္း ေျပာျပသြားမယ္။ အခု ေနာက္ထပ ္ tagတစ္ခုျဖစ္တ့ ဲ <hr> ရဲ႕ attribute အေၾကာင္းေလးေျပာပါမယ္။

Hr Attribute
ကၽြန္ေတာ္တို႕ေတြဟာ tag တစ္ခုရဲ႕ေနာက္မွာ attribute တစ္ခုထက္မက လိုက္လို႕ရပါတယ္။ tag ေတြေနာက္မွာattribute တစ္ခုထက္မကပါတာေတြကို ေနာက္ပိုင္းမွာေတြ႕ရပါလိမ့္မယ္။ အခုေတာ့ hr အေၾကာင္းေလးဆက္ရေအာင္။
<html>
<head>
<title>Example</title>
</head>
<body bgcolor=#e0e0e0>
Default HR
<hr>
Hr with size=1
<hr size=1>
Hr with size=5
<hr size=5>
Hr with size=10
<hr size=10>
Hr with size=10 and noshade
<hr size=10 noshade>
Hr with size=5 and color
<hr size=5 color=#D60000>
</body>
</html>
အဲမွာsize ကေတာ့အရြယ္အစားပါ။ noshade ဆိုတာကေတာ့ shade မပါတ့ဲဟာကို ေျပာတာပါ။ ေျဗာင္    ၾကီးေပါ့။color ကေတာ့ မိမိၾကိဳက္ႏွစ္သက္တ့အဲ ေရာင္ထည့္လို႕ရပါတယ္။

List
List ပိုင္းမွာ order list နဲ႕ unorder list ဆိုျပီးရိွပါတယ္။ တနည္းအားျဖင့္ နံပါတ္စဥ္နဲ႕ list နဲ႕ နံပါတ္စဥ္ေတြမပါတ့ ဲlist ေပါ့။ေနာက္ျပီး defination list ဆိုတာရိွပါေသးတယ္။ လူသံုးနည္းပါတယ္။ ပထမဆံုး unorder listအေၾကာင္းေလးသြားရေအာင္။
Unorder list
<html>
<head>
<title>Example</title>
</head>
<body>
<h3>Unorder List</h3>
<ul>
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ul>
</body>
</html>
<ul> က unorder list ပါ။ <li> ကေတာ့ list ေပါ့။ list ၁ ခုပဲဆိုရင္ <li>1</li>။ ၂ခုဆိုရင္ <li>1</li>
<li>2</li> လို႕ေရးပါတယ္။ အေပၚက code ကို run လုိက္ရင္ list ေလးေတြကို ျမင္ရမွာပါ။ အကုန္လံုးကအဝိုင္းေလးေတြနဲ႕ List ပါပဲ။ ကဲ အခု attribute ေလးထည့္ျပီး ပံုစံေျပာင္းၾကည့္ရေအာင္။
<html>
<body>
<h3>Unorder List</h3>
<h5>Disc</h5>
<ul type="disc">
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ul>
<h5>Square</h5>
<ul type="square">
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ul>
<h5>Circle</h5>
<ul type="circle">
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ul>
</body>
</html>
unorder list မွာ disc, square, circle ဆိုျပီး ၃ မ်ဳိးေျပာင္းလို႕ရပါတယ္။ default ကေတာ့ disc ပါ။
Ordered List
<html>
<head>
<title>Example</title>
</head>
<body>
<h3>Ordered List</h3>
<ol>
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ol>
17 | P a g e HTML BY SATURNGOD
http://saturngod.mysteryzillion.com
</body>
</html>
<ol> ကေတာ့ order list ပါ။ အဲဒီ code ေလးကို run လိုက္ရင္ နံပါတ္ အစဥ္လိုက္ေပၚလာပါလိမ့္မယ္။ သူ႕မွာလည္း
attribute ေတြရိွပါတယ္။
<html>
<head>
<title>Example</title>
</head>
<body>
<h3>Ordered List</h3>
<ol type="1">
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ol>
<h5>Type A</h5>
<ol type="A">
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ol>
<h5>Type a</h5>
<ol type="a">
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ol>
<h5>Type a</h5>
<ol type="I">
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ol>
<h5>Type i</h5>
<ol type="i">
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ol>
</body>
</html>
Order List တြင္လည္း Unorder List က့ဲသ ို႕ပင္ type မ်ားရိွပါတယ္။
အဲဒါေတြကို အေပၚက code မွာ ေဖာ္ျပထားပါတယ္။ order list က unorder
list နဲကမတူတ့ ဲ အခ်က္ကေတာ့ နံပါတ္စဥ္လိုက္ျဖစ္ပါတယ္။ မိမိၾကိဳက္တ့ ဲ
နံပါတ္ကေန စႏိုင္တယ္။ မိမိၾကိဳက္တ့ ဲ နံပါတ္ကစႏိုင္ဖို႕ start ဆိုတ့ ဲ attribute
ကိုသံုးႏိုင္ပါတယ္။
<ol type="A" start=4> မွာဆိုရင္ေတာ့ D ကေနစမွာပါ။ ဒါဆိုရင္ေတာ့
HTML န႕ဲ list ေတြပါတ့ ဲ web page ေလးေရးလို႕ရျပီေပါ့။ ေနာက္ထပ္ list
တစ္ခုက်န္ပါေသးတယ္။ definition list ပါ။
Definition List
အမ်ားအားျဖင့္ အဓိပၸာယ္ဖြင့္ဆိုခ်က္ေတြမွာ သံုးပါတယ္။
<html>
<head><title>Example</title></head>
<body>
20 | P a g e HTML BY SATURNGOD
http://saturngod.mysteryzillion.com
<h3>Definition List</h3>
<dl>
<dt>HTML
<dd>Language used to develop Web Pages
<dt>Image
<dd>Any graphic such as an icon,bullet, line, photo , or illustration
</dl>
</body>
</html>
Defination List က အျခား List ေတြနဲ႕ မတူပါဘူး။ သူ႕မွာက defination term နဲ႕ defination ပါ ပါတယ္။
စရင္ေတာ့ dl နဲက စရပါတယ္။ defination term ကိုေတာ့ <dt> အသံုးျပဳျပီး defination ကိုေတာ့ <dd>
သံုးပါတယ္။ သူက အျခား list နဲ႕မတူတ့ ဲ ေနာက္တစ္ခ်က္ကေတာ့ tag အပိတ္မပါတာပဲ။ </dl>
တစ္ခုပဲပါတယ္ဆိုတာကို ေတြ႕ႏိုင္ပါတယ္။
ကဲ... အခုဆိုရင္ေတာ့ HTML ကိုအၾကမ္းအားျဖင့္ေလာက္ေတာ့ သိေလာက္ျပီေပါ့။ အခုကၽြန္ေတာ္တို႕ေတြ
ေနာက္ထပ္ ေသေသခ်ာခ်ာ သိရေအာင္ ေနာက္ထပ္ တစ္ခန္းသြားရေအာင္။


Comments

Popular posts from this blog

Computer Basic-3 (CPU)

Memory Stick ထဲ မှVirus ကြောင့် ဖိုင်များ ပျောက်သွားရင် အလွယ်တကူ ရှာနည်း

Basic Network Communications(အခြေခံ Network ချိတ်ဆက်ခြင်း)