Add a second background image to the <body> element. - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Add a second background image to the <body> element.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
body {<!--from   w ww .  ja  v a 2  s .  c  o  m-->
    background-image: url(https://www.java2s.com/style/demo/Firefox.png), url(https://www.java2s.com/style/demo/Opera.png);
}
</style>
</head>
<body>

<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>

</body>
</html>

Related Tutorials