c贸digo para poner enlaces de amazon en tada las fotos de wordpress 馃挵馃挼馃挼馃挵
C贸mo usarlo?
- Reemplaza
"https://tupagina.com"
con el enlace real al que quieres dirigir a los visitantes. - Sustituye
"banner.jpg"
por la URL o ruta local de la imagen de tu banner. - Guarde el archivo como
index.html
y 谩brelo en un navegador para probarlo.
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Banner con Enlace</title>
<style>
.banner {
display: block;
width: 100%;
max-width: 600px; /* Ajusta el tama帽o del banner */
margin: 0 auto;
}
</style>
</head>
<body>
<a href="https://tupagina.com" target="_blank">
<img src="banner.jpg" alt="Banner Promocional" class="banner">
</a>
</body>
</html>
Comentarios
Publicar un comentario