plodos Posted June 28, 2008 Share Posted June 28, 2008 index.html <a href=”htmllink.html#bulgaria”>Click for Bulgaria </a> <a href=”htmllink.html#greece”>Click for Greece </a> country_list.html <html> greece xxxxxx aaaaaa bbbbbb tttttttt ......... bulgaria ......... ......... ......... </html> Sometimes, I see the some codes like #top #bottom #center bulgaria information is center of the coutry_list.html... If the user click the bulgaria in of the index page.....user will directly go to bulgaria center in the country_list.html but I dont know how to do it :S who can give me the example, pls... Link to comment https://forums.phpfreaks.com/topic/112354-how-to-top-bottom-center-such-and-such/ Share on other sites More sharing options...
br0ken Posted June 29, 2008 Share Posted June 29, 2008 To give a place a name like that you do this: <a name="bulgaria">Bulgaria</a> Then if someone tags '#bulgaria' onto the end of a URL, they will be taken to this point in the page. Link to comment https://forums.phpfreaks.com/topic/112354-how-to-top-bottom-center-such-and-such/#findComment-577249 Share on other sites More sharing options...
soycharliente Posted June 29, 2008 Share Posted June 29, 2008 Check out this page: http://www.w3schools.com/HTML/html_links.asp Scroll down to where it says "The Anchor Tag and the Name Attribute" Link to comment https://forums.phpfreaks.com/topic/112354-how-to-top-bottom-center-such-and-such/#findComment-577547 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.