0

How to create alink to the same page on html??

22nd Feb 2020, 6:58 PM
Syed Arsalan
Syed Arsalan - avatar
9 Answers
+ 1
Do you know how to create links for other pages? If so, post your code please.
22nd Feb 2020, 6:59 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
Syed Arsalan try to read about absolute and relative paths, I believe it's what you need. However, if you're only interested in linking the page itself, then use: <a href="#">This page<a/>
22nd Feb 2020, 7:10 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
Syed Arsalan it requires JavaScript. Finish HTML & CSS first before moving on. You will learn all this as you go deeper in the course. Don't rush it, or you'll end up confusing things.
23rd Feb 2020, 5:03 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
23rd Feb 2020, 6:23 AM
CalviŐ˛
CalviŐ˛ - avatar
0
For example i want to go on google page I would write < a href ="http.//www.google.com/"> google </a>
22nd Feb 2020, 7:08 PM
Syed Arsalan
Syed Arsalan - avatar
0
Ok
22nd Feb 2020, 7:13 PM
Syed Arsalan
Syed Arsalan - avatar
0
For example i have created a button and i want to add a content or page in this button so what i do??
23rd Feb 2020, 5:02 AM
Syed Arsalan
Syed Arsalan - avatar
0
Okk
23rd Feb 2020, 5:04 AM
Syed Arsalan
Syed Arsalan - avatar