자바랑 xhtml로 이거 만드는거 배우는데 맨날 쳐자서 하나도 모르겠어요 ㅠㅠ

RGB 16진수 입력이랑 아래에 textarea 에 어떻게해야 출력되는지 거리를 잘 모르겠어요 ㅠㅠ
도와주세요 ㅜㅜ


이건 제가 발로만든 태그에요.. 도와주세요


--------------------------

<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"
  \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
  <html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"ko\" lang=\"ko\">
   <head>

   </head>
  <body>

    < language=\"\">
 
function colorChange1(c){document.bgColor=c.value;}
function colorChange2(){document.bgColor=\'\"#\"+\"r\"+\"g\"+\"b\"\';}
    </>

 

 <form name=\"form1\">
<input type=\"text\" name=\"color1\" /><input type=\"button\" name=\"b1\" value=\"색변경\" =\"colorChange1(document.form1.color1);\" /><br /><br />
R: <input type=\"text\" name=\"r\" /> G: <input type=\"text\" name=\"g\" /> B: <input type=\"text\" name=\"b\" />
<input type=\"button\" value=\"색변경\" =\"colorChange2();\" /> <br /><br />
<textarea cols=100 rows=10>document.write(\"색상이 +\"b1\"+(으)로 변경되었습니다.\")</textarea>
</form>

 

 

   </body>
</html>