answersLogoWhite

0

There are many ways to do such a thing.

One would be to give the header a unique id on the home page and use CSS specify it's background image. Of course, if you're doing that, you might as well just add an image tag to it anyway.

If you're looking to add an image on that particular page, without modifying the element into which it's inserted, you could also do it using javascript:

<script type="text/javascript">

var URL = window.location.pathname;

var pageName = URL.substring(URL.lastIndexOf('/') + 1);

if(pageName == 'index.HTML'){

header = document.getElementById('pageHeader');

header.innerHTML = header.innerHTML + '<img src="headerimage.jpg">;

}

</script>

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you display an image on the homepage only using CSS or HTML?

HTML only can be used to display an image on homepage. Image SRC tag can be used to publish it.


How do you put graphics in Blogger?

You can add a Gadget to put graphic images in blogger. You can upload or put the photo URL of the image you want to display in the gadget. You can also add graphics into your header by going into the "design" and click "header". Hope this helps.


How can you populate your Google homepage with different stuff?

To add a background click on Change Background Image (on Google homepage), sign in to Google (or create an account) and select the image you want. Note you have to be on the same country version of Google and signed in to see the image.


What is image that appears for webpage on top of browser called?

A Logo or a Header.


Can you copyright an image and protect it from unauthorized use?

Yes, you can copyright an image to protect it from unauthorized use. This means that the creator of the image has exclusive rights to reproduce, distribute, and display the image, and can take legal action against anyone who uses it without permission.


Why did you hide the image icon from the homepage?

i need answer to my question, please. i need answer to my question, please.


Can you insert an image in table header in HTML?

Yes, you can insert an image anywhere in the code. You just have to insert the img tag before the area you want to insert it.


How do you use a different header for the image gallery page on your Wordpress blog?

Click the appearance button located on the left hand side of your dashboard to change your header.


How do you find a pictures HTML?

Using HTML to display images you use the tag. To display an image on a page, you need to use the (source attribute) src= The value of the src attribute is the URL of the image (skull) you want to display on your page which means that the image you want to display must be uploaded to a server, and have a web address (URL). The URL for the image points to the location where the image is stored on the server. It should look like this: Broken down it means < img source = "the address (URL) of the image is located / (for the name of the image) Youri_picture.jpg">


How you make a HTML code of your photo?

Using HTML to display images you use the tag. To display an image on a page, you need to use the (source attribute) src= The value of the src attribute is the URL of the image you want to display on your page which means that the image you want to display must be uploaded to a server, and have a web address (URL). The URL for the image points to the location where the image is stored (the server)It should look like this: Broken down it means < img source = the address (URL) of the image location/ (for the name of the image) yourimage.jpg>


Since there is so much electricity in the air is it possible for a satellite to transmit an image randomly without using an electronic device to display it and could it send an image into a street?

No. If for no other reason, there is no air where the satellites orbit.


If the display creates an image by passing light through a medium what display technology is it using?

transmissive