|
|
|
|
Thread title: Advantages of xhtml? |
|
|
|
|
|
Thread tools
Search this thread
Display Modes
|
|
01-01-2006, 08:00 PM
|
#11
|
Status: Member
Join date: Dec 2005
Location:
Expertise:
Software:
Posts: 325
|
1: Usually loads faster
2: Almost always works perfectly in any good browser
3: It's rumored that SEs can crawl the site faster
4: Sexy button from w3c
5: XHTML is the future, the sooner we get rid of HTML, the sooner browsers will be able to evolve.
|
|
01-01-2006, 09:00 PM
|
#12
|
Status: Senior Member
Join date: Sep 2005
Location: Kingston upon hull, UK
Expertise:
Software:
Posts: 817
|
This is what i heard about xhtml that its aparently more advanced then html its self its better cleaner, powerful etc but the downside is that its harder to code so im sticking with my ye olde html
|
|
01-01-2006, 09:14 PM
|
#13
|
Status: Request a custom title
Join date: Aug 2005
Location: Great Yarmouth, England
Expertise:
Software:
Posts: 1,321
|
i don't know much about html and xhtml but i know that there is hardly any difference in coding xhtml and html, except xhtml has a stricter syntax and html, but it wouldn't make it that much difficult to code with.
|
|
01-01-2006, 09:28 PM
|
#14
|
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
Posts: 3,820
|
Originally Posted by sniper101
... but the downside is that its harder to code ..
|
I would write an eloquent counter-point to this, backing up my belief that XHTML is no more difficult to write down than 'ordinary' HTML. But instead I'll just ask; which uneducated baboon told you that?
Cheers,
Salathe
|
|
01-02-2006, 01:49 AM
|
#15
|
Status: Member
Join date: Dec 2005
Location: Tampa Fl
Expertise:
Software:
Posts: 214
|
One person said that with xhtml and css there is no need for tables to structure your layout. Do you use <li>s and divs then to create the structure of the page ?
|
|
01-02-2006, 02:37 AM
|
#16
|
Status: Custom User Title
Join date: Apr 2005
Location:
Expertise:
Software:
Posts: 2,297
|
With HTML there is no need to use tables. They wern't intended to structure a page, but have been adopted by people back in the early days of the web to create columns for websites, as back then most websites took on a linear approach to "design".
If you want to code a site without using tables to structure your code, then you will mainly use DIVs for the holders and wrappers and LIs for the menu items.
|
|
01-02-2006, 05:07 AM
|
#17
|
Status: Member
Join date: Jun 2005
Location: Milwaukee, WI
Expertise:
Software:
Posts: 445
|
xHTML is more strict. So it is cleaner code and validates if you have a good coder.
|
|
01-02-2006, 10:52 AM
|
#18
|
Status: Lurker
Join date: Jun 2005
Location:
Expertise:
Software:
Posts: 1,473
|
Originally Posted by Spawny
i don't know much about html and xhtml but i know that there is hardly any difference in coding xhtml and html, except xhtml has a stricter syntax and html, but it wouldn't make it that much difficult to code with.
|
XHTML is just as easy as HTML. If you know html then it will take about 5-10 minutes to figure out XHTML. It's almost identical, just a slightly different syntax. www.w3schools.com - Will tell you all you need to know.
|
|
01-02-2006, 03:03 PM
|
#19
|
Status: Junior Member
Join date: Dec 2005
Location:
Expertise:
Software:
Posts: 33
|
Yes, XHTML's syntax is just as easy as HTML's. But there is one more thing: XHTML should be semantic. So mainly - no tables for construction.
Originally Posted by htmlmaster
1: Usually loads faster
|
Yes, but... Web site which use XHTML loads faster cause stylesheets and javascript files and other external files are loaded from browser cache. So it's partially advantage of XHTML.
XHTML is a web standard. We should use web standards to make a good web site, which is accessible for everyone. But web standards is not only syntax. It's a way of thinking to solve problems (i.e. construction of layout).
|
|
01-02-2006, 11:05 PM
|
#20
|
Status: Member
Join date: Dec 2005
Location: Tampa Fl
Expertise:
Software:
Posts: 214
|
Originally Posted by joe
With HTML there is no need to use tables. They wern't intended to structure a page, but have been adopted by people back in the early days of the web to create columns for websites, as back then most websites took on a linear approach to "design".
If you want to code a site without using tables to structure your code, then you will mainly use DIVs for the holders and wrappers and LIs for the menu items.
|
Thanks. Also do clients prefer to have templates coded in <div>s and <ul>s rather than <table>s ? Are there any advantages to <div>s/<ul>s ?
|
|
|
|
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|