The HTML <meta> tag is used to provide metadata about an HTML document. Metadata can include information such as the character set used in the document, the author of the document, and keywords that describe the document's content. The <meta> tag is not displayed on the page but is used by browsers, search engines, and other web services to understand and process the document.
Here is an example of a <meta> tag that sets the character set of the document to UTF-8:
In this example, the charset attribute is used to set the character set to UTF-8. This ensures that the document is displayed correctly in browsers and other applications that support UTF-8.