HTML

HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes

FAQs

HTML charset Attribute

HTML charset Attribute

 

 

The charset attribute specifies the character encoding for the HTML document when it is used with a meta element and when used with a script element it specifies the character encoding of the external javascript file.

 

Used With:-

 

Elements Attribute
meta charset
script charset

 

Syntax:-

 

Its syntax is:- < element charset="value" >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML