a Tag

The a tag is used to link to a page or to define an in-page bookmark.

The href bridge feature is the most used type. You can use tags like img inside.

<a href="https://www.eascode.com"> Eascode Web Site </a>
<a href="https://www.eascode.com" title="Web Desing"> Eascode  Web Site </a>
<a href="https://www.eascode.com" title="Web Desing" target="_blank"> Eascode  Web Site </a>

<!--Image usage within a tag-->
<a href="https://www.eascode .com"><img src="images/abc.jpg"></a>

<!-- Wrong use-->
<a href="eascode .com"><p> Elements such as div are not used within the a tag. </p></a>


hrefURLSpecifies the location of the target document or web resource (such as an image, PDF, or other media file).
download
file name
When the user clicks the link, it specifies whether to download instead of going to the linked resource.
media
Medya-query
Indicates the environment in which the connected resource is designed.
rel

alternate

author

bookmark

help

license

next

nofollow

noreferrer

prefetch

prev

search

tag

Describes the relationship between the document containing the hyperlink and the linked source. This feature should only be used if the href feature is available.
target

_blank

_parent

_top

_self

Defines a target to open the linked resource specified in the href attribute.


The a tag is one of the tag types that should be closed. It can contain pictures and similar items. Tags such as div p should not be used within the a tag.
E.Albayrak

0 Yorum

Soru & Yorum


Web Tasarım

Renkli Kare

Web Tasarım Ajansı