From 2e165048ed07ef53766a2dff6fa56e3053e5f054 Mon Sep 17 00:00:00 2001 From: MasoomaJ <44508486+MasoomaJ@users.noreply.github.com> Date: Thu, 17 Jan 2019 18:34:30 -0800 Subject: [PATCH] Add an example for internal link. (#29899) Add an example that how we can make a link to another section on the same page. --- guide/english/html/elements/a-tag/index.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/guide/english/html/elements/a-tag/index.md b/guide/english/html/elements/a-tag/index.md index 92ce4aba68..1137594e22 100644 --- a/guide/english/html/elements/a-tag/index.md +++ b/guide/english/html/elements/a-tag/index.md @@ -18,6 +18,13 @@ By default, a linked page is displayed in the current browser window unless anot ```html freeCodeCamp ``` +You can also create a link to another section on the same page. +#### Example: + +```html +

+ Go to top +``` An image can also be turned into a link by enclosing the `` tag in an `` tag.