반응형
    
    
    
  
안녕하세요.
html5의 <input> 태그는 다양한 속성을 지원합니다.
<input> 태그를 사용하여 사용자의 입력을 처리할 수 있습니다.
<input> 태그의 type="image" 속성을 사용하여 이미지를 넣을 수 있습니다.
| 
 1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
 | 
 <!DOCTYPE html> 
<html> 
    <head> 
        <title>codeomni.tistory.com html5 input image button 이미지 버튼 소스 코드 예제</title> 
        <style> 
            body { 
                background-color: #9adaca; 
            } 
        </style> 
    </head> 
    <body> 
        <div> 
            <h1>codeomni.tistory</h1> 
            <input type="image" name="button" src="image.jpg"> 
        </div> 
    </body> 
</html> 
 | 
cs | 
실행 화면입니다.
댓글