The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> won't Validate correctly
JasonMichaels
post Jan 25 2019, 04:38 PM
Post #1





Group: Members
Posts: 1
Joined: 25-January 19
Member No.: 26,805



Hello, I am new to coding web sites and am having problems with w3c validator, No matter what I change it still keeps giving me a bunch of errors. Here is my code so far. I might need a lot of help

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset="utf-8"></meta>
</head>
<body>
</body>
</html>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
CharlesEF
post Jan 25 2019, 04:51 PM
Post #2


Programming Fanatic
********

Group: Members
Posts: 1,981
Joined: 27-April 13
From: Edinburg, Texas
Member No.: 19,088



QUOTE(JasonMichaels @ Jan 25 2019, 03:38 PM) *

<meta http-equiv="Content-Type" content="text/html;
charset="utf-8"></meta>

Maybe because the above line is wrong? First, there is no closing </meta> tag, remove them. Second, the above line has an extra double quote. It should be like this:
CODE
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jan 25 2019, 11:58 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



That and you don't have a TITLE and BODY has no sub elements. Both are required.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th April 2024 - 02:09 AM