Jump to content

Have a question about HTML and XHTML


dennylin93

Recommended Posts

XHTML is just a way to format your html in a standards compliant way.It just contains the set of rules you need to code a valid html file.that being said, xhtml is not a language, therefore, when you write an html file, you can standardize it by using the rules set in xhtml.

Link to comment
Share on other sites

You can write XHTML in a .html with no problems. Think of XHTML as a newer version of HTML (not entirely true but for arguements sake...).XHTML is more strict that HTML making you close every tag and it has depreicated a lot of needless HTML tags in order to make you use CSS to preform the same tasks.XHTML's goal is to seperate structure from presentation. XHTML provides the structure while CSS takes care of presentationEDIT: oohhohhhh I have been beaten :)

Link to comment
Share on other sites

@ aspnetguy: so you're beaten? On top of that, I'll give additional information even you left out :)Html: http://www.w3schools.com/html/html_intro.aspXhtml: http://www.w3schools.com/xhtml/xhtml_intro.aspDeprecated list: http://dhost.info/profmemberone/Pages/deprecated.htm(promotion of my page :))Lol :)

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