htmlnewbie23
-
Posts
86 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by htmlnewbie23
-
-
Sorry for the very basic question.
I have a test page that does not have a doctype tag but instead has
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>.
I attached the file.
The W3 validator does not like it because of the absence of a doctype tag.
Can't <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'> replace the doctype? Why not?
If not, I do not know what doctype to put there because the code was automatically generated by the widely popular page:
-
Thank you.
-
Is it enough to change the meta line stating the encoding in the html code or does something else need to happen?More than likely you will need to change it manually. The preferred character encoding is utf-8. -
I have a series of html files that I created long ago using ISO-8859-1. I need to change them to UTF-8 character encoding. I have 2 questions:1. How do I do that? 2. The files include the meta line that statescharset=ISO-8859-1 Does this need to be changed manually or will it automatically be changed to UTF-8? (I currently use the Arachnophilia html editor). Thank you.
Doctype vs <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
in HTML/XHTML
Posted
Thanks.
How do I determine the correct doctype to enter for this file since I did not code it and it did not come with a doctype?
(Doesn't content='text/html serve as a doctype replacement?)