Programming
- Programming / Creation
(HTML / CSS) - Special Programming
(JavaScript and PHP)
Programming / Creation (HTML/CSS)
"Programming a website" describes the procedure of converting graphics, texts and hyperlinks into code that internet browsers understand in order to display the web page the way it was meant to be.
Basically this "programming" is done by HTML in combination with CSS.
CSS offers the advantage that the layout (colours, sizes, positioning etc.) can easily be changed. CSS also allows different styles for screen display and printing.
Special Programming (JavaScript/PHP)
In addition to the creation with HTML and CSS we also use JavaScript for client-side applications and PHP as server-side scripting language.
JavaScript may be necessary to achieve special effects as the mouse-over effect: a content element such as text or a picture pop up when the user moves the mouse cursor over a particular area of the website. JavaScript is a server-side scripting language which means that it can be switched on or off by the visitor of a website himself. Thus, important navigation elements such as the menu navigation shouldn't be programmed by JavaScript because the functionality would be restricted to those who have enable JavaScript in their browser.
PHP, however, is a server-side scripting language. That means that PHP runs on the webserver where the website is hosted and thus is available for all website visitors.
With PHP we design interactive elements such as forms or dynamic content (pictures, text).
