How to first html page link with another html page by click button | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to first html page link with another html page by click button

answer me fast

13th Jan 2018, 7:21 PM
akash kansyakar
akash kansyakar - avatar
2 Answers
+ 2
to link two .html pages first make sure both are in same directory then in <a> tag add href="pagename.html". by this way you can do that. *updated
13th Jan 2018, 7:40 PM
amin charoliya
amin charoliya - avatar
0
@amin charoliya wrote: << in <a> tag add src="pagename.html" >> You're confusing: <a> html element (anchor) require 'href' attribute and not 'src' ^^
13th Jan 2018, 8:04 PM
visph
visph - avatar