background-image using the url function, which takes the URL of a file as its only parameter : url : Style Basics HTML CSS TUTORIALS


HTML CSS TUTORIALS » Style Basics » url »

 

background-image using the url function, which takes the URL of a file as its only parameter


 



<html>
<head>
<title>Set URL for Background Image </title>
    <style type="text/css">
        div background:url("http://www.navioo.com/style/logo.png"no-repeat; width:250px; height:76px; 
    </style>
</head>
<body>
<h1>Background Image</h1> 
<div></div> 
</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Style Basics
» url