Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
ShadyLane #1
WHYY!!!!
so..my first page was giving me lots of trouble in the validator so i made a
new page very simple with nothing on it, no graphics or anything and i run the
validator and i get the same first to errors in my other page and i have no
idea what they mean or why they are doing this..this is the code for the page..
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
help.
</body>
</html>
and this is what the validator says:
Error D:\Macromedia Dreamweaver\RoadKings\TESTER.php
The tag: "html" doesn't have an attribute: "xmlns" in currently active
versions. Line: 3
Error D:\Macromedia Dreamweaver\RoadKings\TESTER.php
The tag: "meta" has an XML style closing syntax for an empty element even
though version: "HTML20" is not an XML tag language.Line: 6
ShadyLane Guest
-
Murray *ACE* #2
Re: WHYY!!!!
WHYY is the local PBS channel. Do you have their permission to use these
call letters? 8)
Try this page -
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<p>help. </p>
</body>
</html>
You definitely don't need the XML prolog (in fact, it shouldn't be there at
all), and you don't need the extra attributes in the <html> tag either.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"ShadyLane" <webforumsuser@macromedia.com> wrote in message
news:e1om3n$r01$1@forums.macromedia.com...> so..my first page was giving me lots of trouble in the validator so i made
> a
> new page very simple with nothing on it, no graphics or anything and i run
> the
> validator and i get the same first to errors in my other page and i have
> no
> idea what they mean or why they are doing this..this is the code for the
> page..
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
> </head>
>
> <body>
> help.
> </body>
> </html>
>
> and this is what the validator says:
> Error D:\Macromedia Dreamweaver\RoadKings\TESTER.php
> The tag: "html" doesn't have an attribute: "xmlns" in currently active
> versions. Line: 3
> Error D:\Macromedia Dreamweaver\RoadKings\TESTER.php
> The tag: "meta" has an XML style closing syntax for an empty element even
> though version: "HTML20" is not an XML tag language.Line: 6
>
>
>
>
Murray *ACE* Guest
-
Michael Fesser #3
Re: WHYY!!!!
..oO(Murray *ACE*)
It can be safely omitted if the document is encoded and delivered as>You definitely don't need the XML prolog (in fact, it shouldn't be there at
>all)
UTF-8 (the default in XML). But if you use another encoding and omit the
prolog, then you have to make sure that the server delivers the document
correctly, so the user agent knows how to decode it.
In fact it _should_ be there, the only problem is that it will trigger
quirks mode in IE.
It should be there, and in strictly conforming documents it's mandatory.>and you don't need the extra attributes in the <html> tag either.
3.1.1. Strictly Conforming Documents
[url]http://www.w3.org/TR/xhtml1/#strict[/url]
Micha
Michael Fesser Guest



Reply With Quote

