From 0663817324088e2e3665ba944871b5c185350f6a Mon Sep 17 00:00:00 2001 From: quang1793 <42300720+quang1793@users.noreply.github.com> Date: Wed, 12 Dec 2018 03:24:05 +0700 Subject: [PATCH] Add the syntax (#27013) --- guide/english/html/attributes/a-href-attribute/index.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/guide/english/html/attributes/a-href-attribute/index.md b/guide/english/html/attributes/a-href-attribute/index.md index c39e1c5ab2..8031830d12 100644 --- a/guide/english/html/attributes/a-href-attribute/index.md +++ b/guide/english/html/attributes/a-href-attribute/index.md @@ -24,6 +24,15 @@ For instance: ``` The `` attribute is supported by all browsers. +### Syntax + + +URL: The URL of the link. +Possible values: + - An absolute URL - points to another web site (like ) + - A relative URL - points to a file within a web site (like href="index.html") + - Link to an element with a specified id within the page (like hred="#id-name") + #### More attributes: `hreflang` : Specifies the language of the linked resource. `target` : Specifies the context in which the linked resource will open.