
Thymeleaf서버 사이드 Java 템플릿 엔진. HTML, XML, JavaScript, CSS 등과 같은 웹 페이지를 생성하는 데 사용자바 코드와 함께 사용되는 것이 아니라 HTML과 같은 템플릿 파일에 태그를 추가하여 사용\-include-head.html\-i

1. 함수에 변수 추가 th:onclick="함수명([[${파라미터명.value값}]])" <button type="button" class="btn btn-outline-danger btn-sm" th:onclick="deleteOrder([[${item.oid}

th:attr : HTML 요소에 속성을 추가하거나 변경하는 데 사용되는 속성HTML 속성뿐만 아니라, CSS 스타일 및 데이터 속성도 포함th:attr="속성명=${조건 ? true일 경우 : false일 경우}" th:classappend : HTML 요소에 클래스


1. header.html <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> <body> <header th:fragment="header(h1,p)"> <div class="t

### 7. html 6-1) `table`에서 th:each문 ```html <tr th:each="item, i : ${memberList}"> <td th:text="${item.name}"></td> </tr> ``` 6-2) `select`에서 th:eac