Sei sulla pagina 1di 13

Web Development using HTML, CSS and PHP

Click to edit Master subtitle style

Prepared by: Arnel Maghinay, RN


4/25/12

What is HTML?

HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language Click to edit Master subtitle style HTML is not a programming language, it is a markup language A markup language is a set of markup tags HTML uses markup tags to describe 4/25/12 web pages

HTML Tags

HTML markup tags are usually called HTML tags HTML tags are keywords surrounded by angle brackets like <html> HTML tags normally come in pairs like Click to edit Master subtitle style <b> and </b> The first tag in a pair is the start tag, the second tag is the end tag Start and end tags are also called opening tags and closing tags
4/25/12

HTML Documents = Web Pages


HTML documents describe web pages HTML documents contain HTML tags and plain text HTML documents are also called web Click to edit Master subtitle style pages

4/25/12

HTML Documents = Web Pages


The purpose of a web browser (like Internet Explorer or Firefox) is to read HTML documents and display them as web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page:
Click to edit <html>subtitle style Master <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html> 4/25/12

<html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html>

The text between <html> and </html> describes the web page TheClick to edit Master subtitle<body> and text between style </body> is the visible page content The text between <h1> and </h1> is displayed as a heading The text between <p> and </p> is displayed as a paragraph 4/25/12

What is CSS?

CSS stands for Cascading Style Sheets Styles define how to display HTML elements External Style Sheets can save a lot of Click work to edit Master subtitle style External Style Sheets are stored in CSS files

4/25/12

CSS Saves a Lot of Work!

CSS defines HOW HTML elements are to be displayed. Styles are normally saved in external .css files. External style Click to edit Master subtitle style sheets enable you to change the appearance and layout of all the pages in a Web site, just by editing one single file.
4/25/12

CSS Syntax
A CSS rule has two main parts: a selector, and one or more declarations:

TheClick to edit Master subtitle style selector is normally the HTML element you want to style. Each declaration consists of a property and a value. The property is the style attribute you want to change. Each property has a 4/25/12

What is PHP?

PHP stands for PHP: Hypertext Preprocessor PHP is a server-side scripting language, like ASP Click to edit Master subtitle style PHP scripts are executed on the server PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.) PHP is an open source software PHP 4/25/12 is free to download and use

What is a PHP File?

PHP files can contain text, HTML tags and scripts PHP files are returned to the browser as plainedit Master subtitle style HTML Click to PHP files have a file extension of ".php", ".php3", or ".phtml"

4/25/12

What is MySQL?

MySQL is a database server MySQL is ideal for both small and large applications MySQL supports standard SQL Click to edit Master subtitle style MySQL compiles on a number of platforms MySQL is free to download and use
4/25/12

Why PHP?

PHP runs on different platforms (Windows, Linux, Unix, etc.) PHP is compatible with almost all servers used today (Apache, IIS, etc.) Click FREE to download from the PHP is to edit Master subtitle style official PHP resource: www.php.net PHP is easy to learn and runs efficiently on the server side
4/25/12

Potrebbero piacerti anche