RGB Web Tech

RGB Web Tech

Meta Charset HTML

Last updated on March 1st, 2022 by RGB Web Tech

The HTML charset attribute is used to specify the character encoding for the HTML document. The charset attribute could be overridden by using the lang attribute of any element.

Syntax:

<meta charset="utf-8"/>

Attribute Values: It contains the value i.e character_set which specifies the character encoding for the HTML document.

Values:

UTF-8: It specifies the character encoding for Unicode.

ISO-8859-1: It specifies the character encoding for the Latin alphabet

Example: This Example illustrates the use of charset Attribute in Meta Element.

<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> </head> <body> <h1>Meta Tag Charset</h1> <p></p> </body> </html>

WRITTEN BY

RGB Webtech - Web Design & Development Company

We are a startup and innovative IT Company. We provide complete Web Design, Web Development, Digital Marketing and App Development solutions.

  • Facebook
  • Twitter
  • Linkedin
  • Pinterest
  • Instagram
  • Tumblr
  • Youtube