JavaScript 美术馆(最基本)


DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
>
< html  xmlns ="http://www.w3.org/1999/xhtml"  xml:lang ="en" >
< head >
  
< meta  http-equiv ="content-type"  content ="text/html; charset=utf-8"   />
  
< title > Image Gallery title >
head >
< body >
  
< h1 > Snapshots h1 >
  
< ul >
    
< li >

      
< href ="images/fireworks.jpg"  title ="A fireworks display" > Fireworks a >
    
li >
    
< li >
      
< href ="images/coffee.jpg"  title ="A cup of black coffee" > Coffee a >
    
li >
    
< li >
      
< href ="images/rose.jpg"  title ="A red, red rose" > Rose a >

    
li >
    
< li >
      
< href ="images/bigben.jpg"  title ="The famous clock" > Big Ben a >
    
li >
  
ul >
body >
html >


这是实现图片库最基本的功能,下面将逐步完善!

你可能感兴趣的:(《JavaScript,DOM,编程艺术》,javascript)