Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081
    I've always used '.xhtml' as the file extention for pages I do. I don't know why but I was feeling some what schizophrenic tonight. I was even questioning whether this was a valid file extention, and not something that I'd just assumed when I switched over to web standards. Dreamweaver doesn't recognise the pages without browsing under 'ALL Files' - "buhhh;" anyway...

    Most if not all pages I've seen done using xhtml still retain .html/.htm extention or if people use php etc... Does it really matter what extention is used ?

  2.  

  3. #2
    Senior Member rosland's Avatar
    Join Date
    Jul 2003
    Location
    Norway
    Posts
    1,944
    Member #
    2096
    To the best of my knowledge, it doesn't matter for static pages.
    However, if you have php/asp/jsp/aspx etc code embedded in your static contents, you need to have the appropriate extension. The extension tells the server which parser to activate when it encounters an opening script tag. If the file extension is .htm, any server script will be ignored.
    S. Rosland


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:23 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com