PC Review


Reply
Thread Tools Rate Thread

converting html to xhtml in expressions web

 
 
=?Utf-8?B?Y2FybGJlbg==?=
Guest
Posts: n/a
 
      3rd Feb 2007
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






--
Thanks so much for your help, as always.
 
Reply With Quote
 
 
 
 
Ronx
Guest
Posts: n/a
 
      3rd Feb 2007
Inline below

--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/
http://www.rxs-enterprises.org/fp



"carlben" <(E-Mail Removed)> wrote in message
news:8858B373-E2E7-4C38-A36A-(E-Mail Removed):

> 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?



These are CSS attributes, such as float:left replacing align="left"
See http://www.w3schools.com for a CSS tutorial.

Replacing the font tags with CSS will make maintenance much easier, but
none of these errors will prevent the page being displayed in any
browser.

>
> Question #2: One other error I do not understand is this:
>
> All <style> tags must have a type attribute.
>
> How do I correct that?



<style type="text/css">

>
> 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?


Should be
html xmlns="http://www..w3.org/1999/xhtml">
Note the lower case L , not number one.

>
> Thanks for any help you can give me.
>
> Carl
>
>
>
>
>
>
> --
> Thanks so much for your help, as always.


 
Reply With Quote
 
David Berry
Guest
Posts: n/a
 
      3rd Feb 2007
You can use the W3C Validator to check your pages http://validator.w3.org/

You can also look at these sites for more information.

http://www.w3.org/TR/html401/
http://www.htmlcodetutorial.com/
http://www.webreference.com/html/



"carlben" <(E-Mail Removed)> wrote in message
news:8858B373-E2E7-4C38-A36A-(E-Mail Removed)...
>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
>
>
>
>
>
>
> --
> Thanks so much for your help, as always.



 
Reply With Quote
 
=?Utf-8?B?Y2FybGJlbg==?=
Guest
Posts: n/a
 
      3rd Feb 2007
Thanks so much for the help!!!!
--
Thanks so much for your help, as always.


"David Berry" wrote:

> You can use the W3C Validator to check your pages http://validator.w3.org/
>
> You can also look at these sites for more information.
>
> http://www.w3.org/TR/html401/
> http://www.htmlcodetutorial.com/
> http://www.webreference.com/html/
>
>
>
> "carlben" <(E-Mail Removed)> wrote in message
> news:8858B373-E2E7-4C38-A36A-(E-Mail Removed)...
> >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
> >
> >
> >
> >
> >
> >
> > --
> > Thanks so much for your help, as always.

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PSD to XHTML Conversion, PSD to HTML, Joomla, Drupal, WordpressConversion, PSD to XHTML CSS xhtml champs Printers 0 19th Aug 2011 12:59 PM
HTML validation vs. XHTML =?Utf-8?B?VGF0eWFuYQ==?= Microsoft ASP .NET 1 27th Nov 2006 10:17 PM
converting a vba procedure/module to xml or xhtml? (vbhtmlmaker) Dave F. Microsoft Excel Programming 0 3rd Nov 2006 03:03 PM
.net library/class/component for converting HTML into XHTML? darrel Microsoft ASP .NET 1 9th Sep 2004 02:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:49 AM.