Visualizzazione dei risultati da 1 a 8 su 8
  1. #1
    Utente di HTML.it
    Registrato dal
    Apr 2009
    Messaggi
    63

    Problemi validazione w3c

    Quando faccio l'uppload della pagina xhtml ho il seguente errore:

    Sorry, I am unable to validate this document because its content type is text/css, which is not currently supported by this service.

    The Content-Type header 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).

    That you received this message can mean that your server is not configured correctly, that your file does not have the correct filename extension, or that you are attempting to validate a file type that we do not support yet. In the latter case you should let us know that you need us to support that content type (please include all relevant details, including the URL to the standards document defining the content type) using the instructions on the Feedback Page.


    Questa è la pagina web:

    codice:
    <?xml version="1.0" encoding="UTF-8"?> 
    <!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" xml:lang="en" lang="en">
    <head>
    	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    	<title>Web Utilities Kekko</title>
    	
    	Ho si usa il tag link per importare i css oppure import.
    	<link rel="stylesheet" type="text/css" href="homePage.css" />
    
    	<!--
    	<style type="text/css">		
    
    		@import url(homePage.css);	
    							
    		form {
    			
    			width: 20em;
    			
    		     }
    		 
    		fieldset{
    		
    			background-color: red;
    				   
    				  }	 
    		 		
    	</style>
    		-->
    </head>
    <body>
    	<div id="contenitoreGenerale">
    		<div id="top">
    			[img]webUtilities.gif[/img]
    					
    				<form id="utenteRegistrato" method="post" action="testdb.php">
    					<fieldset >
    						<legend>Accesso Utenti</legend>
    							
    						<label>Username:</label>
    						<input type="text"></input>
    						
    
    								
    						<label>Password:</label>
    						<input type="password"></input>
    						
    
    								
    						<button value="invia" type="submit">Invia </button>
    						
    
    
    					<label>Se non sei registrato clicca Qui</label>						
    				</fieldset>				
    			</form>						
    		</div>
    		<div id="barra">
    			<table>
    				<tr>
    					<td>Registrazione </td>
    					<td></td>					
    					<td></td>
    					<td></td>
    				</tr>
    			</table>
    		</div>
    	</div>
    </body>
    </html>
    Perchè mi da errore per il css?

  2. #2
    L'unico errore che mi da, e' che tu hai scritto

    codice:
    Ho  si usa il tag link per importare i css oppure import.
    Ho, non si scrive con l'H!!!!!!

    p.s.: l'indirizzo di W3C e' http://validator.w3.org/

  3. #3
    Utente di HTML.it
    Registrato dal
    Apr 2009
    Messaggi
    63
    ........scusate per l'errore grammaticale................

    Comunque se faccio Validate by direct input non mi da errore, se invece faccio validate by file uppload mi da quell'errore che differenza c'è?

  4. #4
    Amministratore L'avatar di Vincent.Zeno
    Registrato dal
    May 2003
    residenza
    Emilia-Romagna (tortellini und cappelletti land!)
    Messaggi
    20,812
    che estensione ha la pagina?

  5. #5
    Utente di HTML.it
    Registrato dal
    Apr 2009
    Messaggi
    63
    estensione .xhtml

  6. #6
    Amministratore L'avatar di Vincent.Zeno
    Registrato dal
    May 2003
    residenza
    Emilia-Romagna (tortellini und cappelletti land!)
    Messaggi
    20,812
    appunto


  7. #7
    Utente di HTML.it
    Registrato dal
    Apr 2009
    Messaggi
    63
    Cioè non ho capito devo usare estensione html? Perchè?

  8. #8
    Amministratore L'avatar di Vincent.Zeno
    Registrato dal
    May 2003
    residenza
    Emilia-Romagna (tortellini und cappelletti land!)
    Messaggi
    20,812
    forse perché xhtml non esiste (non è uno standard) e non è contemplata dal motore del consorzio?

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.