HTML-CSS
[CSS/기본] Font
hhaeri
2020. 11. 8. 22:39
1. font-size : 글씨 크기 설정
2. font-stlye : 기울임 설정
3. font-weight : 글씨 굵기 설정
4. font-family : 글씨체 설정
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type = "text/css">
div{
font-size : 20px;
font-stlye : italic; /*none, italic (기울임) */
font-weight : 100; /*100,200, ...900, bold (굵게) */
font-family : 'Naum Gothic','sans-serif' /*Nanum Gothic이 없으면 sans-serif(고딕 계열) 사용 */
/*
sans-serif : 고딕 계열
serif : 명조 계열
*/
}
</style>
</head>