![]() |
![]() |
|
| Condividi questo contenuto nei Social Network: |
|
Tweet |
|
|
|
Ti stiamo aspettando: Registrati subito e gratis. Entra a far parte di una delle comunità più attive in Italia. Se hai dimenticato i tuoi dati li puoi recuperare subito. |
||||
|
|||||||||
Hey Amico Visitatore, Condividi con noi le tue idee e la tua conoscenza Aprendo una nuova discussione nella sezione HTML e XHTML |
|
|
LinkBack | Strumenti di discussione |
|
|
#18 (permalink) | |
|
User
Data di registrazione: Oct 2006
Messaggi: 238
|
Quote:
![]() | |
|
|
|
|
|
#19 (permalink) |
|
User
Data di registrazione: May 2010
Messaggi: 56
|
Non è vero, per risalire di una cartella ti basta aggiungere ../ al percorso relativo... Cioè:
(è solo un esempio di come potrebbe essere strutturato il tuo sito) root |+menu | |----menu.html | |+css |+js | |----index.html |----contatti.html |----ecc.html Allora, se nella tua index vuoi includere il menu devi scrivere 'menu/menu.html', ma se nella pagina menu.html volessi includere l'index (è una stupidata lo so, ma serve solo per farti capire il funzionamento) devi fare '../index.html', ok? In pratica ../ vuol dire "torna indietro di una cartella e ricomincia da quel punto"... |
|
|
|
|
|
#20 (permalink) | |
|
User
Data di registrazione: Oct 2006
Messaggi: 238
|
Quote:
![]() | |
|
|
|
|
|
#23 (permalink) |
|
User
Data di registrazione: Oct 2006
Messaggi: 238
|
ciao il problema adesso è dalla validazione della pagina che mi da due errori cioè includendo le due pagine il w3c mi trova due html di troppo come posso risolvere? se elimino html e head dalle pagine non funzionano più le funzionalità interne delle due paginette che includo come posso fare?
gli errori Line 71, Column 7: document type does not allow element "HTML" here <html> ✉ 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 199, Column 6: document type does not allow element "HTML" here <html> Line 199, Column 6: document type does not allow element "HTML" here 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). |
|
|
|