what does the a tag do in html code example

Example 1: a tag html

<a href = 'website.com/your/linked/page'>Text in link</a>

Example 2: what does the html tags mean in html

<!DOCTYPE html>
<html>
  <!-- your code here -->
</html>


<!-- html tag is a non-self closing tag in html, it represents the beginning
     and end of your entire code.All the other tags, elements, attributes,etc.
     comes between html tags.

     The HTML <doctype> tag is used to tell the browser which version of
     HTML the document is using. It has no end tag (self-closing tag).
	 For HTML5 version we write <!DOCTYPE html>.
-->

Example 3: a href

<a href="#"><!-- The "#" to be replaced with filename or website address -->Go Somewhere</a>

Example 4: 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.