Background color ေလးကုိေတြ.. button ေလးေတြနဲ႔...ေရြးတာ..ေရးၾကမယ္ေနာ္..။ ညီမေရးသြားမယ့္.. html code ေတြက.. ထူးထူးၿခားၿခားေလးေတြပဲေရးမွာပါ..။ html ရၿပီးသားသူေတြအတြက္ေတာ့.. အဆင္ေၿပမွာပါ...။ မရေသးတဲ့သူေတြကလည္း.. Part (1) က..အၾကမ္းဖ်င္းကုိ..ေလ့လာလိုက္ရင္..သေဘာတရားေတာ့..သိသြားမွာပါ..။ ေအာက္က code ေလးေတြကုိ.. notepad ထဲမွာ copy ကူးၿပီး... buttonbgcolor.html လို႔ save လိုက္ပါ..။ ၿပီးရင္.. save ထားတဲ့.. file ကုိ.. double click ႏွိပ္ၿပီးဖြင့္ၾကည့္လိုက္ပါ.. ^_^
<html>
<body>
<form name="changeColor">
<p><font size="2" face="Verdana,Arial,Helvetica,Sans Serif">Choose
a Background Color: <br> <br> <input type="button" name="colr"
value=" BLUE " onclick="document.bgColor='#0000FF'"> <input
type="button" name="colr" value=" RED " onclick="document.bgColor='#FF0000'">
<input type="button" name="colr" value=" GREEN "
onclick="document.bgColor='#00FF00'"> <input type="button"
name="colr" value=" WHITE " onclick="document.bgColor='#FFFFFF'">
<input type="button" name="colr" value=" BLACK "
onclick="document.bgColor='#000000'"></font> </p> </form>
</body>
</html>
beautiful html code ေတြတင္ရတဲ့.. ရည္ရြယ္ခ်က္ကေတာ့..တခ်ိဳ႔အေရးတၾကီးလိုတဲ့အခါ...အၿမန္ဆံုးသံုးႏိုင္ေအာင္လုိ႔ပါ..
0 comments:
Post a Comment