Home » HTML » Html miscellaneous » Question
  1. What is the role of charset attribute? It specifies
    1. a name for the metadata
    2. the character encoding for the HTML document
    3. the character decoding for the HTML document
    4. a scheme to be used to interpret the value of the content attribute
    5. None of these
Correct Option: B

A charset attribute is new in HTML5. The charset is used to provide the character support. The charset attribute specifies the character encoding which is in an external script file.



Your comments will be displayed only after manual approval.