Web Developer's Room
HOME > DHTML サンプル集 > 基本編     

基本編

ページ全体の文字の色を変える

<html>
<body>

<input type="button" value="クリック" onclick="body.style.color='blue'">

</body>
</html>

 サンプル




スポンサードリンク


(C) Web Developer's Room All rights reserved.