TIL - 42
Inline(인라인 요소)
a 태그 (achor)
- 다른 URL로 링크를 걸 수 있다.
- a href= "링크 URL" -> 최신 html5 에서는 생략가능하다.
- target 링크 URL의 표시(브라우저 탭) 위치:
target="_self" ->현재창에 띄움(디폴트값)
target="_blank" -> 새 탭에 링크 띄움
표 만들기
- table를 부모요소로 태그한다.
- 테이블의 자식 요소로 tr 넣는다 (tr은 세로칸을 나타낸다)
- tr의 자식요소로 td를 넣는다 (td 가로칸을 나타낸다)
<table>
<tr>
<th>ID</th>
<th>Name</th>
<th>Price</th>
</tr>
<tr>
<td>F123A</td>
<td>Apple</td>
<td>$22</td>
</tr>
<tr>
<td>F098B</td>
<td>Banana</td>
<td>$19</td>
</tr>
</table>
form
- 웹 서버에 정보를 제출하기 위한 양식 범위를 정의.
- 로그인할때 아이디 비번 정보를 받아 올 수 있음
<form action="/login" method="POST">
action은 페이지 이동시켜줌
method는 두가지가 있음 get/post->(주소록에 아이디/비번띄어줌)
<input type="email" name="email">
<input type="password" name="password">
<button type="submit">로그인</button>
</form>
Author And Source
이 문제에 관하여(TIL - 42), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@wlgus5977/TIL-42-praj3lgq저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)