๐ ์ดํํ 8hour
๐๐ผ ๋ฆ๊ฒ ์ผ์ด๋ ๊ฒ ๋งํ ์ํด ์ด์ฌํ ๊ณต๋ถ
๐๐ผ ๋ฆ๊ฒ ์ผ์ด๋จ
โญ๏ธ MDN Web Docs
The Web Developer Bootcamp 2021
HTML ํ์ด์ง ์์ค ๋ณด๊ธฐ ์ข์ ์ฌ์ดํธ
๊ฒ์๋ฒ
html form MDN
๐ธ vsc์์ ์ค๋ฅธ์ชฝ ๋์ผ๋ก ๊ฐ๋ ๋ฒ
cmd+โก๏ธ
h1์ ํ ํ์ด์ง ๋น ํ๋์ฉ๋ง!
<p>lorem + tab->Lorem ipsum text</p>
lorem3 +tab: Lorem ipsum text3
h1, h2 ์ ์ฐ๊ณ h3 ์ฐ์ง ๋ง ๊ฒ (์ฌ์ด์ฆ ๋ง์ถฐ์ ์ฐ์ง ๋ง๊ณ ์ ์๋๋ก)
โ
Pangolin Practice (Done)
HTMl element=Root element
<!DOCTYPE html>
<Head> meata infromation
<Title> Doensn't show up in the page itself,
shows up in the browser.</Title></Head>
<Body> all of the content of the document</Body>
๐ธ !+tab: !DOCTYPE html ์์ฑ
<ol>orderd elements (numbered list)</ol>
<ul>unorderd elements (bullet point)</ul>
<li>list item(single itme in list) </li>
parent & childern ๊ด๊ณ - ul ์์ li, li ์์ ul, ul ์ ol, ๋ชจ๋ ๊ฐ๋ฅ
๐ธ shift+option+โ or โ : duplicate the line
โ
Favorit movies Excercies(Done)
a tag: create a hyperlink
-> attribute(์์ฑ):
href: hyper text reference
http protocol: ๋ฌธ์, ์ ๋ณด๋ฅผ ์ฃผ๊ณ ๋ฐ์ ์ ์๋ protocol
www: to say this is on the world wide web, not a file that I have(relative to where I am right now).
<a href="image address"></a>
<Tag attribute="">
<img src="image address" alt="text description of the image">
<!--adding notes or text, not rendered, ignored by browser,
used for feedback, reminder, or notes.-->
๐ธ cmd+/: comment ๋จ์ถํค
๐ธ cmd+2,3...: ์์
์ฐฝ 2,3๊ฐ๋ก ๋ง๋ค๊ธฐ
๐ธ cmd+shift+p: commands ์
๋ ฅ ์ฐฝ, ๋จ์ถํค ๋ณผ ์ ์์
HTML5: latest evolution of the standard that defines HTML.
html spec
generic cotainer to hold things or to group elements together
<p><sup>1</sup>/<sub>2</sub> + <sup>1</sup>/<sub>2</sub> = 1</p>
<h1> 1 < 6 </h1>
-> ์ด๋ฐ ์์ผ๋ก ์ฐ๋ฉด ๋ธ๋ผ์ฐ์ ์์๋ ์ ์์ ์ผ๋ก ๋ณด์ฌ๋ ์ฝ๋ ๋ด์์๋ ํท๊ฐ๋ คํจ
'์ด ๋ญ์ง? tag์ธ๊ฐ? bracket์ ๊น๋ฐํ ๊ฑด๊ฐ?'
๋์ค์ ๋ฌธ์ ๋ ์ ์์ผ๋ entitiy code๋ฅผ ์จ์ผ ํจ
๊ตฌ๊ธ ๊ฒ์: html entity less than
<h1> 1 < 6 </h1>
&๋ฅผ ์ฐ๋ ๊ฒ๋ ์ฃผ์ํ ๊ฒ->browser๊ฐ entity code๋ก ์ฐฉ๊ฐ
โ
Snowman Logo Exercise(Done)
footer, navigation, div, header, section, article, main => all behave just like divs. ๊ทผ๋ฐ ์ ๋ค๋ฅด๊ฒ ์ฐ๋-> ๋ค๋ฅธ ๋ธ๋ผ์ฐ์ ๋ google๊ฐ์ ๊ณณ์์ ์ฝ๋๋ฅผ ํด์ํ๊ธฐ ๋๋ฌธ, to make the code more tolerable and friendly to other applications or other code, and more accessible to screen readers and other developers. And essential for SEO
vscode์ ๊ธฐ๋ณธ์ ์ผ๋ก ์์ผ๋ฏ๋ก ์ธ ์ ์์
*, $, {}, >, +
์์ ์๋ ๊พธ๋ฏธ๋ ๋ฐ ์์ฃผ ์ผ์ง๋ง ์์๋ ์ ๊ทธ๋ผ.
<table> ํ ์์ฑ </table>
<td> ์
(table data) </td>
<tr> ๊ฐ๋ก์ค(table row) </tr>
<tr><th> table header </th></tr>
<thead><tr> headers </tr></thead>
<tbody><tr> body </tr></tbody>
<tfoot><tr> foot </tr></tfoot>
<!-- ๋ณํฉ๋ ์
๋ง๋๋ ๋ฒ -->
<tr>
<th rowspan="2">Animal</th>
<th colspan="2">Average Mass</th>
<th rowspan="2">Flighted</th>
</tr>
<tr>
<th>KG</th>
<th>LB</th>
</tr>
โ
Table Practice Exerciese(Done)