<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="author" content="http://www.51texiao.cn/" /> <title>蚂蚁部落</title> <style type="text/css"> a{text-decoration:none;} .over{background-color:green;} .out{background-color:#FFF;} </style> </head> <body> <ul> <li onmouseover="this.className=‘over‘" onmouseout="this.className=‘out‘"> <a href="#">html</a> </li> <li onmouseover="this.className=‘over‘" onmouseout="this.className=‘out‘"> <a href="#">div+css</a> </li> <li onmouseover="this.className=‘over‘" onmouseout="this.className=‘out‘"> <a href="#">javascript</a> </li> <li onmouseover="this.className=‘over‘" onmouseout="this.className=‘out‘"> <a href="#">Jquery</a> </li> </ul> </body> </html>
时间: 2024-10-12 11:56:38