[Eclipse] HTML5 포맷 Templates에 추가

이클립스에서 아래 메뉴 선택

"Window - Preferences"

"Web - JSP Files - Editor - Templates"



아래 코드 추가
<%@ page language="java" contentType="text/html; charset=${encoding}" pageEncoding="${encoding}"%>

<!DOCTYPE html>

<html lang="ko-KR">
	<head>
		<meta charset="${encoding}">
		<meta name="viewport" content="width=device-width,initail-scale=1.0"/>
		<title>타이틀${cursor}</title>
	</head>

	<body>
		<header>
		</header>

		<section>
			<article>
			</article>
		</section>

		<footer>
		</footer>
	</body>
</html>

댓글

이 블로그의 인기 게시물

[NSIS] 32비트와 64비트 모듈 등록하는 법. (regsvr32)

[Visual Studio] Windows 7 에서 Visual Studio 6.0 디버그 시 프로세스 좀비되는 증상 해결 방법