Skip to content
Related Articles

Related Articles

Save Article
Improve Article
Save Article
Like Article

HTML | <a> charset Attribute

  • Last Updated : 27 May, 2019

The charset attribute is used to specify the character set of the linked document i.e. the document referenced to the href attribute.


Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

<a charset="value">

Attribute Values: It contains the value charset which specifies the character encoding for the external scripts.

  • “ISO-8859-1”: It is used for the Standard encoding for the Latin alphabet.
  • “UTF-8”: It is used for the Character encoding for Unicode. Compatible with ASCII.


<!DOCTYPE html>
      HTML a charset Attribute
    <p>Welcome to
        <a charset="UTF-8"


Supported Browsers: No browser supports HTML <a> charset attribute.

My Personal Notes arrow_drop_up
Recommended Articles
Page :