Visualizzazione dei risultati da 1 a 6 su 6

Discussione: xHTML simboli

  1. #1

    xHTML simboli

    ciao a tutti.
    Riscontro un errore nelvalidare questa riga:
    [img]img/bar_up.GIF[/img]

    Io pensavo fosse il # che andava scritto come & (&_a_m_p_ invecce da come vedo le regole dicono che va scritto proprio così.
    http://www.w3schools.com/tags/tag_map.asp

  2. #2

  3. #3
    Tutto dipende se uso xhtml 1.0 strict è tutto ok.
    Se passo allo 1.1 mi vengono fuori solo gli errori relativi alla mappatura, ora mi vien da pensare che lo standard 1.1 non consenta neanche la mappatura...

    Secondo te quale è meglio?

    L'errore (il primo di 5 è:
    codice:
    Line 30, column 47: character "#" is not allowed in the value of attribute "usemap"
    
    [img]img/bar_up.GIF[/img]

  4. #4

  5. #5
    Utente di HTML.it L'avatar di zoom
    Registrato dal
    Dec 2001
    Messaggi
    1,737
    1.1?
    usa la 1, più completa

    XHTML 1.1 - Module-based XHTML

    This Recommendation defines a new XHTML document type that is based upon the module framework and modules defined in Modularization of XHTML. The purpose of this document type is to serve as the basis for future extended XHTML 'family' document types, and to provide a consistent, forward-looking document type cleanly separated from the deprecated, legacy functionality of HTML 4 that was brought forward into the XHTML 1.0 document types.

    This document type is essentially a reformulation of XHTML 1.0 Strict using XHTML Modules. This means that many facilities available in other XHTML Family document types (e.g., XHTML Frames) are not available in this document type. These other facilities are available through modules defined in Modularization of XHTML, and document authors are free to define document types based upon XHTML 1.1 that use these facilities (see Modularization of XHTML for information on creating new document types).
    What is the difference between XHTML 1.0, XHTML Basic and XHTML 1.1?

    The first step was to reformulate HTML 4 in XML, resulting in XHTML 1.0. By following the HTML Compatibility Guidelines set forth in Appendix C of the XHTML 1.0 specification, XHTML 1.0 documents could be compatible with existing HTML user agents.

    The next step is to modularize the elements and attributes into convenient collections for use in documents that combine XHTML with other tag sets. The modules are defined in Modularization of XHTML. XHTML Basic is an example of fairly minimal build of these modules and is targeted at mobile applications.

    XHTML 1.1 is an example of a larger build of the modules, avoiding many of the presentation features. While XHTML 1.1 looks very similar to XHTML 1.0 Strict, it is designed to serve as the basis for future extended XHTML Family document types, and its modular design makes it easier to add other modules as needed or integrate itself into other markup languages. XHTML 1.1 plus MathML 2.0 document type is an example of such XHTML Family document type.
    Chicco Ravaglia per sempre con noi!

  6. #6
    Ma sinceramente le regole per la scrittura del codice le so, costruisco anche sempre i siti con i div....ma la modulazione dei siti come prevede la 1.1 non l'ho ben capita.

    Dovrò informarmi meglio :master:

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.