Hey can you guys tell me what I need to change to become valid html?
The code I have for this so far is:
What else do I need to become valid?
Result: Tentatively passed validation
File: test.html
Encoding: utf-8
Doctype: -//W3C//DTD HTML 4.01 TRANSITIONAL//EN
Unknown Parse Mode!
The MIME Media Type (text/html) for this document is used to serve both SGML and XML based documents, and it is not possible to disambiguate it based on the DOCTYPE Declaration in your document. Parsing will continue in SGML mode.
No DOCTYPE found!
Attempting validation with HTML 4.01 Transitional.
The DOCTYPE Declaration was not recognized or is missing. This probably means that the Formal Public Identifier contains a spelling error, or that the Declaration is not using correct syntax. Validation has been performed using a default "fallback" Document Type Definition that closely resembles "HTML 4.01 Transitional", but the document will not be Valid until you have corrected this problem with the DOCTYPE Declaration.
This Page Is Tentatively Valid -//W3C//DTD HTML 4.01 TRANSITIONAL//EN
The uploaded document "test.html" was checked and found to be tentatively valid -//W3C//DTD HTML 4.01 TRANSITIONAL//EN. This means that with the use of some fallback or override mechanism, we successfully performed a formal validation using an SGML or XML Parser. In other words, the document would validate as -//W3C//DTD HTML 4.01 TRANSITIONAL//EN if you changed the markup to match the changes we have performed automatically, but it will not be valid until you make these changes
The code I have for this so far is:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">