By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,956 Members | 1,683 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,956 IT Pros & Developers. It's quick & easy.

Converting Web Sites to XHTML+CSS

P: 30
Many Web designers and developers have been building Web pages for years. Just one person can create so many sites with so many pages that the thought of trying to convert all of them to anything is completely overwhelming. But if you've been building pages with an editor or by hand, you probably have pages that are not valid XHTML, and use old HTML styles like the font tag instead of Cascading Style Sheets.

There are valid reasons for leaving your site in an older state than XHTML+CSS, but make sure that you've decided to do that. Don't just leave your site old because you can't be bothered to look at it. And, no, I won't accept that your editor does it that way as an excuse.

Current Status
XHTML+CSS is the latest iteration of Web design. It allows you to place your content into your documents separate from how that content should look. XHTML 1.0 is a backwards compatible version of HTML 4.0 converted into XML. This means that it is more flexible and ready to work with databases, dynamic content, and future developments in the field. XHTML is easy to learn, especially for designers who already know HTML. And Cascading Style Sheets (CSS) give you even more flexibility in designing the look of pages. CSS is also easy to learn. XHTML and CSS combined make up XHTML+CSS.
Oct 13 '06 #1
Share this Question
Share on Google+
3 Replies


jaymanson
P: 29
All very true, but it's only right to credit the author when you quote their work:

Jennifer Kyrnin @ about.com
Oct 13 '06 #2

drhowarddrfine
Expert 5K+
P: 7,435
A number of errors in the last paragraph.
It allows you to place your content into your documents separate from how that content should look.
So does HTML.
XHTML 1.0 is a backwards compatible version of HTML 4.0 converted into XML.
It is XML designed to look like HTML and not converted to anything.
This means that it is more flexible and ready to work with databases, dynamic content,
Xhtml has nothing to do with databases or dynamic content. HTML can do the same thing.
XHTML is easy to learn, especially for designers who already know HTML.
XHTML is XML and more difficult to learn than HTML.
CSS is also easy to learn.
I think many would disagree with that.
XHTML and CSS combined make up XHTML+CSS.
The authors intelligence is beyond reproach.
Oct 13 '06 #3

P: 76
Actually if you already know HTML, XHTML is very easy to learn. Pretty much XHTML is just HTML using the proper conventions that people should already be using with a few differences.

HTML you can get away with things like <br> but in XHTML you must close all tags properly so <br> becomes <br /> and while Internet Explorer might end your <body> tag for you it's proper form to remember to do it yourself.

Basic CSS is also not that difficult to understand once you've read a few tutorials. If you have difficulty learning basic CSS you probably also have problems with understanding HTML. If you understand the fundamentals of what tags and attributes are basic CSS isn't that hard.

Now if you're wanting to do multiple layers and use CSS with Javascript yeah... I could see some issues.

On a side-note here I believe this forum is for people to get help with code they're working on not to regurgitate articles found via Google.
Oct 13 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.