• User Attivo

    validatore w3c

    è possibile validare un file scritto in parte in php con il validatore del w3c?

    ho bisogno di validare tutto il sito che sto facendo per un esame... ho usato la doctype che vuole il professore, ma niente da fare...
    ecco doctype ed errore... grazie! 🙂

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="it">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    Sorry, I am unable to validate this document because its content type is application/octet-stream, which is not currently supported by this service.
    The Content-Type field is sent by your web server (or web browser if you use the file upload interface) and depends on its configuration. Commonly, web servers will have a mapping of filename extensions (such as ".html") to MIME Content-Type values (such as text/html).