Links
links are very useful for us. they allows us to move one page to another page. it will make a better experience for user.
<a>
Links are created with <a> tag element . Users can click Anything between the opening and closing</a> tag. We can specify which page we want to link with href attribution.
Linking to Other Website
<a href="https://www.wikipedia.org">Wikipedia Home</a>
Linking page on same website
<a href="index.html">Home</a>
Email Link
<a href="mailto:sagar@sagarved.com">Email To Sagar</a>
Opening Links in a New Window
Target
<a href="google.com" target="_blank">Google Home</a>
Linking To a Specific Part in a Same Page
To achieve this we use I'd'. For referencing A id element we use # and followed by link .
<a href="#contact">Contact</a>
Linking to a Specific part on Another Page
If we want to link a specific part then we refer this
<Filelink #Id_Name>
<a href="hello.html#contact">Contact Me</a>
For Better Understanding I have Add a page of simple Html page . You Can See This at the Link below.
Thanks
For more blogs related to technology you can visit Relatetechno.codes
Comments
Post a Comment