EXERCISE CSS07/背景画像を設定(水平方向に繰り返し)
<!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> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <title>背景画像を設定[CSS07]</title> <style type="text/css"> <!-- body { background-image: url("images/css07.jpg"); background-repeat: repeat-x; } h1 { color: #2A748A; font-size: 1.5em; font-family: serif; } --> </style> </head> <body> <h1>Page Design</h1> </body> </html>