0% found this document useful (0 votes)
17 views2 pages

Presentation Notes PHP CSS HTML

The document provides an overview of PHP, CSS, and HTML, highlighting their definitions, functionalities, and key features. PHP is a server-side scripting language for dynamic web development, CSS is used for styling HTML elements, and HTML structures web content. Each section includes essential elements such as syntax, common functions, and best practices.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views2 pages

Presentation Notes PHP CSS HTML

The document provides an overview of PHP, CSS, and HTML, highlighting their definitions, functionalities, and key features. PHP is a server-side scripting language for dynamic web development, CSS is used for styling HTML elements, and HTML structures web content. Each section includes essential elements such as syntax, common functions, and best practices.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Presentation Notes - PHP, CSS, HTML

PHP

1. PHP stands for Hypertext Preprocessor.

2. It is a server-side scripting language used for dynamic web development.

3. PHP files have extension: .php

4. Variables start with $ (e.g., $name).

5. Common functions: echo(), print(), isset(), empty()

6. PHP supports arrays, loops, functions, sessions, and database integration (like MySQL).

7. Use <?php ... ?> to write PHP code.

8. String concatenation is done using dot (.) operator.

9. $_GET and $_POST are used to collect form data.

10. PHP runs on the server and sends HTML to the client.

CSS

1. CSS stands for Cascading Style Sheets.

2. Used to style HTML elements (colors, fonts, layout).

3. CSS can be: Inline, Internal (<style>), or External (.css file).

4. Selectors include: element (h1), class (.box), id (#header).

5. Common properties: color, font-size, padding, margin, border.

6. Box Model: content -> padding -> border -> margin.

7. Use Flexbox and Grid for layouts.

8. Responsive design is done using media queries.

9. External CSS is linked with <link rel="stylesheet" href="[Link]">

10. Avoid inline CSS for clean code.

HTML

1. HTML stands for HyperText Markup Language.

2. It is used to structure content on the web.

3. Basic structure: <!DOCTYPE html>, <html>, <head>, <body>

4. Common tags: <h1> to <h6>, <p>, <a>, <img>, <div>, <span>

5. Forms: <form>, <input>, <select>, <textarea>, <button>

6. Lists: <ul>, <ol>, <li>


Presentation Notes - PHP, CSS, HTML

7. Tables: <table>, <tr>, <td>, <th>

8. Links: <a href="url">Text</a>

9. Images: <img src="[Link]" alt="image">

10. HTML5 includes new semantic tags: <header>, <footer>, <article>, <section>

You might also like