๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
IT/HTML

[32์ผ์ฐจ] HTML

by GWLEE 2022. 8. 3.

๐Ÿ•2022-08-03๐Ÿ•

 

Hyper Text Markup Language

 

๋„ฅ์ŠคํŠธ ์ปดํ“จํ„ฐ ์žก์Šค๊ฐ€ ์• ํ”Œ ์ซ“๊ฒจ๋‚˜์„œ ๋งŒ๋“  ์ปดํ“จํ„ฐ ๋‹ค์‹œ ํšŒ์‚ฌ์— ๋“ค์–ด๊ฐˆ ๋•Œ os๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ๋งŒ๋“  ์ปดํ“จํ„ฐ๊ฐ€ ๋งฅ๋ถ

 

http://www.oracle.com:80/aaa/bbb/index.html

 

ํ”„๋กœํ† ์ฝœ : ํ”„๋กœํ† ์ฝœ์€ ์ปดํ“จํ„ฐ ๋‚ด๋ถ€์—์„œ, ๋˜๋Š” ์ปดํ“จํ„ฐ ์‚ฌ์ด์—์„œ ๋ฐ์ดํ„ฐ์˜ ๊ตํ™˜ ๋ฐฉ์‹์„ ์ •์˜ํ•˜๋Š” ๊ทœ์น™ ์ฒด๊ณ„

http:// ํ•˜์ดํผํ…์ŠคํŠธ ์ „์†ก ํ”„๋กœํ† ์ฝœ(HTTP)

https:// s -> secure์˜ ์•ฝ์ž ๊ณต์‹์ ์œผ๋กœ ๋ฐœ๊ธ‰๋ฐ›์€ ํ‚ค์ธ์ง€ ํ™•์ธ.. 

www.oracle.com:80 : ip or domain 

:80 ์ „์„ธ๊ณ„ ๊ณตํ†ต TCP/IP ํฌํŠธ๋ฒˆํ˜ธ

 

/aaa/bbb/ ๋””๋ ‰ํ† ๋ฆฌ ๊ฒฝ๋กœ๋ช… 

index.html html

 

Web Page

1. HTML

2. CSS

3. JS 

 

Web Application

4. Sevlet

5. JSP

6. Spring = ๊ฐœ๋… ์ค‘์š” 

7. Spring MVC

 

 

html5 ๋ณ€ํ™” 2๊ฐ€์ง€

media

์‹œ๋ฉ˜ํ‹ฑ web = ์˜๋ฏธ ์žˆ๋Š” ์›น

์‹œ๋ฉ˜ํ‹ฑ ํƒœ๊ทธ๋ฅผ ๋„์ž…

thead tfoot tbody

thead ํ•œ ์ค„์„ ํ‘œ์‹œ

tbody ํ•˜๋‚˜์˜ td์•ˆ์— tr์ด ์žˆ๋Š” ํ˜•ํƒœ

 

1. ๊ฐ€๋…์„ฑ์ด ์ข‹์•„์ง„๋‹ค.

2. ๊ตฌ๊ธ€๊ฐ™์€ ๊ฒ€์ƒ‰ ์‚ฌ์ดํŠธ์—์„œ ๊ฒ€์ƒ‰์—”์ง„

thead ์ธ์‹.. ์‚ฌ์ดํŠธ๋ฅผ ์ •๋ณด๋ฅผ ๋ณด๋‹ค ์ •ํ™•ํ•˜๊ฒŒ ๊ฒ€์ƒ‰ ๋…ธ์ถœํ•˜๊ณ  ์‹ถ๋‹ค๋ฉด ์‹œ๋ฉ˜ํ‹ฑ ํƒœ๊ทธ๋ฅผ ์จ๋ผ ๊ทธ๋Ÿฐ ์—ญํ• ์„ ํ•œ๋‹ค.

์‚ฌ์ดํŠธ ๋™์ž‘ ์‹œ๋ฉ˜ํ‹ฑ ํƒœ๊ทธ ์‚ฌ๋žŒ์ด ๋ˆˆ์— ๋ณด์ด๋Š” ๊ฑด ๋˜‘๊ฐ™๋‹ค.

๊ฐ€๋Šฅํ•˜๋ฉด ์จ๋ผ html ์ž…์žฅ์—์„œ๋Š” ....

tfoot ๊ธธ๊ฒŒ ๋‚˜์˜ค๋ฉด ์ถœ๋ ฅํ•  ๋•Œ ์ž˜๋ฆฌ๊ฒŒ ๋˜๋Š”๋ฐ ๋ธŒ๋ผ์šฐ์ €๊ฐ€ ์ž˜๋ฆฌ๊ธฐ ์ „์— tfoot์„ ํ•œ ๋ฒˆ ์ฐ์–ด์ค€๋‹ค.

 

 

์ฃผ์†Œ์—๋‹ค๊ฐ€ ๊ฐ’์„ ๋„ฃ๋Š”๊ฒŒ get๋ฐฉ์‹

 

GET ๋ฐฉ์‹

https://search.daum.net/search?w=tot&q=%ED%8C%B0%EB%A1%9C%EC%8B%9C%20%EB%8C%80%EB%A7%8C%20%EB%B0%A9%EB%AC%B8&DA=NTB ๊ฒ€์ƒ‰ ์—”์ง„์— ๋งŽ์ด ์“ด๋‹ค. id, pw ๊ฐ€ ๋‹ค๋ณด์ด๊ธฐ ๋•Œ๋ฌธ์— ๋ณด์•ˆ์— ์ทจ์•ฝ

 

ํŒฐ๋กœ์‹œ ๋Œ€๋งŒ ๋ฐฉ๋ฌธ – Daum ๊ฒ€์ƒ‰

Daum ๊ฒ€์ƒ‰์—์„œ ํŒฐ๋กœ์‹œ ๋Œ€๋งŒ ๋ฐฉ๋ฌธ์— ๋Œ€ํ•œ ์ตœ์‹ ์ •๋ณด๋ฅผ ์ฐพ์•„๋ณด์„ธ์š”.

search.daum.net

1. ๊ฒ€์ƒ‰ ๋ถ€๋ถ„์— ๋งŽ์ด์“ด๋‹ค.

2. ์ทจ์•ฝ์  : ์ฃผ์†Œ length์ œ์•ฝ ๋ฐ์ดํ„ฐ์˜ ํฌ๊ธฐ๊ฐ€ ์ œํ•œ๋˜์–ด์žˆ๋‹ค. , ๋ณด์•ˆ์— ์ทจ์•ฝํ•˜๋‹ค. pw , id ๋‹ค ๋ณด์ž„

 

POST ๋ฐฉ์‹

1. ๋ณด์•ˆ์— ๊ฐ•๋ ฅํ•˜๊ณ  ๋„˜๊ฒจ์งˆ ๋ฐ์ดํ„ฐ ์ œํ•œ ์—†์Œ

2. ๋ณด์•ˆ์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ ๋ฌด์กฐ๊ฑด POST๋ฐฉ์‹์œผ๋กœ ๋„˜๊ฒจ์คŒ

 

get๋ฐฉ์‹

 

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>๋กœ๊ทธ์ธ ํผ</title></head>
<body>
<h3>๋กœ๊ทธ์ธ ํผ</h3>
<hr>
<!-- ๋ฐ์ดํ„ฐ ๋„˜๊ธธ๋•Œ form ์‚ฌ์šฉ ์—ฌ๊ธฐ์„œ๋Š” get/ post๋กœ ๋„˜๊ฒจ์ค€๋‹ค. -->
<!-- value ์ดˆ๊ธฐ๊ฐ’  -->

<form name="fo" method="get">
์‚ฌ์šฉ์ž ID : <input type="text" name="id" size="15" value=""><br>
๋น„๋ฐ€ ๋ฒˆํ˜ธ : <input type="password" name="pass" size="15" value="">
<input type="submit" value="์™„๋ฃŒ">
</form>
</body>
</html>

 

POST ๋ฐฉ์‹

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>๋กœ๊ทธ์ธ ํผ</title></head>
<body>
<h3>๋กœ๊ทธ์ธ ํผ</h3>
<hr>
<!-- ๋ฐ์ดํ„ฐ ๋„˜๊ธธ๋•Œ form ์‚ฌ์šฉ ์—ฌ๊ธฐ์„œ๋Š” get/ post๋กœ ๋„˜๊ฒจ์ค€๋‹ค. -->
<!-- value ์ดˆ๊ธฐ๊ฐ’  -->

<form name="fo" method="post">
์‚ฌ์šฉ์ž ID : <input type="text" name="id" size="15" value=""><br>
๋น„๋ฐ€ ๋ฒˆํ˜ธ : <input type="password" name="pass" size="15" value="">
<input type="submit" value="์™„๋ฃŒ">
</form>
</body>
</html>

 

 

label ํƒœ๊ทธ ์žฅ์ 

1. ์†Œ์Šค๋ถ„์„ ์šฉ์ด

2. 

 

ul strong ์ž์† .. ์ง๊ณ„ ์†์ฃผ ์ฆ์†์ฃผ ๋‹ค ์˜ฌ ์ˆ˜ ์žˆ๋‹ค.

div > strong ๋ฐ”๋กœ ๋ฐ‘์— ์ง๊ณ„ ์ž์‹์„ ์˜๋ฏธ

 

 

 

๋Œ“๊ธ€