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

Discussione: !DOCTYPE quale uso???

  1. #1

    !DOCTYPE quale uso???

    Non ho ben capito quale bisogna inserire....

    aiutoooooooooo

    questo?

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

  2. #2
    fastner
    Guest
    dipende dallo standard che vuoi usare
    html 4.0 4.01
    xhtml 1.0 1.1


  3. #3

  4. #4
    Utente di HTML.it L'avatar di lnessuno
    Registrato dal
    Feb 2002
    Messaggi
    2,732
    è il codice che scrivi... prova a fare la validazione html della w3c e vedi quale ti da meno errori

  5. #5

  6. #6
    Utente bannato
    Registrato dal
    Jun 2004
    Messaggi
    194
    leggiti questi paragrafetti:

    http://www.w3schools.com/tags/tag_doctype.asp

    e scegli quello ch soddisfa meglio le tue esigenze

    ciao

  7. #7
    Sono indeciso tra questi 2

    HTML Strict DTD
    Use this when you want clean markup, free of presentational clutter. Use this together with Cascading Style Sheets (CSS):

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

    HTML Transitional DTD
    The Transitional DTD includes presentation attributes and elements that W3C expects to move to a style sheet. Use this when you need to use HTML's presentational features because your readers don't have browsers that support Cascading Style Sheets (CSS):

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


    perchè io uso un piccolo CSS, ma solo per gli effetti sui link, il resto lo faccio ancora in HTML

    che faccio?

  8. #8
    Utente bannato
    Registrato dal
    Jun 2004
    Messaggi
    194
    Originariamente inviato da maniladisco
    Sono indeciso tra questi 2

    HTML Strict DTD
    Use this when you want clean markup, free of presentational clutter. Use this together with Cascading Style Sheets (CSS):

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

    HTML Transitional DTD
    The Transitional DTD includes presentation attributes and elements that W3C expects to move to a style sheet. Use this when you need to use HTML's presentational features because your readers don't have browsers that support Cascading Style Sheets (CSS):

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


    perchè io uso un piccolo CSS, ma solo per gli effetti sui link, il resto lo faccio ancora in HTML

    che faccio?
    usa il secondo

  9. #9
    inoltre volevo validare il codice, però mi manca questa cosa:

    Content-Type: text/html; charset=ISO-8859-1

    solo che non mi sembra completo, cosa manca?
    dove lo metto, in head?

  10. #10
    Utente bannato
    Registrato dal
    Jun 2004
    Messaggi
    194
    <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" >

    fra i tag <head> e </head>

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.