텍스트가 집중되면 텍스트가 사라지고 텍스트가 초점이 맞지 않으면 텍스트가 나타납니다. <! docType html> <html> <head> <meta charset = "utf-8"> onoff = true; otext.color = "#000"; otext.onfocus = function () {if (onoff) {this.value = "; "; Onoff = true;}} </script> </body> </html> 사라집니다