Q7. Consider the HTML code <A HREF=#intro> Introduction </A>
In the above code:
- What is the purpose of # ?
- What will happen when the user clicks “Introduction”?
Ans. 1. The # symbol is used to tell the Web browser that this link is in the same Web page.
Ans. 2. When you click Introduction, you are redirected (or sent) to the section named ‘intro’ in the Web page.