Skip to main content

LINKS

 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

Popular posts from this blog

HOW PEOPLE ACCESS THE WEB

" THE MAIN FACTORS THAT ARE IMPORTANT IN ACCESS THE WEB 1. BROWSER In order to view a web page, users might type a web address into their browser. 2. WEB SERVERS When we requested a web page, the request sent to a computer known as the webserver which hosts the website. 3. DEVICE It is important to remember that various devices have different screen sizes and some have faster connections to the web than others. 4. SCREEN READERS Screen readers are the program that read out the content of a computer screen to a user. They are commonly used by people with visual impairment. Thanks for visiting my blog. I will try to post regularly. For more blogs related to technology you can visit Relatetechno.codes

HTML Describes the Structure of Pages

You can see an HTML code Below. If you Don't understand Than Don't worry, remember we just started our journey. There are two types of tags. one is opening tag and one is closing tag.in the code you see red and yellow text that called tags. All red tags are opening tags and all yellow are closing tags. CODE   <html> <body> <h1> This is main heading </h1> <p> This text might be an introduction to the  rest of the page. And if the page is a long one it might be split up into several sub-headings. </p>  <h2> This is a sub-heading </h2> <p> Many long articles have sub-headings. so to help you follow the structure of what is being written, There may even be sub-sub-heading(or lower-level headings). </p> <h2> This is another sub-heading </h2> <p> here you can see another sub-heading. </p> </body> </html> For more blogs related to technology you can visit Relatetechno.codes

summary For Structure

Summary HTML pages are text documents. HTML uses tags (characters that sit inside angled brackets) to give the information they surround special meaning. Tags are often referred to as elements. Tags usually come in pairs. The opening tag denotes the start of a piece of content; the closing tag denotes the end. Opening tags can carry attributes, which tell us more about the content of that element. Attributes require a name and a value. To learn HTML you need to know what tags are available for you to use, what they do, and where they can go. For more blogs related to technology you can visit Relatetechno.codes