|
| |||||||
![]() | Welcome to iWEBTOOL Talk, where you talk about
webmaster-related stuff.
1 Register
2 Browse the board
3 Discuss whatever may interest you! | |||||||||||||
![]() |
| | Thread Tools | Search this Thread | Display Modes |
| | #1 | |
| iWEBTOOL SEO Advisor Contributor Join Date: May 2006
Posts: 1,252
![]() ![]() ![]() | I've got my first page complete warning free with HTML code. 1) Is there good reasons to go on and convert it to XHTML? 2) I noticed some HTML pages declare at the beginning Quote:
__________________ Eco Tours | Gift Baskets See a good post? <--Give thanks by clicking left of post.
| |
| |
|
| |||||||
| | #2 |
| Member | There are three different document types for HTML 4.01: Strict, Transitional, and Frameset. The Strict type is used with Cascading Style Sheets and helps to ensure clutter-free coding. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> The Transitional type is used when HTML presentational features are included in the document instead of in a style sheet. This is done to accomodate older browsers that don't support CSS. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> The Frameset type is used in documents that have frames. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> The same three document types are also used in XHTML 1.0: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> Since the <DOCTYPE> declaration is actually a comment tag, it won't confuse older browsers that don't understand the statement.
__________________ |
| |
| | #3 | |
| iWEBTOOL SEO Advisor Contributor Join Date: May 2006
Posts: 1,252
![]() ![]() ![]() | The following don't match your 6 options. Quote:
__________________ Eco Tours | Gift Baskets See a good post? <--Give thanks by clicking left of post.
| |
| |
| | #4 |
| Member | This declares the document to be XHTML 1.0 Transitional. XHTML 1.0 Transitional is an XML version of HTML 4 Transitional, Hence why you noticed HTML pages declare at the beginning.
__________________ |
| |
| | #5 | |
| iWEBTOOL SEO Advisor Contributor Join Date: May 2006
Posts: 1,252
![]() ![]() ![]() | Does the line Quote:
__________________ Eco Tours | Gift Baskets See a good post? <--Give thanks by clicking left of post.
| |
| |
| | #6 |
| Member | No this part is the namespace name http://www.w3.org/1999/xhtml is intended for use in various specifications such as: # XHTML 1.0: The Extensible HyperText Markup Language # XHTML Modularization # XHTML 1.1 # XHTML Basic In a nutshell, its simply a reference to the markup you are using so xmlns="http://www.w3.org/1999/xhtml" relates to the above four modules which can be found by visiting the URL within the reference: xmlns="http://www.w3.org/1999/xhtml"
__________________ |
| |
(Threads which have no activity for more than 30 days are automatically closed.) |
| Quick Reply | ||
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| xHTML / CSS / Wordpress Coding | Zack | Other Goods | 0 | 01-21-2007 10:56 PM |
| I need an alternative to this: <html xmlns="http://www.w3.org/1999/xhtml"> | joaoleitao | Programming | 6 | 01-05-2007 10:24 AM |
| XHTML Brief-up please...!!! | Ash_007 | Web Development | 2 | 10-24-2006 04:14 PM |
| XHTML Validation | compuXP | Advertise your website | 1 | 06-16-2006 06:34 PM |
| XHTML vs. TABLES | hwfranz2001 | Search Engine Optimization (SEO) | 6 | 02-09-2006 03:34 AM |