Sometimes you want to add `a` element to your website but still don’t know where it will link.
This is also handy when you’re changing the behavior of a link using JavaScript, which we’ll learn later.
For example the current value of href attribute is `https://www.freecodecamp.org`.

Replace href value with…

--

--

We learned how to add heading elements, paragraph element, image and anchor element, today it’s time to learn how to nest them within themselves.

Like example below:
```
<>...<>...</>...</>
```
If you notice we encapsulated one element within other element, let’s break it down a little bit for better understanding 👇
For example if we…

--

--

a (anchor) elements can also be used to create internal links to jump to different sections within a webpage.

To create an internal link, you assign a link's href attribute to a hash symbol # plus the value of the id attribute for the element that you want to internally…

--

--

Ahmadullahnikzad

Ahmadullahnikzad

I am a web developer who writes web development content for you to make web development easier