How To Make A Link A Picture

Table of contents:

How To Make A Link A Picture
How To Make A Link A Picture

Video: How To Make A Link A Picture

Video: How To Make A Link A Picture
Video: how to make clickable picture link | how to create clickable image to get more views on videos 2021 2024, April
Anonim

If you are an active user of the Internet, you probably use forums, blogs and social networks from time to time. In this environment, you often have to use the markup and formatting language HTML (more often in blogs), or BB-Code (usually in forums and social networks) for texts, pictures and links. Let's consider how to correctly and quickly make a link with a picture manually.

How to make a link a picture
How to make a link a picture

It is necessary

  • - a computer
  • - access to the Internet
  • - input field for html or bb-code

Instructions

Step 1

First, let's make the link in the form of a picture using manual HTML. This method, for example, is used when designing posts in a livejournal.

The href parameter contains the link to which the user will go after clicking on the picture.

The target parameter reflects the behavior of the browser when the link is opened. In this case, the value is _blank, that is, the browser will open the link in a new window (or tab).

img src is the path to the image from which we link.

alt is the text that will appear instead of the image if it does not load, or if it takes longer to load than the main part of the page.

The value will remove the border around the picture. If you still need it, put one instead of zero.

Step 2

With HTML sorted out. Now let's achieve a similar result with bb code.

Here, as you can see, everything is somewhat simpler.

We need to specify the url parameter, it contains the link itself. After that, we specify the img parameter, in it the path to the image from which we want to make a link.

Recommended: