what does the <a> tag do in html code example

Example 1: a tag html

<!-- a tags in html are link tags that hold hyperlinks to other
 pages, or anchors in the same page -->
<a href='https://www.google.com'>Click here to visit Google.com</a>

<!-- the href attribute specifies where the link should lead -->
<!-- hope it helped! -->

Example 2: what does i tag do in html

The <i> tag defines a part of text in an alternate voice or mood. The content inside is typically displayed in italic. The <i> tag is often used to indicate a technical term, a phrase from another language, a thought, a ship name, etc.

Tags:

Html Example