IMG
insertar una imagen
<img src="smiley.gif" >
insertar una imagen
<img src="smiley.gif" >
No necesita un close tag en Html, pero en el Html 5 si.
Attribute
|
Value
|
Description
|
top
bottom middle left right |
Specifies the alignment of an image according to surrounding elements |
|
text
|
Specifies an
alternate text for an image
|
|
pixels
|
Specifies the width of the border around an image |
|
crossoriginNew
|
anonymous
use-credentials |
Allow images
from third-party sites that allow cross-origin access to be used with canvas
|
pixels
|
Specifies the
height of an image
|
|
pixels
|
Specifies the whitespace on left and right side of an image |
|
ismap
|
Specifies an
image as a server-side image-map
|
|
URL
|
Specifies the URL to a document that contains a long description of an image |
|
URL
|
Specifies the
URL of an image
|
|
#mapname
|
Specifies an
image as a client-side image-map
|
|
pixels
|
Specifies the whitespace
on top and bottom of an image
|
|
pixels
|
Specifies the
width of an image
|
EJEMPLO
<img
src="immagine.gif" align="right"weight ="300"
height="200" border="15"
hspace="100" vspace="100" >
<a
href="https://www.facebook.com ">
facebook </a>
TARGET
Es un atributo
que te dirije se abriras en una pestaña nueva o en la misma
TARGET="_new"
<a href=https://www.facebook.com TARGET="_new" >
facebook </a>
Para poner colores a los links :
|
- link -
standard link - to a page the visitor hasn't been to yet. (standard color is blue -
#0000FF).
- vlink -
visited link - to a page the visitor has been to before. (standard color is purple -
#800080).
- alink -
active link - the color of the link when the mouse is on it. (standard color is red -
#FF0000).
No hay comentarios:
Publicar un comentario