
What would I expect a browser to understand?
• HTML (To describe how the page is marked up)
• Images - .jpg .gif .png (Photos, diagrams, etc)
• Style Sheets - .css (To set the look and feel)
and probably (but progressively less likely:
• JavaScript (for local helpers such as form validation)
• Flash (Dynamic graphics)
• ActiveX Components (For running code within a sandbox)
• Java Applets (for running code in a restricted area)

What would I expect to find in a file of HTML?
• HTML (Instructions for browser text layout)
• Style (How particular tagged types are to be rendered)
• PHP (Code to be run on the server)
• JavaScript (For running on the browser)
• MySQL (For the PHP to use to access the database)
• English (For the web site visitor to read)
*
The PHP and MySQL will only be present in the HTML if you're applying a filter such as PHP to the code
and I would HOPE to find comments in the code / file to tell me how it all works.
I see the top of my first 'board' says "KISS". Although I've described what the user's browser is likely to accept, that's not to say that all user's browsers will accept all possibilities of HTML, Javascript and CSS. In fact with so many different browser types, written by so many different authors, each with their own idea of the specification and extensions we say
Keep
It
Simple,
Stupid!
(written 2008-09-15)
Associated topics are indexed under
A211 - Web Application Design and Deployment [3532] Sharing the user experience - designing a form with the customer in mind - (2011-11-29)
[2072] Copyright, Portability and other nontechnical web site issues - (2009-03-09)
[1547] New bathing idea for hotels from Hotelympia - (2008-02-20)
[1545] Letting new visitors know we provide training courses - (2008-02-19)
[1351] Compressing web pages sent out from server. Is it worth it? - (2007-09-14)
[1256] What country are you in? How we find out on our web site - (2007-07-03)
[1198] From Web to Web 2 - (2007-05-21)
[767] Finding the language preference of a web site visitor - (2006-06-18)
[659] Web Application Components - (2006-03-28)
[443] Server side scripting of styles to suit the browser - (2005-09-12)
[356] Sudoku helper or sudoku cheat - (2005-06-23)
[23] Skills and responsibilities - (2004-08-22)
W601 - Structure of Networks and Webs [2246] What difference does using the XHTML standard really make? - (2009-06-18)
5613
Some other Articles
Motorcycles welcome at Well House ManorWill your backups work if you have to restore them?Spiders WebRegular Expressions in PHPWhat does an browser understand? What does an HTML document contain?I have been working hard but I do not expect you noticedlibwww-perl and Indy Library in your server logs?What have iTime, honeytrapagency and domain listing center got in common?Refactoring - a PHP demo becomes a production pageWhich country does a search engine think you are located in?