answersLogoWhite

0


Best Answer

The concept of a rollover image is you display an image on your webpage and when a viewer puts his or her mouse over the image, the image interacts, usually by inverting colors etc.. The advantage to using this technique is that it makes your site more interactive, and more fun to browse.

The first step is to create two images. One as the default image that is displayed, and one that will replace it when the user's mouse moves over it. See related link for an example.

Once you create your images it is time for the code:

Open up your web page in the desired text editor (e.i. notepad). Insert the code below into the location you want your rollover image to appear in.

Note: all the bolded italicized text below is meant to define what data should go in that location and should be replaced with the actual parameters of the image in question. See related link for example of how it should be filled out.

Note: make sure you copy everything exactly as it is - syntax is very important with this code. Especially, make sure you don't leave out the apostrophes!

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

An image map is made of two primary bits of code - a map declaration and an image tag.

The image tag is the standard <img src="blah.jpg">, but including the usemap parameter. Like so:

<img src="blah.jpg" usemap="imgmap">

It can also have alt, size specifications, and all the other normal parameters you may wish to use.

The map declaration is a code block similar to the one that follows this paragraph. The map tag has a name corresponding to that identified in the usemap parameter for the image, above, and each link is described by an area tag between the map and /map tags.

<map name="imgmap">

<area shape="rect" coords="0,0,82,126" href="link1.htm" alt="Link 1" />

....

</map>

For each area, you define a shape - the shape of the link, coords - the coordinates of the top left and bottom right corners of the link (each coordinate is an x-y position - horizontal then vertical position), href - the page referred to, and other link based data.

For more detailed information, see the related links.

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

To add an image into a HTML document, use the <img> tag. Here's an example of a completed image tag:

<img src="example.png" alt="An example image" />

There are multiple attributes to this tag. The "src" attribute tells the HTML document where to find the image file. In this case, the image is in the same directory as the HTML document.

The "alt" attribute is meant to contain a short description of what is in the image so that blind users and screen-readers can interpret the image.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you rotate images in HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How will you embed images in HTML page?

Embedding images is very simple task in HTML. Images make a webpage very creative and thus can be embedded by &lt;img&gt; tag.


How to create thumbnail images using HTML and css?

Thumbnail images can be made using HTML and CSS. HTML will import the image and CSS would give the thumbnail style.


What is the HTML command used to insert and display images is the?


Is a embedded image a part of the HTML file?

Images cannot be stored in the actual HTML file itself. HTML is always stored in a text file. Text files cannot store images. What will be in it is a reference to the image which enables the page to show the image, by looking to its location. When you open the HTML file in a browser, it will show the image.


Is Gimp able to convert into HTML?

Gimp can save images as PNG GIF and JPG, but it does not build html, in a way that photoshop would with 'slices'

Related questions

How do you add images and graphic formatting to HTML files?

You can add images and graphics to HTML file by adding them in your project. Giving their path makes them into your HTML.


How will you embed images in HTML page?

Embedding images is very simple task in HTML. Images make a webpage very creative and thus can be embedded by &lt;img&gt; tag.


How to create thumbnail images using HTML and css?

Thumbnail images can be made using HTML and CSS. HTML will import the image and CSS would give the thumbnail style.


How do you rotate text in HTML?

Text can only be rotated in HTML by augmenting it with CSS or other technologies. HTML itself is not capable of this feat.


Does filezilla also transfer images automatically along with the HTML document?

Yes - Filezilla definitely transfers images automatically along with the HTML document.


What is the HTML command used to insert and display images is the?


A Field Operator can upload images?

Anyone can upload images in a form in HTML. You just need an internet connection to work.


The browser will display any text or images defined in which section of the HTML file?

In the body of the HTML file.


Hilary Duff and oliver James images?

go on google images or http://www.allmoviephoto.com/photo/2004_raise_your_voice_012.html


A picture of the alternator?

http://baxters.com.au/HTML/Images/Products_Alternator2.jpg


Is a embedded image a part of the HTML file?

Images cannot be stored in the actual HTML file itself. HTML is always stored in a text file. Text files cannot store images. What will be in it is a reference to the image which enables the page to show the image, by looking to its location. When you open the HTML file in a browser, it will show the image.


How can you add music to a HTML web page when using notepad I want to know where to get some songs or music files from and where to go from there?

as far as i know you cant add music or moving images to a HTML format page for only java can hold moving images or sound. HTML is only a standard format page and can only hold still images or text