코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>HTML5 Input Attributes</title> </head> <body> <h1>placeholder 속성을 이용한 힌트 제공</h1> <form action="/examples/media/request.php"> 사용자 : <input type="text" name="username" placeholder="홍길동"><br> 비밀번호 : <input type="password" name="password" placeholder="1234"><br><br> <input type="submit" value="전송"> </form> </body> </html>