technology medium mcq

Which HTML attribute specifies the character encoding for a web page?

  1. charset
  2. encoding
  3. meta
  4. content-type

Answer: charset

in HTML specifies character encoding. UTF-8 supports virtually all languages and symbols. Proper encoding prevents display issues and security vulnerabilities like XSS. Fundamental for internationalization and web security awareness in exams.
Topic Web Technologies
Exam Relevance SSC JE, Banking IT, Railway