黑马程序员:HTML-Div+CSS
---------------------- ASP.Net+Android+IOS开发、.Net培训、期待与您交流! ---------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title>CSS</title> <style type="text/css"> input{background-color:Red;border-color:Green;} p{color:Blue;} </style></head><body><input type="text" value="123" style="background-color:Green;border-color:Red;"/><input type="text" value="123" /><input type="text" value="321" /><div style="background-color:Green;border-color:Red;">Holle</div><p>abc</p><p>abc</p><p>abc</p></body></html>
----------------------- ASP.Net+Android+IOS开发、.Net培训、期待与您交流! ----------------------
详细请查看:http://edu.csdn.nSet