Salut à tous et toutes,
Je tente la création d'un site mobile et j'ai des soucis de validation
Quand je vais sur W3C org pour voir la validation du code j'ai des erreurs
1- The HTTP Content-Type header does not specify a character encoding and no UTF-8 encoding or a non-UTF-8 is specified in the XML declaration
2- The HTTP Content-Type header does not specify a character encoding but it specifies an Internet media type starting with "text/" and there is no meta element with http-equiv attribute that specifies UTF-8 character encoding
3- The document does not validate against XHTML Basic 1.1 or MP 1.2.
Merci de m'aider
----------ci dessous mon code
<? xml version="1.0" encodage="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=320,user-scalable=no,maximum-scale=1,minimum-scale=1.0" />
<meta http-equiv="Cache-Control" content="public"/>
<title>Document sans nom</title>
<style type="text/css">
/* ------------------- ici mes styles css-------------->
</style>
</head>
Je tente la création d'un site mobile et j'ai des soucis de validation
Quand je vais sur W3C org pour voir la validation du code j'ai des erreurs
1- The HTTP Content-Type header does not specify a character encoding and no UTF-8 encoding or a non-UTF-8 is specified in the XML declaration
2- The HTTP Content-Type header does not specify a character encoding but it specifies an Internet media type starting with "text/" and there is no meta element with http-equiv attribute that specifies UTF-8 character encoding
3- The document does not validate against XHTML Basic 1.1 or MP 1.2.
Merci de m'aider
----------ci dessous mon code
<? xml version="1.0" encodage="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=320,user-scalable=no,maximum-scale=1,minimum-scale=1.0" />
<meta http-equiv="Cache-Control" content="public"/>
<title>Document sans nom</title>
<style type="text/css">
/* ------------------- ici mes styles css-------------->
</style>
</head>