![]() | ![]() | ![]() |
| |||||||
| Forums | Register | Groups | Awards | Arcade | Pets | T-Bucks / T-Store | Invite Your Friends | Blogs | Mark Forums Read |
| Web Design Forums and discussions on webdesign |
Web Design | |||||||||
|
|
|
|
| |||||
![]() |
| | LinkBack | Thread Tools |
| | #2 (permalink) |
| Civilians | Gazing into my crystal ball I observed "Al Wilkerson" <ac527@comcast.net> writing in news:MaadncyQh5StDgvfRVn-oA@comcast.com: > Hey, > > Do anyone know if most browser will support HTML within XHTML? > For example, an HTML table inside an XHTML table and vice versa. > > Thanks, > XHTML and HTML are basically the same. However, if you declare your document to be XHTML, and you serve it as such, then some browsers will not render the HTML because it is not well formed. The main difference between HTML and XHTML is that XHTML has all elements and attributes in lowercase, all attributes must be quoted, and all elements must be closed. For example, the BR element in HTML is never closed, in XHTML, it must be closed, so: <br> (HTML) <br /> (XHTML). I would say what is more imporatant is the DOCType, whether it be Strict or Transitional. New documents should use Strict, and all presentational markup should be removed to a stylesheet. Any javascript should also be moved to an external script as well. Additionally, if you do not have access to server side, and can read the HTTP-Accept, then it is almost useless to use XHTML because IE cannot accept "application XHTML/+xml", and only accepts "text/html" -- Adrienne Boswell http://www.cavalcade-of-coding.info Please respond to the group so others can share |
|
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Inserting HTML code in an HTML page | Francesky | Web Design | 4 | 07-22-2005 04:00 |
| XHTML 1.0 strict vs XHTML 1.1 | Kerberos | Web Design | 2 | 01-17-2005 08:00 |
| XHTML 1.0 vs. XHTML 1.1 | Kerberos | Web Design | 4 | 11-22-2004 10:00 |
| Create PPT slides from HTML or XHTML | Jon Davis | Microsoft Applications | 2 | 06-16-2004 05:33 |
| Trying to create an HTML Parser using MS HTML Object Library (reference) | AI-Pragma | Web Design | 0 | 06-15-2004 18:31 |
![]() | ![]() | ![]() |