Non ho ben capito quale bisogna inserire....
aiutoooooooooo
questo?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Non ho ben capito quale bisogna inserire....
aiutoooooooooo
questo?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
dipende dallo standard che vuoi usare
html 4.0 4.01
xhtml 1.0 1.1
![]()
E come lo so quello che voglio usare?
lo decido io?
in base a cosa?
è il codice che scrivi... prova a fare la validazione html della w3c e vedi quale ti da meno errori![]()
dove lo faccio?
hai un link?
leggiti questi paragrafetti:
http://www.w3schools.com/tags/tag_doctype.asp
e scegli quello ch soddisfa meglio le tue esigenze
ciao
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 secondoOriginariamente 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?
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?
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" >
fra i tag <head> e </head>