본문 바로가기

웹 프로그래밍31

이클립스 jsp파일 만들때 html5로 설정하기 이클립스 jsp파일 만들때 html5로 설정하기 안녕하세요 이번 글은 jsp 파일을 생성할때 html5 형식의 파일로 생성되게 하는 방법입니다. window - preference를 클릭합니다. Web - jsp files - editor - templates을 클릭합니다. New JSP File(html)을 클릭하고 Edit를 클릭합니다. 표시된 부분을 지우고 OK를 클릭합니다. Apply and Close 를 클릭합니다. 이렇게 하면 jsp 파일을 생성할때마다 html5 표준에 맞춘 jsp 파일이 생성됩니다. jswoo030@gmail.com 으로 질문을 보내시면 빠른 답변을 받으 실 수 있습니다. 2017. 12. 18.
html1208 html 1208 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 CSS 문법, 적용방법 /* Internal */ h2{ background-color: yellow; border: 1px solid red; } This is a heading This is a heading This is a heading Colored by Color Scripter cs 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 선택자 /* 전체 선택 */ *{color:.. 2017. 12. 7.
html 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 DOM /* 요소 선택자 */ div{background-color:skyblue;height:100px} function change_go(){ document.getElementById("mydiv").style.background="yellow"; } /*body 부분의 구조를 읽고 난 뒤에 실행하세요*/ /*페이지 로드 이벤트*/ window.onload=function(){ var btn1=document.getElementById("btn1"); btn1.onclick=function(){ document.getE.. 2017. 12. 6.
html 예제 html 예제 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 Insert title here document.write(" Math Method "); document.write("2의 10승 : "+Math.pow(2,10)+" "); document.write("3,25,9,47,2,5,7 중 가장 큰 수 : "+Math.max(.. 2017. 12. 6.
p 태그 id에 자바스크립트 결과 담기 p 태그 id에 자바스크립트 결과 담기 코드 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 Insert title here //객체 생성 var person=new Object(); person["name"]="최은서"; person["age"]="20"; person["salary"]=3200; document.write(person["name"]+" "); document.write(person.age+" "); document.write(person.salar.. 2017. 12. 6.