How do you make an image clickable in HTML, Computer Engineering

Assignment Help:

How do you make an image clickable in HTML? Give an example.

To create an image or text clickable hyperlinks are used, that use the < A > and < /A > tags. Such tag has different parameters, involving HREF(the URL), METHODs(access methods) and  NMAE(the hyperlink name).

As an illustration consider the given HTML fragment:

 < A HREF = "https://www.foobar.com" > Foobar Home Page< /A >

While a page with this fragment is displayed, therefore on the screen the following is shown:

Foobar Home Page

If the user clicks on it, the browser instantly fetches the page whose URL is https://www.foobar.com and displays this. Now we put an image in place of text. < A HREF = "https://www.foobar.com" > < IMG SRC = "img1.gif" ALT = "Foobar" < /A > while displayed this page demonstrates a picture(img1.gif). Clicking on the picture switches to foobar home page.


Related Discussions:- How do you make an image clickable in HTML

Explain direct or indirect communication, Explain Direct or Indirect Comm...

Explain Direct or Indirect Communication in Inter-process communication. Several types of message passing system in Direct or Indirect Communication are given below:

Explain arithmetic data processing instructions, Q. Explain Arithmetic Data...

Q. Explain Arithmetic Data Processing Instructions? These instructions carry outlogical and arithmetic operations on data. Arithmetic: The four fundamental operations are

Directory of the distribution, I tried to run two of the applets in the exa...

I tried to run two of the applets in the examples directory of the distribution?    Ans) I tried to run two of the applets in the example directory of the distribution. I instal

Set screen and leave screen, What happens if only one of the commands SET S...

What happens if only one of the commands SET SCREEN and LEAVE SCREEN is used without using the other? If we use SET SCREEN without LEAVE SCREEN, the program ends processing for

Factor causing parallel overheads, Performance metrics aren't able to attai...

Performance metrics aren't able to attain a linear curve in comparison to increase in number of processors in parallel computer. The main reason for above situation is presence of

Explain turing reducibility, Explain Turing reducibility?  Exponential ...

Explain Turing reducibility?  Exponential time algorithms typically happens when we solve by searching by a space of solutions known as brute -force search

How can you pass a struct by reference in e, How can you pass a struct by r...

How can you pass a struct by reference in e?   The question is phrased in a tricky way because passing by reference is the default and only possible way to pass structs in e. I

Determine the logic gate having input 0 and output 1, The output of a logic...

The output of a logic gate is 1 when all its inputs are at logic 0. The gate is either ? Ans. When all inputs of logic gate at logic 0 and output is 0. The gate is either a NOR

Coupling and cohesion, Coupling and cohesion can be shown using a:- Dep...

Coupling and cohesion can be shown using a:- Dependence matrix

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd