I am creating a webpage that should support all utf-8 languages. Unfortunately, some characters of the language are not recognized in IE, but it is well versed in mozilla and chrome, why?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <p>Chinese Text : 您好世界 </p> <p> Indian text : हेलो विश्व </p> </body> </html>
but when I delete the first line, the characters are also displayed on internet explorer (IE) .
Removed : <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Can someone please explain what should be the correct doctype declaration for multilingual support.
source share