selector 1

유석현(SeokHyun Yu)·2022년 11월 14일
0

CSS

목록 보기
2/32
post-thumbnail
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
        <style>
            /* 태그 선택자 */
            li /* selector: 선택자 */ {
                color: red; /* property(속성): value(속성값); => declaration(선언)*/
                text-decoration: underline;
            }
        </style>
    </head>
    <body>
        <ul>
            <li>HTML</li>
            <li>CSS</li>
            <li>JavaScript</li>
        </ul>
    </body>
</html>

profile
Backend Engineer

0개의 댓글