유데미 취업 부트캠프 백앤드 과정에 참여하게 되었다. 복습과 개별학습을 통해 기본기와 역량을 더 쌓아갈 수 있는 기회가 될 것 같다.
매 주차 학습내용을 기록하며 개별적으로 학습하게 될 기술들도 정리하며 의미있게 이 공간을 채워보자!
: 월드 와이드 웹(World Wide Web)이란 인터넷에 연결된 사용자들이 서로의 정보를 공유할 수 있는 공간이다.
간단히 줄여서 WWW나 W3라고도 부르며, 간단히 웹(Web)이라고 가장 많이 불린다 -TcpSchool 참조-
: 네트워크란 둘 이상의 컴퓨터와 이들을 연결하는 링크의 조합이다.
: 서버는 클라이언트에게 네트워크를 통해 정보나 서비스를 제공하는 컴퓨터 시스템으로 컴퓨터 프로그램 또는 장치를 의미한다.
클라이언트 → 서버에 접속(Access) 하여 기능 사용
<tag명 attribute명="attribute값">내용물</tag명>
<h1 style="color: red">hello world</h1>
<h1></h1>
<hn>
: 제목 표시 (h1 ~ h6)<p>
: 본문 표시<
; → < , >
; → ><b>
→ 굵게, <i>
→ 이탤릭체<ol>
: 순서가 있는 목록<ul>
: 순서가 없는 목록<li>
: 항목<table>
: 테이블 구조 생성<tr>
: 테이블 행<td>
: 테이블 열<caption>
: 테이블 제목<th>
: <tr>
태그 내부에 사용하여 column의 제목<thead>
, <tbody>
, <tfoot>
: 명시적 테이블 header, body, footer멀티미디어 태그
<img>
,<audio>
,<video>
<img>
: 소스로부터 이미지 로드<audio>
: 소스로부터 오디오 로드<video>
소스의 video 재생하이퍼링크 태그
<a>
태그 : 클릭 시 지정한 url(혹은 현재 문서의 특정 태그 위치, 태그의 id 또는 class를 통해 명시)로 이동하는 하이퍼링크 생성폼 관련 태그
<form>
<lable>
: input 엘리먼트에 대한 설명<input>
[A-z0-9]{5,10}
MarkDown이란 ?
markdown 언어는 markup 언어의 일종으로 컨텐츠를 표시할 구조에 해당하는 html 태그를 특정의 문자로 대체한 언어이다.
eg)<h1>
→#
인라인 방식
<p style="color: blue; "> inline </p>
s내부파일 지정 방식
html 파일 내에 style 엘리먼트에 css 정의
<style type="text/css">
...
</style>
외부파일 지정 방식
<link href="my.css" rel="stylesheet">
css가 우선적용되는 순서는 인라인 방식, 내부파일 지정방식, 외부파일 지정방식 순이다
우선순위가 높은 스타일이 우선순위가 낮은 스타일을 덮어쓴다
Reference(MDN Document): css를 적용할 태그를 선택하는 문법이다.
https://developer.mozilla.org/ko/docs/Web/CSS/CSS_Selectors
태그 선택자
<style>
a {}
</style>
id 선택자
<style>
#idname{}
</style>
클래스 선택자
<style>
.classname{}
</style>
우선순위는 id선택자 > 클래스 선택자 > 태그 선택자
CSS 적용방식, 선택자를 통한 모든 우선순위를 무시하고 CSS 적용하기 위해서는 !important 속성을 사용할 수 있다
eg)
<style>
a {
color:orange;
}
#apple {
color:red;
}
.banana {
color:yellow;
}
</style>
선택된 태그를 어떻게 표현할 지 정하는 문법이다.
Reference(MDN Document) :
상대단위 em, rem, %
상대(relative) 단위란 고정되지 않고 어떤 기준에 따라서 유동적으로 바뀔 수 있는 길이를 나타내는 단위
em
: 해당 단위가 사용되고 있는 요소의 폰트 사이즈rem
: 최상위 요소(html) 사용되고 있는 요소의 폰트 사이즈(16px), 0.5rem ⇒8px%
: 최상위 요소(html) 사용되고 있는 요소의 폰트 사이즈는 100% 16px, 200% ⇒ 32px
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
@import url('https://fonts.googleapis.com/css2?family=Homenaje&display=swap');
#target {
font-family: none(브라우저에서 지원하지 않는 폰트라면 무시된다), sans-serif;
font-size: 3rem;
font-style: italic;
font-weight: lighter;
font-variant: small-caps;
color: #0085cf; /*HSV*/
background: rgb(255,0,255); /*BGR */
text-align: center;
line-height: 100px;
width: 50%;
height: 100px;
text-decoration: underline;
}
#googlefont{
font-family: 'Homenaje', sans-serif;
}
.normal{
background: silver;
}
#link {
text-decoration: none;
text-shadow: 5px -5px 5px gray; /* x y blur color */
text-transform: uppercase;
}
ol {
list-style-type: square;
}
ul {
list-style-type: upper-roman;
}
#pinkol{
list-style-image: url("/css/images/pinkol.png");
list-style-position: inside;
}
table, td, th {
border: 2px solid purple;
border-collapse: collapse;
padding: 4px;
}
th {
background: skyblue;
}
td {
background: #FFFFCC;
}
tfoot {
text-align: center;
color: red;
}
</style>
</head>
<body>
<h1 id="target" class="normal">first line</h1>
<h1 id="googlefont" class="normal">second line</h1>
<h1 class="normal">third line</h1>
<h1><a id="link">none underline link</a></h1>
<ol>
<li>1번 항목</li>
<li>2번 항목</li>
<li>3번 항목</li>
</ol>
<ol id="pinkol">
<li>1번 항목</li>
<li>2번 항목</li>
<li>3번 항목</li>
</ol>
<ul>
<li>1번 항목</li>
<li>2번 항목</li>
<li>3번 항목</li>
</ul>
<table>
<caption>row span, col span</caption>
<thead>
<tr>
<th>1st col title</th>
<th>2nd col title</th>
<th>3nd col title</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="2">span row1 col1</td>
<td>row1 col2</td>
<td>row1 col3</td>
</tr>
<tr>
<td>row2 col2</td>
<td>row2 col3</td>
</tr>
</tbody>
<tfoot>
<tr><td colspan="3">column span</td></tr>
</tfoot>
</table>
</body>
</html>