Articles → HTML → Charset attribute in meta tag in HTML

Charset attribute in meta tag in HTML






Purpose





Syntax


<meta charset="charset" />



Example




<html>
	<head>
		<title>Charset demo</title>
		<meta charset="utf-8" />
	</head>
	<body></body>
</html>





Output





Browser Support


Internet ExplorerFirefoxChromeSafariOperaEdge
YesYesYesYesYesYes



Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, August 18, 2020

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250