javascript設定フォントスタイル

1127 ワード






Insert title here

function over(obj){
	obj.style.backgroundColor="blue";
	obj.style.color="white";
}
function out(obj){
	obj.style.backgroundColor="";
	obj.style.color="";
}
function win(){
	p1.style.fontWeight="Bold";//  
	p2.style.fontStyle="Italic";//  
	p3.style.textDecoration="underline";//   
	p4.style.textDecoration="line-through";//   
}
function qs(){
	p1.style.fontWeight="normal";
	p2.style.fontStyle="normal";
	p3.style.textDecoration="none";
	p4.style.textDecoration="none";
}



  ( )
A S 100
B S 80