C
carlben
I am now trying to work with my Frontpage created website in Expression Web.
I am following the advice in these discussion groups to try to clean up the
code to XHTML standards.
I took one small page and added Doctype, then choose Reformat HTML, then
chose Apply XML and all yellow-highlighted problem areas disappeared, which
was nice.
Now I am left with numerous (not yellow-highlighted but rather underlined
with a red squiggly line) errors, mainly having to do with comments such as:
"The World Wide Web Consortium now regards the attribute 'align' as
outdated. Newer constructs are recommended."
I get this same error message for <font> and 'border'.
Question #1:
So, how do I find these "newer constructs" to replace the errors for
'align', <font>, and 'border'? And how important are these errors anyway?
Question #2: One other error I do not understand is this:
All <style> tags must have a type attribute.
How do I correct that?
Question #3: And finally, in one of the discussion threads it was suggested
to change the <html> tag to:
<html xm1ns="http://www..w3.org/1999/xhtml">
When I did that, an error messge came up stating that xm1ns is not allowed.
So, I just changed it back to <html> and the error message went away.
What was that all about?
Thanks for any help you can give me.
Carl
I am following the advice in these discussion groups to try to clean up the
code to XHTML standards.
I took one small page and added Doctype, then choose Reformat HTML, then
chose Apply XML and all yellow-highlighted problem areas disappeared, which
was nice.
Now I am left with numerous (not yellow-highlighted but rather underlined
with a red squiggly line) errors, mainly having to do with comments such as:
"The World Wide Web Consortium now regards the attribute 'align' as
outdated. Newer constructs are recommended."
I get this same error message for <font> and 'border'.
Question #1:
So, how do I find these "newer constructs" to replace the errors for
'align', <font>, and 'border'? And how important are these errors anyway?
Question #2: One other error I do not understand is this:
All <style> tags must have a type attribute.
How do I correct that?
Question #3: And finally, in one of the discussion threads it was suggested
to change the <html> tag to:
<html xm1ns="http://www..w3.org/1999/xhtml">
When I did that, an error messge came up stating that xm1ns is not allowed.
So, I just changed it back to <html> and the error message went away.
What was that all about?
Thanks for any help you can give me.
Carl