사진은 파리 센느 강
본격적인 수업 첫날이었다. 프론트엔드는 여러번 반복해서 배워서 쉽게 넘어갈 수 있을 줄 알았는데 생각보다 자잘한 문법들에서 많이 막혀서 그때 그때 찾아보고 써야되겠더라.. HTML CSS 연습문제 남은거 시간날때마다 가볍게 계속 다 풀어보기!
-HyperText Markup Language
-웹페이지의 전체적인 구조 기술
+)
hr : horizontal rule
pre : preserve all spaces and linebreaks in display
strong, em : emphasize parial text
mark : highlight
-Cascading Style Sheets
-웹페이지의 스타일/레이아웃 정의
.box {
color: #155724; /* 글자 색상 */
background-color: #d4edda; /* 배경 색상 */
border-color: #c3e6cb; /* 테두리 색상 */
font-family: "SF Pro KR", "MalgunGothic", "Verdana"; /*fallback */
font-size: 24px;
text-align: left /* right, center, justify */
/*font-weight, text-decoration, letter-spacing, line-height*/
}
인라인 스타일, 내부 스타일 시트, 외부 스타일 시트
class 는 . id 는 # 로 선택자 사용
박스
CSS 적용 우선순위: ! >> id >> class >> element
파일 추가 코드
<link rel="stylesheet" href="index.css" />