HTML 기초.

돼지피그·2023년 3월 1일
0

인터넷 동작 원리.

도메인 검색시 ->
클라이언트 -> 공유기, 스위치 -> 라우터 -> DNS(Domain Name Server) -> 라우터 -> 클라이언트

DNS에서 링크의 IP주소를 가져와 다시 그 IP주소로 해당 사이트에 접속한다.
출처(https://aws.amazon.com/ko/route53/what-is-dns/)

ex)
www.naver.com(도메인, URL) - 이름
105.209.222.141(IP) - 주소
22, 23, 80, 443 ...(PORT) - 문

*참고
DNS는 국제적으로 운영되며 카페24 같은 곳에서 도메인을 구입하여 사용할 수 있다.


Emmet

Emmet이란.

HTML, XML, XSL 문서 등을 편집할 때 빠른 코딩을 위해 사용하는 플러그인이다


ex)

	!
    h1
    h1{hello world}
    h1+p
    p#hello
    p.hello
    p#hello1.hello2
    p.one.two.three
    table>(tr>td*6)*4
    ul>li.item$*5
    ul>li*5
    lorem
    lorem5
    lorem*3
    .one
    #one
    a[href='https://www.naver.com']
    p[a='one' b='two' c='three']

emmet Cheat Sheet - https://docs.emmet.io/cheat-sheet/

0개의 댓글