png image and xhtml

ronaldroe

Super Moderator
Staff member
Nope. XHTML is a more structured way to write HTML. You can use PNG files in any version of HTML, methinks.
 

MizzouTigers

New Member
Ok I am really lost now, I thought that adding the .png photos converted my webpage to xhtml. I have been reading and then tested a theory. I went back to the original template which is html that I am using and I opened it with Kompozer, changed nothing, and hit save and it automatically changed the save to .xhtml with no option of html. Is this common or is it just Kompozer.

My host is iPage and states that my file must be:
index.html
index.htm
default.htm
Default.htm
home.html
Home.chtml

Do I just scratch this template and find something else or is there something I can do to change it to html. This is a REALLY simple template, I do not understand why the software keeps changing it to xhtml.
 

MizzouTigers

New Member
I think it is just Kompozer that is causing the problem. I created the webpage in Kompozer which saved it to xhtml than used Bluefish to convert it to html and the website is working fine on that aspect. Thank you for all the help!
 

PixelPusher

Super Moderator
Staff member
Nope. XHTML is a more structured way to write HTML. You can use PNG files in any version of HTML, methinks.

Ron is correct, PNG images can be used in any Doctype. The main aspect of XHTML is the html markup must be written like well formed xml--all lowercase tags, close tags in the correct order of precedence, self closing where applicable, etc.
 

MizzouTigers

New Member
Problem solved, thank you. I didn't realize if I changed my save option to all I could just change the format to .html. Duh! I am learning very slowly and a** backwards obviously. :rolleyes:
 
Top