-
<input type="button" vaue="버튼내용" onclick="alert(경고창에 뜨는 메세지)">html 2021. 2. 14. 19:14
10.<input type="button" vaue="버튼내용" onclick="alert(경고창에 뜨는 메세지)">
<html> <head> <div> <span> <input type="button" vaue="버튼내용" onclick="alert(경고창에 뜨는 메세지)"> <strong><h1><p>제목입니다.</p></h1></strong> <mata charset="utf-8"> <title>사이트 제목</title> <mata name="description" contest="웹사이트 부제목"> </span> </div> </head> <body> <div> <span> <i><h3><p>본문입니다.</p></h3></i> <input type="email" placeholder="이메일" /> <input type="password" placeholder="비밀번호" /> <button type="submit">로그인</button> </span> </div> </body> <tail> <div> <span> <u><h6><p>마침글입니다.</p></h6></u> <script> </span> </div> </tail> </html>
버튼을 만들어 누르면 경고창이 뜨는 프로그램입니다.
다음 시간을 기대해 주세요!
'html' 카테고리의 다른 글
<u> (0) 2021.02.14 <i> (0) 2021.02.14 <mata name="description" contest="웹사이트 부제목"> (0) 2021.02.14 <title>사이트 제목</title> (0) 2021.02.14 <mata charset= "유니코드"> (0) 2021.02.14