JSP/2012.04강의(MySQL)
4일차 게시판 입력 폼
Bohemian life
2012. 5. 24. 12:12
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>게시판 입력 폼</title> <style type="text/css"> table{ border: 1px thin red; border-style: solid; padding:10px 10px 10px 10px; background-color:silver; } </style> </head> <body> <form action="day04_insert.jsp"> <table> <tr> <td>글제목</td> <td> <input type="text" name="title" size="20" required="required"> </td> </tr> <tr> <td>글내용</td> <td> <textarea rows="5" name="content"></textarea> </td> </tr> <tr> <td> <input type="submit" value="저장"> </td> </tr> </table> </form> </body> </html>