Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 17

Discussione: W3c

  1. #1
    Utente di HTML.it
    Registrato dal
    Dec 2004
    Messaggi
    10

    W3c

    Ciao a tutti. Sì sono nuova dalle VS parti anche se bazzico spesso nel portale per reperire informazioni.
    Ho bisogno gentilmente di aiuti concreti da chi ne sa certamente + d me. Ho intrapreso il fare siti di un certo calibro a cui vorrei accedessero anche persone disabili, compreso un portale che sto tirando sù.
    Ho iniziato da un sito semplice, in HTML e tutto quello che è spiegato su html.it è sì chiaro ma poco fruttuoso a me che sono sconosciuta a certi parametri W3C.
    Mi ha convalidato i css fornendomi il loghetto del W3C validator CSS! ma mi dà diversi errori che nn comprendo del perchè e compreso anche del

    This page is not Valid HTML 4.01 Transitional!

    Perkè?
    Line 6, column 66: document type does not allow element "META" here

    ...V="Content-Type" content="text/html; charset=utf-8">

    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).



    Line 7, column 51: document type does not allow element "META" here

    <META HTTP-EQUIV="Cache-Control" content="no-cache">



    Line 8, column 38: document type does not allow element "META" here

    <META HTTP-EQUIV="Expires" content="0">



    Line 9, column 129: document type does not allow element "META" here

    ... italia, mare, magazzino, interporto">



    Line 10, column 37: document type does not allow element "META" here

    <META NAME="Rating" content="General">



    Line 11, column 42: document type does not allow element "META" here

    <META NAME="Robots" content="index,follow">



    Line 12, column 199: document type does not allow element "META" here

    ...volgendo lavori di diversa tipologia">



    Line 13, column 48: document type does not allow element "META" here

    <META NAME="Author" content="M.R. Web Creations">



    Line 14, column 178: document type does not allow element "META" here

    ... scarico merci imbarco navi container">



    Line 15, column 81: document type does not allow element "META" here

    ... scarl - Cooperativa Lavori Portuali">



    Line 16, column 50: document type does not allow element "META" here

    <META NAME="Designer" content="M.R. Web Creations">



    Line 17, column 38: document type does not allow element "META" here

    <META NAME="revisit-after" content="7">



    Line 63, column 6: document type does not allow element "TITLE" here

    <title>All Services</title>



    Line 64, column 22: document type does not allow element "STYLE" here

    <style type="text/css">



    Line 68, column 54: document type does not allow element "LINK" here

    <link href="menu.css" rel="stylesheet" type="text/css">



    Line 69, column 55: document type does not allow element "LINK" here

    <link href="testo.css" rel="stylesheet" type="text/css">



    Line 70, column 56: document type does not allow element "LINK" here

    <link href="titolo.css" rel="stylesheet" type="text/css">



    Line 71, column 58: document type does not allow element "LINK" here

    <link href="monromag.css" rel="stylesheet" type="text/css">



    Line 82, column 44: there is no attribute "BACKGROUND"

    ...TD height="28" vAlign=top background="images/bb2&3.jpg"><!--DWLayoutEmptyCell

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.

  2. #2
    Utente di HTML.it L'avatar di zoom
    Registrato dal
    Dec 2001
    Messaggi
    1,737
    la pagina NON è valida.
    quelli sono tutti gli errori che da.
    Evidentemente stai provando a mettere i meta in una posizione non corretta (head).
    controlla la struttura dell'html
    Chicco Ravaglia per sempre con noi!

  3. #3
    L'errore è nella riga 6 o in quelle prima, le altre righe sono errate perché la prima influenza tutte.
    Controlla bene il codice da te utilizzato e non utsare sintassi diverse da quelle dichiarate nel DOCTYPE.
    Usi HTML o XHTML???
    FEDERIX.IT - [Pillola] GRAFICA DEI FORM

    ...ho ancora quella forza che ti serve, quando dici "Si comincia!"

  4. #4
    Utente di HTML.it
    Registrato dal
    Dec 2004
    Messaggi
    10
    uso HTML ma non capisco l'errore.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.allservicesgioiatauro.com">
    <HTML lang="IT">
    <HEAD>
    <TITLE>All Services scarl - Cooperativa Lavori Portuali - Porto di Gioia Tauro (RC)</TITLE></HEAD>
    <META HTTP-EQUIV="Content-Type" content="text/html; charset=utf-8">
    <META HTTP-EQUIV="Cache-Control" content="no-cache">
    <META HTTP-EQUIV="Expires" content="0">
    <META NAME="Description" content="All services scarl, porto di gioia tauro, reggio calabria, italia, mare, magazzino, interporto">
    <META NAME="Rating" content="General">
    <META NAME="Robots" content="index,follow">
    <META NAME="Abstract" content="Noi della ALL SERVICES scarl, unica azienda a poter operare per mezzi e strutture nel porto di Gioia Tauro, siamo attivi dal 1998 svolgendo lavori di diversa tipologia">
    <META NAME="Author" content="M.R. Web Creations">
    <META NAME="Keywords" content="All services scarl Gioia Tauro vacanze trasporti porto interporto cartina della città di gioia tauro calabria scarico merci imbarco navi container">
    <META NAME="Copyright" content="All Services scarl - Cooperativa Lavori Portuali">
    <META NAME="Designer" content="M.R. Web Creations">
    <META NAME="revisit-after" content="7">

    <script language="JavaScript">
    Questa è la pagina ovviamente... non tutta...il sito in questione è www.allservicesgioiatauro.com

  5. #5
    Il tag </head> va dopo aver dichiarato tutti gli stili e i meta. Inoltre ti consiglio di scrivere tutto in minuscolo.
    FEDERIX.IT - [Pillola] GRAFICA DEI FORM

    ...ho ancora quella forza che ti serve, quando dici "Si comincia!"

  6. #6
    Ho provato a validare una pagina a caso e l'unico errore che mi ha dato è che hai utilizzato un attributo bg nel body.


  7. #7
    Utente di HTML.it
    Registrato dal
    Dec 2004
    Messaggi
    10
    ok...essendo inesperta mi affido a ciò che dite sicuramente...ma anke il bg della pagina...perkè è un errore? probabilmente la & nel nome della jpg?

    riguardo l'idex? è visibile ai disabili? insomma...non ke mi servano i loghini quanto invece riuscire a rendere tutto accessibile...anche convalidandola con bobby o WAI W3C

  8. #8
    Utente di HTML.it
    Registrato dal
    Dec 2004
    Messaggi
    10
    http://validator.w3.org/check?uri=ht...om%2Findex.htm

    questi sono gli errori che mi dà.

    Why?

    grazie ancora

  9. #9
    Utente di HTML.it L'avatar di zoom
    Registrato dal
    Dec 2001
    Messaggi
    1,737
    l'html 4 non è che me lo ricordi benissimo ma potrebbe essere deprecato già da lì l'uso del background.
    tutte le caratteristiche grafiche di un sito devono essere impostate via CSS


    gli altri errori.
    gli script vanno nell'head, non hai aperto il body
    i link vanno nell'head, hai messo due title...
    ecc
    ecc

    Chicco Ravaglia per sempre con noi!

  10. #10
    Utente di HTML.it
    Registrato dal
    Dec 2004
    Messaggi
    10
    ok.

    Ho rimesso il tutto e gli unici errori che mi dà sono quelli del bg.
    http://validator.w3.org/check?uri=ht...iatauro.com%2F

    e dell'HTML 4.01 Transitional che mi dice che non è valido...perkè???

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.