코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>HTML input tag - placeholder attribute</title> </head> <body> <form action="/examples/media/action_target.php" method="get"> 이름 : <input type="text" name="st_name" placeholder="홍길동"><br> 학번 : <input type="text" name="st_id" placeholder="2010123456"><br> <input type="submit"> </form> </body> </html>