SlideShare ist ein Scribd-Unternehmen logo
1 von 42
Created By:-
Mr. Sunil Thakur
Overview
 HTML
 DHTML
 JAVA SCRIPT
“Knowledge “
Web server:- A system on the internet congaing one or
more web site.
Web site:- A collection of one or more web pages
Web pages:- Single disk file with a single file name
Home pages:- First page in website
HTML:-
 HTML(Hypertext markup language) is used to define
the different part of page.
 Telling the browser what to do, and what props to
use.
 A series of tags that are integrated into a text
document
Creating a HTML File
1. Open Notepad
2. Click on File -> Save as…
3. In the File name pull-down box, type in webpage.html
4. Click on Save
5. Type in content for your file
6. Once you finished the content, click on File -> Save
HTML TAGS
What are the basic tag?
 <html> </html>
 <head> </head>
 <title> </title>
 <Body> </body>
 <p>
 <br>
 <Center> </Center>
 <b></b> e.g. :-<b> APJ</b> result = APJ
 <i></i> e.g. :-<i> APJ</i> result = APJ
Tags in head
• <HTML>…</HTML>-- All the info web page. Or all tags
• <HEAD>...</HEAD>-- contains information about the
document
• <TITLE>...</TITLE>-- puts text on the browser's title bar.
Tags in body
 Heading: <H1> </H1>
 Center:<Center> </Center>
 Line Break <P> ,<Br>
 Phrase Markups: <I></I> ,<B></B>
HTML Document Structure
<html>
<head>
<title> Page Title Goes Here </title>
</head>
<body>
content goes here “THIS IS MY WEB PAGE”
</body>
</html>
Add Image in web page
 Use <IMG SRC=imagefilename> tags
e.g. :-
<img src=D:wallpaperbad boy
Image Formats
 .gif
-Graphics Interchange Format
 .jpeg or .jpg
-Joint Photographic Experts Group
 .bmp
-bitmap
Image Size
 Computer images are made up of “pixels”
 <IMG HEIGHT=“100" WIDTH=“150" SRC="image.gif">
Width
Height
How to make create color
Color names : <Font color=white>
• Changing the Background color
<BODY BGCOLOR=#19378a>
• Changing Text color
<BODY BGCOLOR=#19378a TEXT=#ffffff LINK=#ffff66
VLINK=#66ffff>
• Spot color
<FONT COLOR=#66ffcc>WENT'99</FONT>
• Image Background
<BODY BACKGROUND=bgimg.gif >
Font
 To change text size
 <font size=“+3”>Hello</font>
 Output: Hello
 To change text color
 <font color=“red”>Hello</font>
 Output: Hello
 Using both
 <font size=“+3” color=“red”>Hello</font>
 Output: Hello
Tag attribute
Headings
 There are 6 heading commands.
<H1>This is Heading 1</H1>
<H2>This is Heading 2</H2>
<H3>This is Heading 3</H3>
<H4>This is Heading 4</H4>
<H5>This is Heading 5</H5>
<H6>This is Heading 6</H6>
List Unordered list
-Code:
<ul>
<li>Coffee</li>
<li>Milk</li>
</ul>
-Output:
 Coffee
 Milk
 Ordered list
-Code:
<ol>
<li>Coffee</li>
<li>Milk</li>
</ol>
-Output:
1. Coffee
2. Milk
Table
<table border=“1">
<tr>
<th>Heading</th>
<th>Another Heading</th>
</tr>
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td></td>
</tr>
</table>
Heading Another Heading
Row 1, cell 1 Row 1, cell 2
Row 2, cell 1
Create Links
 A Hypertext link
 < a href=“http://www. apjim.org”>apj Home</a>
 Output: APJ Home
 A Email link
 <a href=“mailto:RAMGOPAL@gmail.com”>
Email me</a>
 Output: Email me
Forms
 A form is an area that can contain form elements.
 <form></form>
 Commonly used form elements includes:
 Text fields
 Radio buttons
 Checkboxes
 Submit buttons
Text Input Fields
 Used when you want the
user to type
letters, number, etc.
<form>
First name: <input
type="text"
name="firstname">
<br>
Last name: <input
type="text"
name="lastname">
</form>
 Output
First name:
Last name:
Submission Button
 When user clicks on the
“Submit” button, the
content of the form is sent
to another file.
<form name="input"
action="html_form_action.
asp" method="get">
Username: <input
type="text" name="user">
<br>
<input type="submit"
value="Submit">
</form>
 Output
Username:
Text Box
 Used when you want to get
input from user.
<form>
<p>Please provide your
suggestion in the text box
below:</p>
<textarea row=“10”
cols=“30”>
</textarea>
</form>
• Output
Please provide your
suggestion in the text box
below:
Pull-down Menu
 Used when you want user
to respond with one
specific answer with
choices you given.
<p>Select a fruit:</p>
<select name"Fruit">
<option selected> Apples
<option> Bananas
< option > Oranges
</select>
• Output
Select a fruit:
How is a HTML File Looks Like
Sample page of Code
<html>
<head><title>First Page</title></head>
<body>
Hello! This is my first page of code. I can't believe I'm
on my way to being a webmaster. This is so great!!!
</body>
</html>
What does that look like?
DHTML
 Dynamic HTML.
 Just as access is dynamic database environment.
 Can have control that respond to events.
 Can have control code module.
 Can be written in VB(script)
INTERNRT EXPLORAL DHTML
 Developing for two DHTML environment takes three
time the developing time.
 IE support active Xcontrol .
 IE support VB script.
 80% of the world browsing activity is done with IE.
ADVANTAGE OF DHTML
 Centralized code for distribution.
 Can be secure by using https.
 Richer event model higher control are display.
 Small foot print
 Can monitor usage easier.
DISADVANTAGE.
 Use script language that mean:-
-All variable are variants.
-Error handling is limited.
• Debugging can be awkward.
FEATURE
 Data binding.
 Behaviors or script.
 Support for XML.
 flexible object.
JAVASCRIPT :-
 JavaScript is programming language designed for
webpage's .protocols used by the JavaScript is
“http://”
 Developed by :Netscape. In 1995
 Purpose: to Create Dynamic websites.
 Widely Used (web designing).
Why Use JavaScript
 JavaScript enhances Web pages with dynamic and
interactive features.
 JavaScript runs in client software.
What Can JavaScript Do?
 Common JavaScript tasks can replace server-side
scripting.
 JavaScript enables shopping carts, form validation,
calculations, special graphic and text effects, image
swapping, image mapping, clocks, and more.
Operators in JavaScript
 Operators are used to handle variables.
 Types of operators with examples:
-Arithmetic operators, such as plus.
-Comparisons operators, such as equals.
-Logical operators, such as and.
-Control operators, such as if.
-Assignment and String operators.
Example Of JavaScript
<html>
<head>
<SCRIPT language = java script>
Var name=prompt(“RAMGOPAL”);
</SCRIPT>
</head>
<body>
<SCRIPT language =“java script”>
Document .write(“<H2>hello RAMGOPAL</H2>)
</script>
</body>
</html>
ADVANTAGE OF JAVASCRIPT
 Interpreted language.
 Embedded with HTML.
 Minimal syntax- easy to use.
 Quick development.
 Designed for simple and small program.
 Easy Debugging and testing.
Html.ppt

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

HTML
HTMLHTML
HTML
 
Lesson 2: Getting To Know HTML
Lesson 2: Getting To Know HTMLLesson 2: Getting To Know HTML
Lesson 2: Getting To Know HTML
 
Lesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLLesson 1: Introduction to HTML
Lesson 1: Introduction to HTML
 
Learning HTML
Learning HTMLLearning HTML
Learning HTML
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Artistic Web Applications - Week3 - Part 3
Artistic Web Applications - Week3 - Part 3Artistic Web Applications - Week3 - Part 3
Artistic Web Applications - Week3 - Part 3
 
HTML 5 Tutorial
HTML 5 TutorialHTML 5 Tutorial
HTML 5 Tutorial
 
Web development basics
Web development basicsWeb development basics
Web development basics
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
How to create basic webpage
How to create basic webpageHow to create basic webpage
How to create basic webpage
 
What is HTML- d3brand.com
What is HTML- d3brand.comWhat is HTML- d3brand.com
What is HTML- d3brand.com
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
HTML
HTMLHTML
HTML
 
Web1O1 - Intro to HTML/CSS
Web1O1 - Intro to HTML/CSSWeb1O1 - Intro to HTML/CSS
Web1O1 - Intro to HTML/CSS
 
Html part 2
Html part 2Html part 2
Html part 2
 
Basics tags for HTML
Basics tags for HTMLBasics tags for HTML
Basics tags for HTML
 
Basic Webpage
Basic WebpageBasic Webpage
Basic Webpage
 
Introducing to html
Introducing to htmlIntroducing to html
Introducing to html
 
Web Development Workshop (Front End)
Web Development Workshop (Front End)Web Development Workshop (Front End)
Web Development Workshop (Front End)
 
Week 4 Lecture Part 2
Week 4 Lecture Part 2Week 4 Lecture Part 2
Week 4 Lecture Part 2
 

Andere mochten auch

Andere mochten auch (7)

Introduction to DOM
Introduction to DOMIntroduction to DOM
Introduction to DOM
 
Html Ppt
Html PptHtml Ppt
Html Ppt
 
Introduction to Html5
Introduction to Html5Introduction to Html5
Introduction to Html5
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
html5.ppt
html5.ppthtml5.ppt
html5.ppt
 
Html Ppt
Html PptHtml Ppt
Html Ppt
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 

Ähnlich wie Html.ppt

Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2mmvidanes29
 
Web design and Development
Web design and DevelopmentWeb design and Development
Web design and DevelopmentShagor Ahmed
 
Webpage Designing in HTML
Webpage Designing  in HTMLWebpage Designing  in HTML
Webpage Designing in HTMLHumera Gull
 
Js placement
Js placementJs placement
Js placementSireesh K
 
In Class Assignment 1 .docx
In Class Assignment 1                                        .docxIn Class Assignment 1                                        .docx
In Class Assignment 1 .docxjaggernaoma
 
HTML Web design english & sinhala mix note
HTML Web design english & sinhala mix noteHTML Web design english & sinhala mix note
HTML Web design english & sinhala mix noteMahinda Gamage
 
Basic html training national
Basic html training nationalBasic html training national
Basic html training nationalNeedanuts
 
JavaScriptL18 [Autosaved].pptx
JavaScriptL18 [Autosaved].pptxJavaScriptL18 [Autosaved].pptx
JavaScriptL18 [Autosaved].pptxVivekBaghel30
 
Drupal7 Theming session on the occassion of Drupal7 release party in Delhi NCR
Drupal7 Theming session on the occassion of  Drupal7 release party in Delhi NCRDrupal7 Theming session on the occassion of  Drupal7 release party in Delhi NCR
Drupal7 Theming session on the occassion of Drupal7 release party in Delhi NCRGaurav Mishra
 
01. 02. html web engineering html &amp; introduction
01. 02. html   web engineering html &amp; introduction01. 02. html   web engineering html &amp; introduction
01. 02. html web engineering html &amp; introductionN Gull
 
HyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.pptHyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.pptDrShamikTiwari
 
Html5 shubelal
Html5 shubelalHtml5 shubelal
Html5 shubelalShub
 

Ähnlich wie Html.ppt (20)

Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2
 
Html basics
Html basicsHtml basics
Html basics
 
Web design and Development
Web design and DevelopmentWeb design and Development
Web design and Development
 
Webpage Designing in HTML
Webpage Designing  in HTMLWebpage Designing  in HTML
Webpage Designing in HTML
 
Unit 2 (html)
Unit 2  (html)Unit 2  (html)
Unit 2 (html)
 
#1 HTML [know-how]
#1 HTML [know-how]#1 HTML [know-how]
#1 HTML [know-how]
 
Js placement
Js placementJs placement
Js placement
 
Html.pptx
Html.pptxHtml.pptx
Html.pptx
 
Web Design.ppt
Web Design.pptWeb Design.ppt
Web Design.ppt
 
In Class Assignment 1 .docx
In Class Assignment 1                                        .docxIn Class Assignment 1                                        .docx
In Class Assignment 1 .docx
 
Html ppt
Html pptHtml ppt
Html ppt
 
HTML Web design english & sinhala mix note
HTML Web design english & sinhala mix noteHTML Web design english & sinhala mix note
HTML Web design english & sinhala mix note
 
Basic html training national
Basic html training nationalBasic html training national
Basic html training national
 
Html intro
Html introHtml intro
Html intro
 
JavaScriptL18 [Autosaved].pptx
JavaScriptL18 [Autosaved].pptxJavaScriptL18 [Autosaved].pptx
JavaScriptL18 [Autosaved].pptx
 
HTML
HTMLHTML
HTML
 
Drupal7 Theming session on the occassion of Drupal7 release party in Delhi NCR
Drupal7 Theming session on the occassion of  Drupal7 release party in Delhi NCRDrupal7 Theming session on the occassion of  Drupal7 release party in Delhi NCR
Drupal7 Theming session on the occassion of Drupal7 release party in Delhi NCR
 
01. 02. html web engineering html &amp; introduction
01. 02. html   web engineering html &amp; introduction01. 02. html   web engineering html &amp; introduction
01. 02. html web engineering html &amp; introduction
 
HyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.pptHyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.ppt
 
Html5 shubelal
Html5 shubelalHtml5 shubelal
Html5 shubelal
 

Kürzlich hochgeladen

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 

Kürzlich hochgeladen (20)

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 

Html.ppt

  • 3. “Knowledge “ Web server:- A system on the internet congaing one or more web site. Web site:- A collection of one or more web pages Web pages:- Single disk file with a single file name Home pages:- First page in website
  • 4.
  • 5. HTML:-  HTML(Hypertext markup language) is used to define the different part of page.  Telling the browser what to do, and what props to use.  A series of tags that are integrated into a text document
  • 6. Creating a HTML File 1. Open Notepad 2. Click on File -> Save as… 3. In the File name pull-down box, type in webpage.html 4. Click on Save 5. Type in content for your file 6. Once you finished the content, click on File -> Save
  • 7. HTML TAGS What are the basic tag?  <html> </html>  <head> </head>  <title> </title>  <Body> </body>  <p>  <br>  <Center> </Center>  <b></b> e.g. :-<b> APJ</b> result = APJ  <i></i> e.g. :-<i> APJ</i> result = APJ
  • 8. Tags in head • <HTML>…</HTML>-- All the info web page. Or all tags • <HEAD>...</HEAD>-- contains information about the document • <TITLE>...</TITLE>-- puts text on the browser's title bar.
  • 9. Tags in body  Heading: <H1> </H1>  Center:<Center> </Center>  Line Break <P> ,<Br>  Phrase Markups: <I></I> ,<B></B>
  • 10.
  • 11. HTML Document Structure <html> <head> <title> Page Title Goes Here </title> </head> <body> content goes here “THIS IS MY WEB PAGE” </body> </html>
  • 12. Add Image in web page  Use <IMG SRC=imagefilename> tags e.g. :- <img src=D:wallpaperbad boy
  • 13. Image Formats  .gif -Graphics Interchange Format  .jpeg or .jpg -Joint Photographic Experts Group  .bmp -bitmap
  • 14. Image Size  Computer images are made up of “pixels”  <IMG HEIGHT=“100" WIDTH=“150" SRC="image.gif"> Width Height
  • 15. How to make create color Color names : <Font color=white> • Changing the Background color <BODY BGCOLOR=#19378a> • Changing Text color <BODY BGCOLOR=#19378a TEXT=#ffffff LINK=#ffff66 VLINK=#66ffff> • Spot color <FONT COLOR=#66ffcc>WENT'99</FONT> • Image Background <BODY BACKGROUND=bgimg.gif >
  • 16. Font  To change text size  <font size=“+3”>Hello</font>  Output: Hello  To change text color  <font color=“red”>Hello</font>  Output: Hello  Using both  <font size=“+3” color=“red”>Hello</font>  Output: Hello Tag attribute
  • 17. Headings  There are 6 heading commands. <H1>This is Heading 1</H1> <H2>This is Heading 2</H2> <H3>This is Heading 3</H3> <H4>This is Heading 4</H4> <H5>This is Heading 5</H5> <H6>This is Heading 6</H6>
  • 18. List Unordered list -Code: <ul> <li>Coffee</li> <li>Milk</li> </ul> -Output:  Coffee  Milk  Ordered list -Code: <ol> <li>Coffee</li> <li>Milk</li> </ol> -Output: 1. Coffee 2. Milk
  • 19. Table <table border=“1"> <tr> <th>Heading</th> <th>Another Heading</th> </tr> <tr> <td>row 1, cell 1</td> <td>row 1, cell 2</td> </tr> <tr> <td>row 2, cell 1</td> <td></td> </tr> </table> Heading Another Heading Row 1, cell 1 Row 1, cell 2 Row 2, cell 1
  • 20. Create Links  A Hypertext link  < a href=“http://www. apjim.org”>apj Home</a>  Output: APJ Home  A Email link  <a href=“mailto:RAMGOPAL@gmail.com”> Email me</a>  Output: Email me
  • 21. Forms  A form is an area that can contain form elements.  <form></form>  Commonly used form elements includes:  Text fields  Radio buttons  Checkboxes  Submit buttons
  • 22. Text Input Fields  Used when you want the user to type letters, number, etc. <form> First name: <input type="text" name="firstname"> <br> Last name: <input type="text" name="lastname"> </form>  Output First name: Last name:
  • 23. Submission Button  When user clicks on the “Submit” button, the content of the form is sent to another file. <form name="input" action="html_form_action. asp" method="get"> Username: <input type="text" name="user"> <br> <input type="submit" value="Submit"> </form>  Output Username:
  • 24. Text Box  Used when you want to get input from user. <form> <p>Please provide your suggestion in the text box below:</p> <textarea row=“10” cols=“30”> </textarea> </form> • Output Please provide your suggestion in the text box below:
  • 25. Pull-down Menu  Used when you want user to respond with one specific answer with choices you given. <p>Select a fruit:</p> <select name"Fruit"> <option selected> Apples <option> Bananas < option > Oranges </select> • Output Select a fruit:
  • 26. How is a HTML File Looks Like
  • 27. Sample page of Code <html> <head><title>First Page</title></head> <body> Hello! This is my first page of code. I can't believe I'm on my way to being a webmaster. This is so great!!! </body> </html>
  • 28. What does that look like?
  • 29.
  • 30. DHTML  Dynamic HTML.  Just as access is dynamic database environment.  Can have control that respond to events.  Can have control code module.  Can be written in VB(script)
  • 31. INTERNRT EXPLORAL DHTML  Developing for two DHTML environment takes three time the developing time.  IE support active Xcontrol .  IE support VB script.  80% of the world browsing activity is done with IE.
  • 32. ADVANTAGE OF DHTML  Centralized code for distribution.  Can be secure by using https.  Richer event model higher control are display.  Small foot print  Can monitor usage easier.
  • 33. DISADVANTAGE.  Use script language that mean:- -All variable are variants. -Error handling is limited. • Debugging can be awkward.
  • 34. FEATURE  Data binding.  Behaviors or script.  Support for XML.  flexible object.
  • 35.
  • 36. JAVASCRIPT :-  JavaScript is programming language designed for webpage's .protocols used by the JavaScript is “http://”  Developed by :Netscape. In 1995  Purpose: to Create Dynamic websites.  Widely Used (web designing).
  • 37. Why Use JavaScript  JavaScript enhances Web pages with dynamic and interactive features.  JavaScript runs in client software.
  • 38. What Can JavaScript Do?  Common JavaScript tasks can replace server-side scripting.  JavaScript enables shopping carts, form validation, calculations, special graphic and text effects, image swapping, image mapping, clocks, and more.
  • 39. Operators in JavaScript  Operators are used to handle variables.  Types of operators with examples: -Arithmetic operators, such as plus. -Comparisons operators, such as equals. -Logical operators, such as and. -Control operators, such as if. -Assignment and String operators.
  • 40. Example Of JavaScript <html> <head> <SCRIPT language = java script> Var name=prompt(“RAMGOPAL”); </SCRIPT> </head> <body> <SCRIPT language =“java script”> Document .write(“<H2>hello RAMGOPAL</H2>) </script> </body> </html>
  • 41. ADVANTAGE OF JAVASCRIPT  Interpreted language.  Embedded with HTML.  Minimal syntax- easy to use.  Quick development.  Designed for simple and small program.  Easy Debugging and testing.