flexbox
์ฌ์ดํธ ํ์ฉํ์ฌ ๊ตฌ์ญ ๋๋๊ธฐent-flex-between
๋ผ๋ ๋ํ css ์ฝ๋๋ก ๋ง๋ค๊ธฐ์ผ์ชฝ
์ค์
border-bottom
์ผ๋ก ๋ฐ์ค ๊ธ๊ธฐ์ค๋ฅธ์ชฝ
text-align: center;
์ผ๋ก ๊ธ์ ์ค์ ์ ๋ ฌ<em>
ํ๊ทธ
<em>
ํ๊ทธ ๊ธฐ๋ณธ์ ์ผ๋ก ๊ธฐ์ธ์์ด ์ ์ฉ๋๊ธฐ ๋๋ฌธ์, font-style: normal;
์ค์ ํด์ผํจtext-overflow: ellipsis;
max-width: 100%;
๊ฐ ์ค์ ํด์ฃผ์ด์ผํจ!1) role
์์ฑ์ ๋ํด์ ?
2) <strong>
VS <em>
ํ๊ทธ์ ์ฐจ์ด ?
1) ์ฌ์ดํธ ์ฐธ์กฐ https://stackoverflow.com/questions/10403138/what-is-the-purpose-of-the-role-attribute-in-html
<a href="#" role="button" aria-label="Delete item 1">Delete</a>
a
ํ๊ทธ๋ก ๋งํฌ๋ฅผ ์ฌ์ฉํ๊ณ ์์ง๋ง, role
์์ฑ์ ํตํด ๊ธฐ๋ฅ์ด button
์ ๊ฐ๊น๋ค๋ ๊ฒ์ ์ ์ ์์.<main role="main"> </main>
main
ํ๊ทธ์ ๊ฒฝ์ฐ, HTML5์ ๋น๊ต์ ์ต๊ทผ์ ์ถ๊ฐ๋์๊ธฐ ๋๋ฌธ์ ๋ช
์ํด์ฃผ์ด์ผ ํ๋ค. 2) <strong>
์์์ <em>
์์๋ ๊ฐ๊ฐ ์ค์ฒฉํด์ ์ฌ์ฉํจ์ผ๋ก์จ ์ค์์ฑ์ด๋ ๊ฐ์กฐ์ ์๋์ ์ธ ์ ๋๋ฅผ ์ฆ๊ฐ์ํฌ ์ ์๋ค.
<em>
<strong>
๊ฐ์์์ ๋ฐ๋ณต์ ์ธ ๋ด์ฉ์ด ๋ง๊ธฐ๋๋ฌธ์, ๋ฌด์์ ๋ฐ๋ผํ๊ธฐ ๋ณด๋ค๋ ์ค์ค๋ก ์ฝ๋ ์ค๊ณํ๊ณ ํ์ธํด๋ณด๋ ๋ฐฉํฅ์ด ๋์์ด ๋ง์ด ๋์๋ค. ๋, ๊ถ๊ธํ๊ณ ํท๊ฐ๋ฆฐ ๊ฒ๋ค์ ๊ฐ๋ ์ ์ฐพ๊ณ ๋น๊ตํด ๊ธฐ๋กํ๋ ๊ฒ์ด ์ข์ ๊ฒ ๊ฐ๋ค.