[01] JSP Template 설정 - JSP 선어문(Page Directive)는 모든 JSP가 동일해야한다. 그렇지 않으면 SSI사용시 에러가 발생함. - 새 jsp 파일을 만들 때 기본 형식을 지정하고 싶을 때 사용한다. 01) JSP Template의 지정 [Window --> Preferences --> Web --> JSP Files --> Editor --> Templates] - Name : JSP_HTML5 Context: New JSP Description: 새로운 HTML5 기반 JSP 생성시 기초 소스 ---------------------------------------------------------------------------------------------- >>>>> ..
뚜둔~! 참고가능 https://www.w3schools.com/
[1] margin, padding - margin과 패딩의 값설정방법 4개짜리 : 위부터 시계방향(top-right-bottom-left) 3개짜리 : 위-좌우 같은값-아래 2개짜리 : 위아래 같은값-좌우 같은값 1개짜리 : 모두 같은값 [2] Border Style p { border-top-style: dotted; border-right-style: solid; border-bottom-style: dotted; border-left-style: solid;} [4] Outline Style p{border:1px solid red;outline:green dotted thick;}
- HTML elements 에 Style을 적용하기 위한 3 ways Inline - using a style attribute in HTML elements Internal - using a element in the HTML This is a headingThis is a paragraph. 인라인 : html 요소 안에다 그냥 씀 인터널 : This is a paragraph.This is a paragraph.This is a paragraph.I am different. [2] class속성 이용하기-class가 같다면 그 class를 가진 태그들은 모두 변경된다 This is a paragraph.This is a paragraph.I am different.This is a paragrap..