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
Post a Comment