SitePoint Sponsor |
|
User Tag List
Results 1 to 13 of 13
-
Oct 13, 2006, 04:06 #1
Converting Web Sites to XHTML+CSS
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.
- Jits
(ADVISOR EDIT: please keep links to your signature, thanks)Last edited by vgarcia; Oct 14, 2006 at 03:22.
Globtier Solutions
Outsource IT Smartly
-
Oct 13, 2006, 04:23 #2
- Join Date
- Nov 2004
- Location
- Ankh-Morpork
- Posts
- 12,158
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by jitu78
Originally Posted by jitu78
It is not a 'version of HTML' that looks like XML.
Originally Posted by jitu78
What does XHTML have to do with databases? XHTML doesn't provide any means for 'dynamic content'.
Originally Posted by jitu78
Originally Posted by jitu78
Birnam wood is come to Dunsinane
-
Oct 13, 2006, 05:38 #3
- Join Date
- May 2003
- Location
- Cambridge, UK
- Posts
- 2,366
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Carbonated water is a backwards-compatible version of water converted into bubbly water. This means it is better for you and can cure cancer or any other disease as yet undiscovered by medical science.
-
Oct 13, 2006, 08:01 #4
- Join Date
- Apr 2002
- Location
- A Maze of Twisty Little Passages
- Posts
- 6,316
- Mentioned
- 60 Post(s)
- Tagged
- 0 Thread(s)
Yeah, I am gonna write me some Carbonate Markup Language. Déjà Vue with this bloke today.
-
Oct 13, 2006, 08:23 #5
- Join Date
- Dec 2004
- Location
- Derbyshire - UK
- Posts
- 2,651
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Does anybody else feel that this is a case of somebody thinking that they're an expert trying to preach to people that know a little bit about a subject?
The "more flexible and ready to work with databases" comment had me in stiches.... I'd really like to know why he thinks that XHTML is anymore ready to work with databases than HTML?
My guess is that these threads are being posted on a number of web related industry sites in the hope that google will follow the signature or that people would follow the link and it would generate business.
If the later is correct then you probably want to lose the xml declaration before the doctype on the site and make sure that the site is 100% valid to XHTML Strict before preaching to people about how "easy" it is to make an XHTML website
-
Oct 13, 2006, 08:29 #6
- Join Date
- May 2003
- Location
- Cambridge, UK
- Posts
- 2,366
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You might be right...
Edit: Hmm, it seems to actually be the text of an About.com article.
-
Oct 13, 2006, 08:32 #7
There's a wide gulf of difference between "clean code" and "using XHTML". One is quite possible without the other, yet both get tangled up in each other way too often.
-
Oct 13, 2006, 08:33 #8
- Join Date
- May 2003
- Location
- Cambridge, UK
- Posts
- 2,366
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by csswiz
I say ban - it's spam and stolen content to boot (as is the image format thread as well).
-
Oct 13, 2006, 08:45 #9
- Join Date
- Dec 2004
- Location
- Derbyshire - UK
- Posts
- 2,651
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I had noticed the lack of CSS but there's too many problems with that site to mention.... no alt tags on images, javascript "onclick" navigation (which does use css so was probably stolen from somewhere), use of tables for layouts, any use of styles is written inline, no external stylesheet, xhtml isn't used as img tags etc aren't closed, javascript used to display images...... I could go on but copying and pasting an article and passing it off as your own (however incorrect it is) onto a site which obviously has a number of experts in the industry and then having a link to a site (which is presumably yours) that doesn't meet any of the standards outlined in the article doesn't create a very good impression.
-
Oct 13, 2006, 15:50 #10
- Join Date
- May 2006
- Location
- Aurora, Illinois
- Posts
- 15,476
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
csswiz, they're alt attributes, not tags
I also agree this muck (the "article") needs to be removed.Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns
-
Oct 13, 2006, 16:47 #11
- Join Date
- Dec 2004
- Location
- Derbyshire - UK
- Posts
- 2,651
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by Dan Schulz
-
Oct 13, 2006, 16:53 #12
- Join Date
- May 2006
- Location
- Aurora, Illinois
- Posts
- 15,476
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
That's ok. You'd be surprised at the types of (Web-related) habits I still try to kick...
Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns
-
Oct 13, 2006, 17:00 #13
Originally Posted by Buddy Bradley
Bookmarks