728x90
반응형
728x90
반응형
<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>폰트연습</title>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Nanum+Brush+Script&display=swap');
        @font-face {
            font-family: '빙그레체';
            src: url(BinggraeSamanco.ttf);
        }
        
        .first {
            font-family: 'Nanum Brush Script', '빙그레체';
            font-size: 16px;
        }
        .second {
            font-family: 바탕;
            font-size: 1rem;    
            font-style: italic;
            font-weight: bold;
        }
        a {
            color: black;
            text-decoration: none;
        }
        p {
            text-align: center;
            background-color: blanchedalmond;
        }
        span{
            color: rgba(0, 0, 0 0.255);
            font-size: 60px;
            line-height: 2;
            text-shadow: 20px 20px 3px red;
            letter-spacing: 10px;
            text-align: center;  
            background-color: darkgoldenrod;  
        }
    </style>
</head>
<body>
    <p>
        <span>CSS3</span><br>
    </p>
    <a href="#">이동하기버튼</a>
    <p class="first">
        Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
    </p>
    <p class="second">
        It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
    </p>
</body>
</html>
728x90
반응형

'정보 > WEB' 카테고리의 다른 글

표 스타일  (0) 2022.12.28
font연습2  (0) 2022.12.28
CSS형제선택자 연습  (0) 2022.12.28
CSS연습(자식선택자)  (0) 2022.12.28
CSS연습  (0) 2022.12.28
728x90
반응형
<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>형제 연습</title>
    <style>
        /* 현제 선택자: {선택자1} ~ {선택자2} : 선택자 1에 의해 선택된 요소 뒤에 붙어나오는 서택자2에 해당하는 요소를 선택한다. 떨어져 있어도 된다. 같은 부모 내에서! */
        ul > span ~ li {
            color: blue;
        }
        /* 인접형태 선택자: {선택자1} + {선택자2} 선택자1에 의해 선택된 요소 바로 뒤에 있는 선택자2를 선택한다. 떨어져 있으면 안되고, 해당하는 모든 형제를 선택을 한다. 같은 부모 내에서! */
        ul > li + li {
            color: greenyellow;
        }

        input[type='text']{
            width: 10px;
        }
        

    </style>
</head>
<body>
    <ul>
        <span>시작</span>
        <li>목록1</li>
        <a href="https://www.naver.com">링크</a>
        <input type="text" value="test">
        <input type="button" value="bt">
        <input type="radio" value="ra">
        <li>목록2</li>
        <span>변절자</span>
        <li>목록3</li>
        <li>목록4</li>
    </ul>
    <ul>
        <li>목록5</li>
        <li>목록6</li>
    </ul>
</body>
</html>
728x90
반응형

'정보 > WEB' 카테고리의 다른 글

font연습2  (0) 2022.12.28
font연습  (0) 2022.12.28
CSS연습(자식선택자)  (0) 2022.12.28
CSS연습  (0) 2022.12.28
폰트연습  (1) 2022.12.25
728x90
반응형
<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>자식선택자</title>

    <style>
        span{
            color: red;
        }

        /* 후손 선택자: {부모선택자} {자식선택자} -> 부모 안에 있는 자식을 전부 선택함 */
        body span {
            font-style: italic;
        }
        /* 자식 선택자: {부모 선택자} > {자식 선택자} -> 부모 요소 바로 아래에있느 자식 요소를 선택 */
        body > span {
            color: chartreuse;
        }
        /*  */
        test, div {
            color: chartreuse!important;
        }

    </style>

</head>

<body>
    <span>ONE</span>
    <span>ONE BY ONE</span>
    <div>
        <span>TWO</span>
        <div>
            <test>TEST</test>
            <span>Three</span>
            <span class="f">Four</span>
            <span id="five">Five</span>
        </div>
    </div>    
</body>
</html>
728x90
반응형

'정보 > WEB' 카테고리의 다른 글

font연습  (0) 2022.12.28
CSS형제선택자 연습  (0) 2022.12.28
CSS연습  (0) 2022.12.28
폰트연습  (1) 2022.12.25
form활용하기  (0) 2022.12.25
728x90
반응형
<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>CSS연습</title>

    <style>
        /* 
            요소 선택자(Element Selector): 태그 이름으로 선택
            클래스 선택자(Class Selector): 태그의 class 속성(Attribute)로 선택한다 <- 가장 많이 사용
            아이디 선택자(ID Selector): 태그의 id 속성으로 선택한다. (#을 붙임)
        
        */
        
        a {
            color: #FFFFFF;
            color: green;
        }

        .color-blue {
            color: blue;
        }
        .text-big{
            font-size: 50px;
        }

        #a-id {
            color: chartreuse;
        }
        


    </style>

</head>
<body>
    <a href="#" style="color: red; text-decoration: none;">I'm Red</a>
    <br><a href="#">JUST A</a>
    <br><a href="#" class="color-blue text-big">I'm big</a>
    <br><a href="#" id="a-id">I'm ID</a>
</body>
</html>
728x90
반응형

'정보 > WEB' 카테고리의 다른 글

CSS형제선택자 연습  (0) 2022.12.28
CSS연습(자식선택자)  (0) 2022.12.28
폰트연습  (1) 2022.12.25
form활용하기  (0) 2022.12.25
HTML 날짜입력 메뉴 만들기  (0) 2022.12.25
728x90
반응형
<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>폰트연습</title>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Nanum+Brush+Script&display=swap');
        @font-face {
            font-family: '빙그레체';
            src: url(BinggraeSamanco.ttf);
        }
        
        .first {
            font-family: 'Nanum Brush Script', '빙그레체';
            font-size: 16px;
        }
        .second {
            font-family: 바탕;
            font-size: 1rem;    
            font-style: italic;
            font-weight: bold;
        }
        a {
            color: black;
            text-decoration: none;
        }
        p {
            text-align: center;
            background-color: blanchedalmond;
        }
        span{
            color: rgba(0, 0, 0 0.255);
            font-size: 60px;
            line-height: 2;
            text-shadow: 20px 20px 3px red;
            letter-spacing: 10px;
            text-align: center;  
            background-color: darkgoldenrod;  
        }
    </style>
</head>
<body>
    <p>
        <span>CSS3</span><br>
    </p>
    <a href="#">이동하기버튼</a>
    <p class="first">
        Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
    </p>
    <p class="second">
        It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
    </p>
</body>
</html>
728x90
반응형

'정보 > WEB' 카테고리의 다른 글

CSS연습(자식선택자)  (0) 2022.12.28
CSS연습  (0) 2022.12.28
form활용하기  (0) 2022.12.25
HTML 날짜입력 메뉴 만들기  (0) 2022.12.25
HTML간단한 입력칸  (0) 2022.12.25
728x90
반응형
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>지원서</title>

    <style>
        *{
            color: #2b5566;
        }


    </style>


</head>
<body>
    <fieldset>
        <h1>프런트엔드 개발자 지원서</h1>
        <form>
            <span>HTML, CSS, 자바 스트립트의 기술을 이해하고 실무 경험이 있는 분을 찾습니다.</span>
            <hr>
            <p style="color: darkturquoise;"><b>개인 정보</b></p>
            <ul>
                <li><label for="name_1">이름</label><input type="text" placeholder="공백 없이 입력하세요." name="name_1"></li>
                <li><label for="tel_1">연락처</label><input type="tel" name="tel_1" placeholder="전화번호 입력"></li>
            </ul>
            
            <p><b>지원 분야</b></p>
            <ul>
                <li><label><input type="radio" name="radio_1" value="pub">웹 퍼블리싱</label></li>
                <li><label><input type="radio" name="radio_1"  value="app">웹 어플리케이션 개발</label></li>
                <li><label><input type="radio" name="radio_1"  value="env">개발 환경 개선</label></li>
            </ul>

            <!-- 
                input을 select처럼 사용 ->
                input의 name : key 
                option 의 value : value 
            -->
            선택하세요<input type="text" list="test" name="list">
            <datalist id="test">
                <option value="값1">선택1</option>
                <option value="값2">선택2</option>
            </datalist>









            <p><b>지원 동기</b></p>
            <label for="area"></label>
            <textarea name="area" id="textarea" cols="90" rows="5" placeholder="본사 지원 동기를 간략히 써 주세요."></textarea>

            <br>
            <input type="submit" value="접수하기">
            <input type="reset" value="다시쓰기">
        </form>
    </fieldset>
</body>
</html>
728x90
반응형

'정보 > WEB' 카테고리의 다른 글

CSS연습  (0) 2022.12.28
폰트연습  (1) 2022.12.25
HTML 날짜입력 메뉴 만들기  (0) 2022.12.25
HTML간단한 입력칸  (0) 2022.12.25
함수(let)  (1) 2022.12.25
728x90
반응형
<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>날짜입력</title>
</head>
<body>
    <form action="">
        <h1>날짜 지정하기</h1>
        <input type="date">
        <input type="month">
        <input type="week">

        <!-- hr  : 셀프테그로, 문단을 나눠주는 줄을 생성한다. -->
        <hr>

        <h1>시간 지정하기</h1>
        <input type="time">
        <!-- 연월일 시분초 -->
        <!-- 현재 있는 지역을 기준으로 하는 지역시 -->
        <input type="datetime-local"> 

        <h1>범위 지정하기</h1>
        <input type="date" min="2021-09-14" max="2023-09-14">
        <input type="month">
        <input type="week">


    </form>
</body>
</html>
728x90
반응형

'정보 > WEB' 카테고리의 다른 글

폰트연습  (1) 2022.12.25
form활용하기  (0) 2022.12.25
HTML간단한 입력칸  (0) 2022.12.25
함수(let)  (1) 2022.12.25
조건문  (0) 2022.12.25
728x90
반응형
<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>입력</title>
</head>
<body>
    <!-- input : 사용자로부터 입력값을 받기위한 태그 -->
    <!-- value : 텍스트를 입력하기 전에 자동으로 작성되어있는 값, 다른 페이지에게 정보 전달용으로 사용 -->
    <!-- placeholder: 입력을 받기 전에 input같에 보여줄 텍스트 내용을 작성. 사용자가 입력하면 사라짐. -->
    id: <input type="text" maxlength="10" value="fnvit"><br>
    pw: <input type="password" required><br>
    tel: <input type="tel"><br>
    url: <input type="url" placeholder="***.***.*** 형식으로 입력하세요"><br>
    email: <input type="email"><br>
    마우스 <input type="checkbox" checked>
    키보드 <input type="checkbox"><br>
    <!-- radio 버튼은 name 속성을 사용하여 하나의 그룹으로 묶는다. -->
    남자 <input name="gender" type="radio" checked>
    여자 <input name="gender" type="radio">
    <!-- number : 숫자만 입력할 수 있는 속성으로, 숫자 형태는 무엇이든 가능. e를 입력하면 자연상수로 취급 -->
    <input type="number"><br>
    <input type="range"><br>

    <!-- 콤보박스, 드롭다운 목록을 생성 -->
    <select name="phone" id="">
        <!-- option : 드롭다운 목록에 들어가는 값들 -->
        <!-- value는 우리눈에 보이는 데이터가 아닌, 서버로 전송할 값을 작성 -->
        <!-- seleted: 처음에 선택되어 있을 값을 성정 -->
        <!-- disabled: 선택을 못하게 막음 -->
        <option value="none" selected disabled>통신사 선택</option>
        <option value="에스케이티">SKT</option>
        <option value="케이티">KT</option>
        <option value="엘지">LG</option>
    </select>

    <input type="button" value="버튼임ㅎ.ㅎ">
    <!-- type="reset" : form요소 안에있는 input값을 전부 초기화하는 속성 -->
    <input type="reset">
    <!-- type="submit : 동일한 form요소 안에 있는 input값을 서버로 전송하는 속성 -->
    <input type="submit">
    <button>버튼임ㅋ.ㅋ</button>
    <!-- 파일을 서버에 전달할 수 있도록 하는 속성 -->
    <input type="file">
    
    <input type="image" src="image/다운로드.jpg" width="50">

    <input type="hidden">



</body>
</html>
728x90
반응형

'정보 > WEB' 카테고리의 다른 글

form활용하기  (0) 2022.12.25
HTML 날짜입력 메뉴 만들기  (0) 2022.12.25
함수(let)  (1) 2022.12.25
조건문  (0) 2022.12.25
이벤트(addEventListener)  (0) 2022.12.25

+ Recent posts

728x90
반응형
">