Visualizzazione dei risultati da 1 a 2 su 2

Discussione: immagine sfondo html

  1. #1
    Utente bannato
    Registrato dal
    Dec 2008
    Messaggi
    64

    immagine sfondo html

    ciao sono ancora molto inesperto per quel che riguarda html cmq stavo creando un file e non mi visualizza l immagine questo è il file primario

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//IT"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Spazio-onepiece</title>
    </head>

    <frameset rows="50%">
    <frame name="IMMAGINE SUPERIORE" src="Immagine.html" scrolling="no" frameborder=0>


    </frameset>

    </html>


    file secondario

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Untitled Document</title>
    </head>
    <body background="C:\\Users\\alessio\\Pictures\\logo_ste llaazzurra.gif " >

    </body>
    </html>

    perchè non mette l immagine?

  2. #2
    non mette l'immagine di sfondo?

    codice:
    <body background="C:\\Users\\alessio\\Pictures\\logo_stellaazzurra.gif " >
    Questo codice oltre ad essere deprecato (si usano i CSS), è sbagliato perchè contiene due \\ (devi usare gli slash normali /) inoltre in qualsiasi progetto devi mettere una cartella images o img o immagini dove posizionare tutte le immagini che usi. Il codice che hai postato sembra stato fatto da Frontpage lol.SE non usi i css e non posizioni (e richiami) le immagini in modo corretto non si visualizzeranno mai.

    Oltremodo anche :

    codice:
    <frameset rows="50%">
    <frame name="IMMAGINE SUPERIORE" src="Immagine.html" scrolling="no" frameborder=0>
    </frameset>
    Oltre a essere pesantemente deprecato è anche un metodo di inserimento immagini che non ho mai visto. Per le immagini usa un piu comune tag [img]percorso-tua-img.jpg[/img]


    P.s Questo non è html5
    http://www.targetweb.it - Web design, guide e risorse utili su Html5, jQuery, Css3

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 © 2026 vBulletin Solutions, Inc. All rights reserved.