0 votes
109 views
in HTML by (3.5k points)
edited

Please explain how to indicate the character set being used by a document in HTML?

1 Answer

0 votes
by (3.5k points)
edited
HTML5 by default uses utf-8 charset  even if it is not defined. To define explicitly in an HTML document the character set is specified using the charset attribute of a <meta> tag which is placed  inside the <head> element of the HTML.

Related questions

0 votes
1 answer 117 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 96 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 135 views
0 votes
1 answer 131 views
asked Jun 24, 2023 in HTML by Doubtly (98.9k points)
0 votes
1 answer 134 views
asked Jun 24, 2023 in HTML by Doubtly (98.9k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

554 users

...