definition of html tag code example

Example 1: 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 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