Visualizzazione dei risultati da 1 a 4 su 4

Discussione: validazione w3c

  1. #1

    validazione w3c

    ciao ragazzi vi posto un meta che mi da errore col w3c
    codice:

    <META content=2;URL="javascript:gourl('offerta.html',320 ,200)" http-equiv=refresh>


    errore:

    Line 17, column 15: an attribute value must be a literal unless it contains only name characters

    <META content=2;URL="javascript:gourl('offerta.html',320 ,200)" http-equiv=refres

    You have used a character that is not considered a "name character" in an attribute value. Which characters are considered "name characters" varies between the different document types, but a good rule of thumb is that unless the value contains only lower or upper case letters in the range a-z you must put quotation marks around the value. In fact, unless you have extreme file size requirements it is a very very good idea to always put quote marks around your attribute values. It is never wrong to do so, and very often it is absolutely necessary



    mi spiegate come risolvere?
    grazie

  2. #2

    up

    up

  3. #3
    provato a scrivere al contrario come in questo:

    <meta HTTP-EQUIV="Refresh" CONTENT="5; URL=http://www.foo.com/foo.html">

    ?
    Colleziono problemi matematici divertenti o strani e li raccolgo nel mio sito. Se me ne mandate qualcuno vi ringrazio. flan

  4. #4

    re

    si funziona.

    grazie mille

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 © 2025 vBulletin Solutions, Inc. All rights reserved.