Aprire un nuovo documento nell'editor di testo . Salvare il file come " moveimage.html . " 
 2 
 Scrivi documento codice intestazione 
 
< DOCTYPE HTML PUBLIC " - . ! //W3C //DTD XHTML 1.0 Strict //IT "
 
 " http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd " > 
 
 < html xmlns = " http://www .w3.org/1999/xhtml "> 
 
 < contenuto meta = " text /html ; . charset = utf-8 "http - equiv =" Content-Type " /> 
 3 
 scrittura di codice di stile documento 
 
 < style type = "text /css " > 
 
 # immagine 
 
 { 
 posizione 
: absolute ;
 
 z -index : 0 ; 
 
 visibility: visible ; 
 
 top : 10em ; 
 
 sinistra : 10em ; 
 larghezza 
 : 5em ; 
 altezza 
 : 5em 
 
 } 
 
 < /style > 
 4 
 Scrivi documento di codice JavaScript . 
 
Programmazione © www.354353.com