href to index.jsp page not working - html

I have built a simple java-web application.
The website has three pages ("index.jsp", "info.jsp" and "contact.jsp").
When you are on the index page you can go to the nav-bar and click on "info" or on contact and then you go to the respective page.
Here's, e.g., the link leading to the contact page:
Contact
The crazy thing is this:
When you click on the link to the index-page, it doesn't work - so you don't come back to the main-page.
Here's the code for the link:
Welcome
What is supposed to be wrong with this code???

Related

Menu with anchor links to sections of a page (#) redirect to another page within the site (WordPress)

I've encountered a problem that never happened to me before: on this test site: http://c2040213.ferozo.com/dimi/ whenever you click on one of the sub menu links from the "Vender" menu item, they start redirecting to the "Comprar", even though on the href there is no indicator that the link itself redirects to that site, instead, they are anchor links to http://c2040213.ferozo.com/dimi/#tasa for example.
So I'm having trouble discovering why when I click a link that goes to http://c2040213.ferozo.com/dimi/#tasa, redirects me to http://c2040213.ferozo.com/dimi/comprar
I'm working on the latest version of WordPress and with Elementor.
Thanks a lot in advance, feel free to ask for more information if needed.

How to get real urls in html css (Without #)

I've been using hashtag(#) with navigation menu button links, to avoid error. When you are using # you can just click on the link button and it does nothin'. Now I want to get real urls of my site. I can copy like facebook site's url, github site's url and make it as a link button on my site, but I want to have my own website's link. for EX: when you click "About me" button and new page appears on the screen and it's all about me (not blankpage) :D do I need to create another html document?. please help! SOS! THANK YOU!

html links & anchoring secondary html page to link back to index and anchored location

I feel like this should be very basic, I've been searching but can't seem to word it well enough for searches.
currently I have 2 html pages, my first index.html page has a navigation that links to itself throughout the entire site.
Home
Services
Portfolio
Contact
all of these section are on the main page (one page layout)
now I have recently added a secondary html page that is accessed via a button in the portfolio section to see a gallery of photos, easily enough I can get to that page via href="portfolio.html"
equally if i want to get back to my home page I can put in href="index.html"
here comes my troubles... What if I want to not only get to the home page, but I want to get to the Services section that is on the home page?
href="index.html/#services" throws error.
Thank you for your time.
Link should be: Services
anchor should be: <a id="services"> ... </a> (HTML5)
well...you're doing well to get into a specific place in the page you need you define id to your element and pass it with the URL. it'll be much easier to see the code itself and tell you what's wrong. try to check that the element has the right id or that you don't call different elements with the same id so the browser can't decide which element you'd like to go to

WordPress Menu Link Issue

I am currently developing a WordPress website.
I have home page as parallax page. you can visit here. and parallax working fine on this page,
I have another page on same site which you can see here, you can also navigate to that page by clicking news menu link on home page.
My issue is, after navigating to news page, other links ( Home, Services ) not working.
When I right click and choose open link with new Tab its working, but when i direct click that menu link (Home, Services ), Its not working, Why? What is missing there?
I have tried to bind jQuery click event with it, and click event in jQuery working fine.
The browser is confused because you are using hashtags # in your url. Hashtags are normally used for links on the same page (anchors). The link is however not on the same page.
When you right-click and select open in new tab you are forcing the browser to go to a new page.
I do not know why the hastag is there in the first place. I suggest you remove it in the url. Do not forget the remove the hashtag in the slug of the page too.
your theme has an event on links with w-nav-anchor class in your js/plugins.js
Add more specific selector like '.home .w-nav-anchor' to run properly.

Link to Home page from another page with sub page anchor (i.e. /#somebookmark)

I'm trying to do something that I thought would be really simple but I can't make it work.
My bookmark anchors work fine if I'm on the home page but the same links in the header of my page don't work if the # part refers to the home page:
Some Link Text
It works if I have some sort of page name, but doesn't work for the home page. (i.e. this works: Some Link Text)
Of course if the href is just / it works fine.
So how the heck does one link to a bookmark in the home page from another page?
Thanks!