Home > other >  Why "index.html#contact" dont move to div with id "contact"?
Why "index.html#contact" dont move to div with id "contact"?

Time:01-03

Code that should get me to div with id "contact":

<a href="index.html#contact" ><i ></i>

div:

<div  id="contact">

I this moves me to:

<div ><ul ><li >Voice Assistant</li><li><a href="https://github.com/LudwikZimmenhof/Voice-Assistant"><img src="https://opengraph.githubassets.com/08acf1b9b376cf16c3a6ec2b3bcfea4e8ed1e33a3291221dbaf5e18086213795/LudwikZimmenhof/Voice-Assistant" style="max-width: 432px"></a></li></ul></div>

Website: enter image description here

CodePudding user response:

I aggree with @Ben Souchet but if you want to fix it and you dont know how to resolve completely. You could point to this section for now...

Also: You can loose the 'index.html' in your href parameters ;)

Contact Info section

  •  Tags:  
  • html
  • Related