2013-06-24 2 views
1

내 웹 페이지 (html 5) "Bad value Cache-Control for attribute http-equiv on element meta."의 유효성을 검사하는 동안이 오류가 있습니다. 이 페이지의 소스에 내 HTML 코드는메타 태그 w3c 유효성 검사 오류 html 5

된다

<!doctype html> 
<html> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>test</title> 
<meta name="description" content="Lorem ipsum dolor site amet"/> 
<meta name="keywords" content="Lorem ipsum dolor site amet"/> 
<meta http-equiv="Cache-Control" content="no-cache"/> 
<meta name="robots" content="index, follow" /> 

어떻게이 문제를 해결하려면?

답변

2

http-equivCache-Control은 HTML5에서 사용할 수 없습니다.

values listed in the HTML5 사양과 WHATWG wiki page "PragmaExtensions"에 등록 된 사양 만 사용할 수 있습니다.

필요하다면 유용하다고 생각하면 register it을 시도해 볼 수 있습니다.

+1

[이] (http://stackoverflow.com/a/9657962/352260)이 질문에 대한 아주 좋은 답변입니다! – CoR