Visualizzazione dei risultati da 1 a 4 su 4
  1. #1

    validatore w3c ...impossibile decifrare l'errore di mancanza di attributo.....

    ciao raGà!

    cosa vuol dire L'ERORE SOTTO CHE MI SEGNA RIPETUTAMENTE IL W3C ?
    C'è qualcuno che lo sà?
    Sto ammattendo DA ORE con questo errore!VVoVe:

    Grazie in anticipo per la risposta.


    Error Line 16 column 61: "STYLE.CSS" is not a member of a group specified for any attribute.
    ... href ="style.css" rel="style" title="style " style.css >


    Error Line 18 column 7: required attribute "TYPE" not specified.
    <style >
    (forse non vuole la chiusura? )
    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

  2. #2
    Utente di HTML.it L'avatar di pacovox
    Registrato dal
    Oct 2001
    Messaggi
    557
    http://forum.html.it/forum/showthrea...hreadid=870357

    Primo errore:
    il valore style.css deve valorizzare un attributo(href), non può stare da solo dentro un tag.
    Tra l'altro href="style.css" lo hai già scritto, togli semplicemente l'ultimo style.css "orfano".

    Secondo errore, manca l'attributo type.
    <link rel="stylesheet" type="text/css" href="style.css" />

  3. #3

    nella convalida w3c errore sempre evidente!

    Grazie Pacovox per la risposta ma sono più confusa di prima perchè nonostante io abba aggiustato come dicevi te, l'errore è sempre segnato ? Come mai? VVoVe:

    Error Line 18 column 7: required attribute "TYPE" not specified.
    <style >

    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.



    Error Line 18 column 7: document type does not allow element "STYLE" here.
    <style >
    The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

    One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).

    Error Line 49 column 7: end tag for element "HEAD" which is not open .


    </head >
    The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

    If this error occured in a script section of your document, you should probably read this FAQ entry.



    Error Line 50 column 6: document type does not allow element "BODY" here .
    <body >

  4. #4
    Il sito è sempre lo stesso immagino! Non potresti usare sempre lo stesso thread invece di aprirne uno nuovo per ogni errore che trovi?

    <link rel="stylesheet" type="text/css" href="style.css/>
    vedi che mancano le virgolette di chiusura per href? Inoltre lo slash finale (/) non ti serve visto che scrivi in HTML e non XHTML!
    <div class="primo>
    manca anche qui vedi? se usi un editor con il codice a colori te ne accorgi subito!

    Altra cosa, non scrivere mai il nome dei file lasciando degli spazi, altrimenti ti rimane un "%20"

    Poi ce ne sarebbero anche altre di cose da dire, ma ti consiglierei di leggerti qualche buona guida

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.