SlideShare a Scribd company logo
9
Most read
13
Most read
14
Most read
BASIC
INTRODUCTION TO
HTML AND PHP
TAGS
www.lucideus.com KAILASH KUMAR
NSIC Campus,Okhla PhaseIII Lucideus Grade1(5-7)
New Delhi-1100
INTRODUCTION TO HTML AND PHP TAGS
www.lucideus.com Page 1
INDEX
1-HTML INDRODUCTION
1.1-WHAT IS HTML
1.2-HTML TAGS
1.2.1-TITLE TAG
1.2.2-FORM TAG
1.2.3-TABLE TAG
1.2.4-BUTTON TAG
1.2.5-HEADING TAG
1.2.6-BR TAG
1.2.7-TEXT AREA
2-PHP INDRODUCTION
2.1-WHAT IS PHP
2.2-WHAT IS A PHP FILE
3-CALCULATOR USING HTML
INTRODUCTION TO HTML AND PHP TAGS
www.lucideus.com Page 2
1-HTML Introduction
1.1-What is HTML?
HTML is a markup language for describing web documents (web
pages).
 HTML stands for Hyper Text Markup Language
 A markup language is a set of markup tags
 HTML documents are described by HTML tags
 Each HTML tag describes different document content
Example:-
INTRODUCTION TO HTML AND PHP TAGS
www.lucideus.com Page 3
HTML page structure
1.2-HTML Tags
HTML tags are keywords (tag names) surrounded by angle brackets:
<tagname>content</tagname>
 HTML tags normally come in pairs like <p> and </p>
 The first tag in a pair is the start tag, the second tag is the end tag
 The end tag is written like the start tag, but with a forward
slash inserted before the tag name
INTRODUCTION TO HTML AND PHP TAGS
www.lucideus.com Page 4
1.2.1-TITLE TAG
The <title> tag is required in all HTML documents and it defines the
title of the document.
The <title> element:
 Defines a title in the browser toolbar
 Provides a title for the page when it is added to favorites
 Displays a title for the page in search-engine results
INTRODUCTION TO HTML AND PHP TAGS
www.lucideus.com Page 5
1.2.2-FORM TAG
The <form> tag is used to create an HTML form for user input.
The <form> element can contain one or more of the following form
elements:
 <input>,<textarea>,<button>,<select>,<option>..etc
INTRODUCTION TO HTML AND PHP TAGS
www.lucideus.com Page 6
1.2.3-TABLE TAG
The <table> tag defines an HTML table.
An HTML table consists of the <table> element and one or
more <tr>, <th>, and <td> elements.
The <tr> element defines a table row, the <th> element defines a table
header, and the <td> element defines a table cell.
INTRODUCTION TO HTML AND PHP TAGS
www.lucideus.com Page 7
1.2.4-BUTTON TAG
The <button> tag defines a clickable button.
Inside a <button> element you can put content, like text or images. This
is the difference between this element and buttons created with the
<input> element.
Always specify the type attribute for a <button> element. Different
browsers use different default types for the <button> element.
INTRODUCTION TO HTML AND PHP TAGS
www.lucideus.com Page 8
1.2.5-HEADING TAG
The <h1> to <h6> tags are used to define HTML headings.
<h1> defines the most important heading. <h6> defines the least
important heading.
INTRODUCTION TO HTML AND PHP TAGS
www.lucideus.com Page 9
1.2.6-BR TAG
The <br> tag inserts a single line break.
The <br> tag is an empty tag which means that it has no end tag.
INTRODUCTION TO HTML AND PHP TAGS
www.lucideus.com Page 10
1.2.7-TEXT AREA TAG
The <textarea> tag defines a multi-line text input control.
A text area can hold an unlimited number of characters, and the text
renders in a fixed-width font (usually Courier).
The size of a text area can be specified by the cols and rows attributes,
or even better; through CSS' height and width properties
INTRODUCTION TO HTML AND PHP TAGS
www.lucideus.com Page 11
2-PHP Introduction
PHP is a server scripting language, and a powerful tool for making
dynamic and interactive Web pages.
PHP is a widely-used, free, and efficient
2.1-What is PHP?
 PHP is an acronym for "PHP: Hypertext Preprocessor"
 PHP is a widely-used, open source scripting language
 PHP scripts are executed on the server
 PHP is free to download and use
2.2-What is a PHP File?
 PHP files can contain text, HTML, CSS, JavaScript, and PHP code
 PHP code are executed on the server, and the result is returned to
the browser as plain HTML
 PHP files have extension ".php"
What Can PHP Do?
 PHP can generate dynamic page content
 PHP can create, open, read, write, delete, and close files on the
server
 PHP can collect form data
 PHP can send and receive cookies
 PHP can add, delete, modify data in your database
 PHP can be used to control user-access
 PHP can encrypt data
INTRODUCTION TO HTML AND PHP TAGS
www.lucideus.com Page 12
Basic PHP Syntax
A PHP script can be placed anywhere in the document.
A PHP script starts with <?php and ends with ?>:
<?php
// PHP code goes here
?>
The default file extension for PHP files is ".php".
A PHP file normally contains HTML tags, and some PHP scripting
code.
INTRODUCTION TO HTML AND PHP TAGS
www.lucideus.com Page 13
3-CODING OF CALCULATOR IN HTML:-
INTRODUCTION TO HTML AND PHP TAGS
www.lucideus.com Page 14
REFERENCES
1-http://www.w3schools.com
2-http://www.tutorialspoint.com/html/html_basic_tags.htm

More Related Content

PPT
PHP - Introduction to PHP Forms
PPT
Php forms
PPTX
Php.ppt
PPTX
HTML, CSS and Java Scripts Basics
PPTX
1 03 - CSS Introduction
PPT
Introduction to JavaScript (1).ppt
PPT
JavaScript Basics
PPTX
PHP - Introduction to PHP Forms
Php forms
Php.ppt
HTML, CSS and Java Scripts Basics
1 03 - CSS Introduction
Introduction to JavaScript (1).ppt
JavaScript Basics

What's hot (20)

PPT
Introduction to Javascript
PPSX
Introduction to Html5
PPTX
Intro to React
PPTX
PPT
JavaScript - Part-1
PPTX
Java script
PPT
Xml http request
PPTX
Introduction to xml
PPT
Javascript
PPT
PHP Workshop Notes
PDF
Javascript basics
PPTX
jQuery
PPTX
Introduction to CSS
PDF
Php introduction
PPTX
Beginners css tutorial for web designers
PPTX
(Fast) Introduction to HTML & CSS
PPT
Php Ppt
PPT
PHP variables
PDF
CSS selectors
PPTX
html5.ppt
Introduction to Javascript
Introduction to Html5
Intro to React
JavaScript - Part-1
Java script
Xml http request
Introduction to xml
Javascript
PHP Workshop Notes
Javascript basics
jQuery
Introduction to CSS
Php introduction
Beginners css tutorial for web designers
(Fast) Introduction to HTML & CSS
Php Ppt
PHP variables
CSS selectors
html5.ppt
Ad

Similar to Basic introduction to html and php tags (20)

PPTX
BSC notes of _HTML_Easyto understand lease see.pptx
PDF
Vskills certified html5 developer Notes
DOCX
DOC
PHP form tutorial
PDF
HTML practical file
PDF
HTML Overview
PPTX
Web Design and Programming-Lab-4-HTML-II-Exercise
PPTX
HTML (Hyper Text Markup Language)
PPTX
Module 1
PPTX
41915024 html-5
DOCX
HTML (Hyper Text Markup Language) Project
PDF
PDF
Iwt module 1
PPTX
Html.pptx
PDF
shobhit training report (3) (4).pdf report
PPT
introdution to html notes and practice.ppt
PPT
Introdution to web and html notes and practice.ppt
PPT
Lecture07 ASDFASFA ASD ASD SDS XHTML.ppt
PPTX
html -Hyper Text Markup Languagejjjjjjjjjjjjjjjjjjjjjjjjj
PPTX
About html
BSC notes of _HTML_Easyto understand lease see.pptx
Vskills certified html5 developer Notes
PHP form tutorial
HTML practical file
HTML Overview
Web Design and Programming-Lab-4-HTML-II-Exercise
HTML (Hyper Text Markup Language)
Module 1
41915024 html-5
HTML (Hyper Text Markup Language) Project
Iwt module 1
Html.pptx
shobhit training report (3) (4).pdf report
introdution to html notes and practice.ppt
Introdution to web and html notes and practice.ppt
Lecture07 ASDFASFA ASD ASD SDS XHTML.ppt
html -Hyper Text Markup Languagejjjjjjjjjjjjjjjjjjjjjjjjj
About html
Ad

Recently uploaded (20)

PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
Visual Aids for Exploratory Data Analysis.pdf
PPTX
Artificial Intelligence
PDF
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPT
Occupational Health and Safety Management System
PPT
A5_DistSysCh1.ppt_INTRODUCTION TO DISTRIBUTED SYSTEMS
PDF
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
PPTX
introduction to high performance computing
PPTX
communication and presentation skills 01
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Fundamentals of Mechanical Engineering.pptx
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
Soil Improvement Techniques Note - Rabbi
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
Categorization of Factors Affecting Classification Algorithms Selection
Visual Aids for Exploratory Data Analysis.pdf
Artificial Intelligence
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Occupational Health and Safety Management System
A5_DistSysCh1.ppt_INTRODUCTION TO DISTRIBUTED SYSTEMS
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
introduction to high performance computing
communication and presentation skills 01
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
R24 SURVEYING LAB MANUAL for civil enggi
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Fundamentals of Mechanical Engineering.pptx
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
Soil Improvement Techniques Note - Rabbi
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx

Basic introduction to html and php tags

  • 1. BASIC INTRODUCTION TO HTML AND PHP TAGS www.lucideus.com KAILASH KUMAR NSIC Campus,Okhla PhaseIII Lucideus Grade1(5-7) New Delhi-1100
  • 2. INTRODUCTION TO HTML AND PHP TAGS www.lucideus.com Page 1 INDEX 1-HTML INDRODUCTION 1.1-WHAT IS HTML 1.2-HTML TAGS 1.2.1-TITLE TAG 1.2.2-FORM TAG 1.2.3-TABLE TAG 1.2.4-BUTTON TAG 1.2.5-HEADING TAG 1.2.6-BR TAG 1.2.7-TEXT AREA 2-PHP INDRODUCTION 2.1-WHAT IS PHP 2.2-WHAT IS A PHP FILE 3-CALCULATOR USING HTML
  • 3. INTRODUCTION TO HTML AND PHP TAGS www.lucideus.com Page 2 1-HTML Introduction 1.1-What is HTML? HTML is a markup language for describing web documents (web pages).  HTML stands for Hyper Text Markup Language  A markup language is a set of markup tags  HTML documents are described by HTML tags  Each HTML tag describes different document content Example:-
  • 4. INTRODUCTION TO HTML AND PHP TAGS www.lucideus.com Page 3 HTML page structure 1.2-HTML Tags HTML tags are keywords (tag names) surrounded by angle brackets: <tagname>content</tagname>  HTML tags normally come in pairs like <p> and </p>  The first tag in a pair is the start tag, the second tag is the end tag  The end tag is written like the start tag, but with a forward slash inserted before the tag name
  • 5. INTRODUCTION TO HTML AND PHP TAGS www.lucideus.com Page 4 1.2.1-TITLE TAG The <title> tag is required in all HTML documents and it defines the title of the document. The <title> element:  Defines a title in the browser toolbar  Provides a title for the page when it is added to favorites  Displays a title for the page in search-engine results
  • 6. INTRODUCTION TO HTML AND PHP TAGS www.lucideus.com Page 5 1.2.2-FORM TAG The <form> tag is used to create an HTML form for user input. The <form> element can contain one or more of the following form elements:  <input>,<textarea>,<button>,<select>,<option>..etc
  • 7. INTRODUCTION TO HTML AND PHP TAGS www.lucideus.com Page 6 1.2.3-TABLE TAG The <table> tag defines an HTML table. An HTML table consists of the <table> element and one or more <tr>, <th>, and <td> elements. The <tr> element defines a table row, the <th> element defines a table header, and the <td> element defines a table cell.
  • 8. INTRODUCTION TO HTML AND PHP TAGS www.lucideus.com Page 7 1.2.4-BUTTON TAG The <button> tag defines a clickable button. Inside a <button> element you can put content, like text or images. This is the difference between this element and buttons created with the <input> element. Always specify the type attribute for a <button> element. Different browsers use different default types for the <button> element.
  • 9. INTRODUCTION TO HTML AND PHP TAGS www.lucideus.com Page 8 1.2.5-HEADING TAG The <h1> to <h6> tags are used to define HTML headings. <h1> defines the most important heading. <h6> defines the least important heading.
  • 10. INTRODUCTION TO HTML AND PHP TAGS www.lucideus.com Page 9 1.2.6-BR TAG The <br> tag inserts a single line break. The <br> tag is an empty tag which means that it has no end tag.
  • 11. INTRODUCTION TO HTML AND PHP TAGS www.lucideus.com Page 10 1.2.7-TEXT AREA TAG The <textarea> tag defines a multi-line text input control. A text area can hold an unlimited number of characters, and the text renders in a fixed-width font (usually Courier). The size of a text area can be specified by the cols and rows attributes, or even better; through CSS' height and width properties
  • 12. INTRODUCTION TO HTML AND PHP TAGS www.lucideus.com Page 11 2-PHP Introduction PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient 2.1-What is PHP?  PHP is an acronym for "PHP: Hypertext Preprocessor"  PHP is a widely-used, open source scripting language  PHP scripts are executed on the server  PHP is free to download and use 2.2-What is a PHP File?  PHP files can contain text, HTML, CSS, JavaScript, and PHP code  PHP code are executed on the server, and the result is returned to the browser as plain HTML  PHP files have extension ".php" What Can PHP Do?  PHP can generate dynamic page content  PHP can create, open, read, write, delete, and close files on the server  PHP can collect form data  PHP can send and receive cookies  PHP can add, delete, modify data in your database  PHP can be used to control user-access  PHP can encrypt data
  • 13. INTRODUCTION TO HTML AND PHP TAGS www.lucideus.com Page 12 Basic PHP Syntax A PHP script can be placed anywhere in the document. A PHP script starts with <?php and ends with ?>: <?php // PHP code goes here ?> The default file extension for PHP files is ".php". A PHP file normally contains HTML tags, and some PHP scripting code.
  • 14. INTRODUCTION TO HTML AND PHP TAGS www.lucideus.com Page 13 3-CODING OF CALCULATOR IN HTML:-
  • 15. INTRODUCTION TO HTML AND PHP TAGS www.lucideus.com Page 14 REFERENCES 1-http://www.w3schools.com 2-http://www.tutorialspoint.com/html/html_basic_tags.htm