웹표준 검사시 Error 메세지

웹표준 검사시 Error 메세지

QA

웹표준 검사시 Error 메세지

본문

웹표준 검사를 실행해서 다른 오류들은 다 잡았는데요. 아래 두가지는 어떻게 잡아야 할지 모르겠네요.

meta 태그가 있는 아래부분 같은데요. 

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

이 부분을 어떻게 수정해야 할까요?

 

※ 웹표준검사 에레메세지 내용

  1. Error: Attribute name not allowed on element meta at this point.

    d>↩<body>↩<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">↩ ↩
     

  2. Error: Element meta is missing one or more of the following attributes: itempropproperty.

    d>↩<body>↩<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">↩ ↩

이 질문에 댓글 쓰기 :

답변 2

<body>

여기에 넣으시면 안되구요

</body>

 

<head>

// head 안쪽에 넣으세요

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

</head>

body 가 아닌

<body><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"></body>

 

head 에 넣어야 합니다.

<head><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"></head><body>...</body>

답변을 작성하시기 전에 로그인 해주세요.
전체 484
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT