[Eclipse] HTML5 포맷 Templates에 추가
이클립스에서 아래 메뉴 선택
"Window - Preferences"
"Web - JSP Files - Editor - 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>
댓글
댓글 쓰기