Jump to content

Message when saving XHTML page in IE


amame02

Recommended Posts

Hi, I am trying to save an XHTML page created by my application in IE and getting a pop-up message that "This web page may not save correctly. Would you like to save it anyway?" I saved the page and then ran it through xml validator and everything looks good in regards to well-formedness and validity. Can anyone tell me why I am getting the message? Thanks.

Link to comment
Share on other sites

XML files are a whole new sphere of web design. They are NOT a replacement for HTML, unlike XHTML. XHTML files must be saved with either *.html or *.xhtml extensions. As aspnetguy pointed already, IE doesn't support *.xhtml yet, so you would most certanly use *.html instead.As for why IE says this message... it's because XML doesn't define presentation, but just content, therefore, saving (X)HTML as XML would mean that the file would display as an XML source tree, showing you the data without the defined presentation. Read about XML, and you'll know what I mean.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...