html - Background image not showing up on the website -


i trying place background image not appear. please guide.

    <header style="    background-image: url("header.png")"; "><p>test</p>         </header> 

it's have typo mistake or missing image. can use code snippet:

inline css:

<header style="width: 360px; height: 150px; background-image: url('http://placehold.it/360x150');">   <p>test</p> </header> 

external css:

header {    width: 360px;    height: 150px;    background: url("http://placehold.it/360x150");  }
<header>    <p>test</p>  </header>


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -