Computer Science, asked by chsaiujwalp2h692, 1 year ago

which tag attribute are used to move to (i) a new page , (ii) another location in the same page in html

Answers

Answered by Anonymous
30

Hi,

(i) a new page?

To open new page we have to use href attribute of anchor tag

example: <a href="example.com">Open new page</a>

(ii) another location in the same page in html?

We can move to another location on page using id property of that element in href property of anchor tag.

example: <a href="#elementId">Open new page</a>


Similar questions