HTML <a> rel 속성

❮ HTML <a> 태그

예시

rel 속성이 있는 링크:

<a rel="nofollow" href="http://www.functravel.com/">Cheap Flights</a>

정의 및 사용

속성 은 rel현재 문서와 링크된 문서 간의 관계를 지정합니다.

href속성이 있는 경우에만 사용됩니다 .

팁: 검색 엔진은 이 속성을 사용하여 링크에 대한 추가 정보를 얻을 수 있습니다!


브라우저 지원

Attribute
rel Yes Yes Yes Yes Yes

통사론

<a rel="value">

속성 값

Value Description
alternate Provides a link to an alternate representation of the document (i.e. print page, translated or mirror)
author Provides a link to the author of the document
bookmark Permanent URL used for bookmarking
external Indicates that the referenced document is not part of the same site as the current document
help Provides a link to a help document
license Provides a link to licensing information for the document
next Provides a link to the next document in the series
nofollow Links to an unendorsed document, like a paid link.
("nofollow" is used by Google, to specify that the Google search spider should not follow that link)
noopener Requires that any browsing context created by following the hyperlink must not have an opener browsing context
noreferrer Makes the referrer unknown. No referer header will be included when the user clicks the hyperlink
prev The previous document in a selection
search Links to a search tool for the document
tag A tag (keyword) for the current document

❮ HTML <a> 태그