How can we link two web pages created in html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can we link two web pages created in html?

13th Aug 2018, 1:48 PM
Aditya Kashyap
Aditya Kashyap - avatar
5 Answers
+ 2
>a.html: <hmtl> <head> <title> Page A </title> </head> <body> <a href="b.html"> My B page </a> </body> </hmtl> >b.html: <hmtl> <head> <title> Page B </title> </head> <body> Hello, this is page B </body> </hmtl>
13th Aug 2018, 2:05 PM
MarJan
MarJan - avatar
+ 1
the easiest and most basic way is to put 2 .html files in one folder (e.g. let's call them a.html and b.html). You open a.html and create a link: > <a href="b.html"> My B page </a> You can manipulate with styles etc. :P
13th Aug 2018, 1:52 PM
MarJan
MarJan - avatar
0
<a href="other-page.html>This is other page<\a>
13th Aug 2018, 1:53 PM
PandaThePumpkin
PandaThePumpkin - avatar
0
can you send me code to make me understand about your answer
13th Aug 2018, 1:55 PM
Aditya Kashyap
Aditya Kashyap - avatar
0
please help
13th Aug 2018, 2:01 PM
Aditya Kashyap
Aditya Kashyap - avatar