SlideShare a Scribd company logo
1 of 51
HTML
Hyper Text Markup Language
By: Rohit Buddabathina
Introduction
What is HTML?
• HTML is the standard markup language for creating Web pages.
• HTML stands for Hyper Text Markup Language
• HTML describes the structure of Web pages using markup
• HTML elements are the building blocks of HTML pages
• HTML elements are represented by tags
• HTML tags label pieces of content such as "heading", "paragraph", "table",
and so on
• Browsers do not display the HTML tags, but use them to render the content
of the page
History
• In 1980, physicist Tim Berners-Lee, a contractor at CERN, proposed and
prototyped ENQUIRE, a system for CERN researchers to use and share
documents.
• In 1989, Berners-Lee wrote a memo proposing an Internet-
based hypertext system.Berners-Lee specified HTML and wrote the browser
and server software in late 1990. That year, Berners-Lee and CERN data
systems engineer Robert Cailliau collaborated on a joint request for funding,
but the project was not formally adopted by CERN. In his personal notes from
1990 he listed "some of the many areas in which hypertext is used" and put
an encyclopedia first.
Version Year
HTML 1991
HTML 2.0 1995
HTML 3.2 1997
HTML 4.01 1999
XHTML 2000
HTML5 2014
HTML Versions
Structure
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
The <!DOCTYPE> Declaration
•The <!DOCTYPE> declaration represents the document
type, and helps browsers to display web pages
correctly.
•It must only appear once, at the top of the page
(before any HTML tags).
•The <!DOCTYPE> declaration is not case sensitive.
Tags or Elements
Attributes
• Attributes provide additional information about the contents of an
element. They appear on the opening tag of the element and are
made up of two parts: a name and a value, separated by an equals
sign.
HTML Editors
• Write HTML Using Notepad or TextEdit
• Web pages can be created and modified by using professional HTML
editors.
• However, for learning HTML we recommend a simple text editor like
Notepad (PC) or TextEdit (Mac).
• We believe using a simple text editor is a good way to learn HTML.
Save the HTML Page
• Save the file on your computer. Select File > Save as in the Notepad
menu.
• Name the file "index.htm" and set the encoding to UTF-8 (which is
the preferred encoding for HTML files).
View the HTML Page in Your Browser
• Open the saved HTML file in your favorite browser (double click on
the file, or right-click - and choose "Open with").
• The result will look much like this:
HTML Headings
HTML Paragraphs
Bold Text
Italic Text
SuperScript & SubScript
White Space
Line Breaks
<br />
Horizontal Rules
<hr />
Comments
• Comment tags are used to insert comments in the HTML source code.
• Notice that there is an exclamation point (!) in the opening tag, but
not in the closing tag.
• Comments are not displayed by the browser, but they can help
document your HTML source code.
<!-- Write your comments here -->
Links
• HTML links are hyperlinks.
• You can click on a link and jump to another document.
• When you move the mouse over a link, the mouse arrow will turn
into a little hand.
Note: A link does not have to be text. It can be an image or any other
HTML element.
Result
Images
• In HTML, images are defined with the <img> tag.
• The <img> tag is empty, it contains attributes only, and does not have
a closing tag.
<img src="url“ >
Tables
• An HTML table is defined with the <table> tag.
• Each table row is defined with the <tr> tag. A table header is defined
with the <th> tag. By default, table headings are bold and centered. A
table data/cell is defined with the <td> tag.
<table>
<tr>
<td>Something…</td>
</tr>
</table>
Table – Column Spanning
Table – Row Spanning
Lists
•Ordered lists
•Unordered lists
Ordered Lists
Unordered lists
Blocks
• The <div> Element
• The <div> element is often used as a container for other HTML
elements.
• The <div> element has no required attributes, but
both style and class are common.
• When used together with CSS, the <div> element can be used to style
blocks of content
Forms
• The <form> Element
• The HTML <form> element defines a form that is used to collect user
input:
<form>
.
form elements
.
</form>
Type Description
<input type="text"> Defines a one-line text input field
<input type="radio"> Defines a radio button (for
selecting one of many choices)
<input type="submit"> Defines a submit button (for
submitting the form)
The <input> Element
The <input> element is the most important form element.
The <input> element can be displayed in several ways, depending
on the type attribute.
Here are some examples:
Text Input
• <input type="text"> defines a one-line input field for text input
Input Type Password
• <input type="password"> defines a password field
Radio Button Input
• <input type="radio"> defines a radio button.
• Radio buttons let a user select ONE of a limited number of choices:
Input Type Checkbox
• <input type="checkbox"> defines a checkbox.
• Checkboxes let a user select ZERO or MORE options of a limited
number of choices.
The Submit Button
• <input type="submit"> defines a button for submitting the form data
to a form-handler.
• The form-handler is typically a server page with a script for processing
input data.
• The form-handler is specified in the form's action attribute:
Input Type Reset
• <input type="reset"> defines a reset button that will reset all form
values to their default values
The Action Attribute
• The action attribute defines the action to be performed when the form is
submitted.
• Normally, the form data is sent to a web page on the server when the user
clicks on the submit button.
• In the example above, the form data is sent to a page on the server called
"action_page.php". This page contains a server-side script that handles
the form data:
<form action="action_page.php">
• If the action attribute is omitted, the action is set to the current page.
The <select> Element
• The <select> element defines a drop-down list
• The <option> elements defines an option that can be selected.
• By default, the first item in the drop-down list is selected.
The <textarea> Element
• The <textarea> element defines a multi-line input field (a text area)
• The rows attribute specifies the visible number of lines in a text area.
• The cols attribute specifies the visible width of a text area.
The <button> Element
• The <button> element defines a clickable button
Audio
Audio on the Web
• Before HTML5, audio files could only be played in a browser with a plug-in
(like flash).
• The HTML5 <audio> element specifies a standard way to embed audio in a
web page.
HTML Audio - How It Works
• The controls attribute adds audio controls, like play, pause, and volume.
• The <source> element allows you to specify alternative audio files which
the browser may choose from. The browser will use the first recognized
format.
• The text between the <audio> and </audio> tags will only be displayed in
browsers that do not support the <audio> element.
Video
Playing Videos in HTML:
• Before HTML5, a video could only be played in a browser with a plug-in
(like flash).
• The HTML5 <video> element specifies a standard way to embed a video in
a web page.
How it Works:
• The controls attribute adds video controls, like play, pause, and volume.
• It is a good idea to always include width and height attributes. If height
and width are not set, the page might flicker while the video loads.
• The <source> element allows you to specify alternative video files which
the browser may choose from. The browser will use the first recognized
format.
• The text between the <video> and </video> tags will only be displayed in
browsers that do not support the <video> element.
IAM NOT SAYING
THE END
Rohit Buddabathina

More Related Content

What's hot

HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
c525600
 

What's hot (20)

CSS
CSSCSS
CSS
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
How to learn HTML in 10 Days
How to learn HTML in 10 DaysHow to learn HTML in 10 Days
How to learn HTML in 10 Days
 
Css ppt
Css pptCss ppt
Css ppt
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
Html and css
Html and cssHtml and css
Html and css
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
HTML5
HTML5HTML5
HTML5
 
HTML Semantic Tags
HTML Semantic TagsHTML Semantic Tags
HTML Semantic Tags
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
Html
HtmlHtml
Html
 
Html introduction
Html introductionHtml introduction
Html introduction
 
Html
HtmlHtml
Html
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
 
Beginners css tutorial for web designers
Beginners css tutorial for web designersBeginners css tutorial for web designers
Beginners css tutorial for web designers
 
Web development using html 5
Web development using html 5Web development using html 5
Web development using html 5
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Html
HtmlHtml
Html
 
CSS ppt
CSS pptCSS ppt
CSS ppt
 

Viewers also liked

Security in Cloud Computing
Security in Cloud ComputingSecurity in Cloud Computing
Security in Cloud Computing
Rohit Buddabathina
 

Viewers also liked (12)

OLED Technology
OLED TechnologyOLED Technology
OLED Technology
 
Html complete
Html completeHtml complete
Html complete
 
Html
HtmlHtml
Html
 
Html Tutorial
Html TutorialHtml Tutorial
Html Tutorial
 
Html - Tutorial
Html - TutorialHtml - Tutorial
Html - Tutorial
 
How to Make HTML and CSS Files
How to Make HTML and CSS FilesHow to Make HTML and CSS Files
How to Make HTML and CSS Files
 
Security in Cloud Computing
Security in Cloud ComputingSecurity in Cloud Computing
Security in Cloud Computing
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
HTML presentation for beginners
HTML presentation for beginnersHTML presentation for beginners
HTML presentation for beginners
 
html5.ppt
html5.ppthtml5.ppt
html5.ppt
 
Creating and Processing Web Forms
Creating and Processing Web FormsCreating and Processing Web Forms
Creating and Processing Web Forms
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 

Similar to The Complete HTML

Similar to The Complete HTML (20)

Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJSBasic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
 
HTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptxHTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptx
 
Html
HtmlHtml
Html
 
HTML Comprehensive Overview
HTML Comprehensive OverviewHTML Comprehensive Overview
HTML Comprehensive Overview
 
Html5
Html5 Html5
Html5
 
Web design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introductionWeb design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introduction
 
BITM3730Week1.pptx
BITM3730Week1.pptxBITM3730Week1.pptx
BITM3730Week1.pptx
 
Web forms and html (lect 1)
Web forms and html (lect 1)Web forms and html (lect 1)
Web forms and html (lect 1)
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
HTML? What is Hyper Text Mark Up Language
HTML? What is Hyper Text Mark Up  LanguageHTML? What is Hyper Text Mark Up  Language
HTML? What is Hyper Text Mark Up Language
 
Lab1_HTML.pptx
Lab1_HTML.pptxLab1_HTML.pptx
Lab1_HTML.pptx
 
Html
HtmlHtml
Html
 
LS2.1_V1_HTML.pptx
LS2.1_V1_HTML.pptxLS2.1_V1_HTML.pptx
LS2.1_V1_HTML.pptx
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
Hyper Text Markup Language - Presentation.pptx
Hyper Text Markup Language - Presentation.pptxHyper Text Markup Language - Presentation.pptx
Hyper Text Markup Language - Presentation.pptx
 
Html5 ppt
Html5 pptHtml5 ppt
Html5 ppt
 
INTRODUCTION TO HTML.pptx
INTRODUCTION TO HTML.pptxINTRODUCTION TO HTML.pptx
INTRODUCTION TO HTML.pptx
 
Web Concepts - an introduction - introduction
Web Concepts - an introduction - introductionWeb Concepts - an introduction - introduction
Web Concepts - an introduction - introduction
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptx
 

Recently uploaded

Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Monica Sydney
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
galaxypingy
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx
Asmae Rabhi
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Monica Sydney
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
pxcywzqs
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
ydyuyu
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
ayvbos
 

Recently uploaded (20)

Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency Dallas
 
Power point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria IuzzolinoPower point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria Iuzzolino
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 

The Complete HTML

  • 1. HTML Hyper Text Markup Language By: Rohit Buddabathina
  • 2. Introduction What is HTML? • HTML is the standard markup language for creating Web pages. • HTML stands for Hyper Text Markup Language • HTML describes the structure of Web pages using markup • HTML elements are the building blocks of HTML pages • HTML elements are represented by tags • HTML tags label pieces of content such as "heading", "paragraph", "table", and so on • Browsers do not display the HTML tags, but use them to render the content of the page
  • 3. History • In 1980, physicist Tim Berners-Lee, a contractor at CERN, proposed and prototyped ENQUIRE, a system for CERN researchers to use and share documents. • In 1989, Berners-Lee wrote a memo proposing an Internet- based hypertext system.Berners-Lee specified HTML and wrote the browser and server software in late 1990. That year, Berners-Lee and CERN data systems engineer Robert Cailliau collaborated on a joint request for funding, but the project was not formally adopted by CERN. In his personal notes from 1990 he listed "some of the many areas in which hypertext is used" and put an encyclopedia first.
  • 4. Version Year HTML 1991 HTML 2.0 1995 HTML 3.2 1997 HTML 4.01 1999 XHTML 2000 HTML5 2014 HTML Versions
  • 6. The <!DOCTYPE> Declaration •The <!DOCTYPE> declaration represents the document type, and helps browsers to display web pages correctly. •It must only appear once, at the top of the page (before any HTML tags). •The <!DOCTYPE> declaration is not case sensitive.
  • 8. Attributes • Attributes provide additional information about the contents of an element. They appear on the opening tag of the element and are made up of two parts: a name and a value, separated by an equals sign.
  • 9. HTML Editors • Write HTML Using Notepad or TextEdit • Web pages can be created and modified by using professional HTML editors. • However, for learning HTML we recommend a simple text editor like Notepad (PC) or TextEdit (Mac). • We believe using a simple text editor is a good way to learn HTML.
  • 10. Save the HTML Page • Save the file on your computer. Select File > Save as in the Notepad menu. • Name the file "index.htm" and set the encoding to UTF-8 (which is the preferred encoding for HTML files).
  • 11. View the HTML Page in Your Browser • Open the saved HTML file in your favorite browser (double click on the file, or right-click - and choose "Open with"). • The result will look much like this:
  • 20. Comments • Comment tags are used to insert comments in the HTML source code. • Notice that there is an exclamation point (!) in the opening tag, but not in the closing tag. • Comments are not displayed by the browser, but they can help document your HTML source code. <!-- Write your comments here -->
  • 21.
  • 22. Links • HTML links are hyperlinks. • You can click on a link and jump to another document. • When you move the mouse over a link, the mouse arrow will turn into a little hand. Note: A link does not have to be text. It can be an image or any other HTML element.
  • 24. Images • In HTML, images are defined with the <img> tag. • The <img> tag is empty, it contains attributes only, and does not have a closing tag. <img src="url“ >
  • 25.
  • 26. Tables • An HTML table is defined with the <table> tag. • Each table row is defined with the <tr> tag. A table header is defined with the <th> tag. By default, table headings are bold and centered. A table data/cell is defined with the <td> tag. <table> <tr> <td>Something…</td> </tr> </table>
  • 27.
  • 28. Table – Column Spanning
  • 29. Table – Row Spanning
  • 33. Blocks • The <div> Element • The <div> element is often used as a container for other HTML elements. • The <div> element has no required attributes, but both style and class are common. • When used together with CSS, the <div> element can be used to style blocks of content
  • 34.
  • 35. Forms • The <form> Element • The HTML <form> element defines a form that is used to collect user input: <form> . form elements . </form>
  • 36. Type Description <input type="text"> Defines a one-line text input field <input type="radio"> Defines a radio button (for selecting one of many choices) <input type="submit"> Defines a submit button (for submitting the form) The <input> Element The <input> element is the most important form element. The <input> element can be displayed in several ways, depending on the type attribute. Here are some examples:
  • 37. Text Input • <input type="text"> defines a one-line input field for text input
  • 38. Input Type Password • <input type="password"> defines a password field
  • 39. Radio Button Input • <input type="radio"> defines a radio button. • Radio buttons let a user select ONE of a limited number of choices:
  • 40. Input Type Checkbox • <input type="checkbox"> defines a checkbox. • Checkboxes let a user select ZERO or MORE options of a limited number of choices.
  • 41. The Submit Button • <input type="submit"> defines a button for submitting the form data to a form-handler. • The form-handler is typically a server page with a script for processing input data. • The form-handler is specified in the form's action attribute:
  • 42. Input Type Reset • <input type="reset"> defines a reset button that will reset all form values to their default values
  • 43. The Action Attribute • The action attribute defines the action to be performed when the form is submitted. • Normally, the form data is sent to a web page on the server when the user clicks on the submit button. • In the example above, the form data is sent to a page on the server called "action_page.php". This page contains a server-side script that handles the form data: <form action="action_page.php"> • If the action attribute is omitted, the action is set to the current page.
  • 44. The <select> Element • The <select> element defines a drop-down list • The <option> elements defines an option that can be selected. • By default, the first item in the drop-down list is selected.
  • 45. The <textarea> Element • The <textarea> element defines a multi-line input field (a text area) • The rows attribute specifies the visible number of lines in a text area. • The cols attribute specifies the visible width of a text area.
  • 46. The <button> Element • The <button> element defines a clickable button
  • 47. Audio Audio on the Web • Before HTML5, audio files could only be played in a browser with a plug-in (like flash). • The HTML5 <audio> element specifies a standard way to embed audio in a web page. HTML Audio - How It Works • The controls attribute adds audio controls, like play, pause, and volume. • The <source> element allows you to specify alternative audio files which the browser may choose from. The browser will use the first recognized format. • The text between the <audio> and </audio> tags will only be displayed in browsers that do not support the <audio> element.
  • 48.
  • 49. Video Playing Videos in HTML: • Before HTML5, a video could only be played in a browser with a plug-in (like flash). • The HTML5 <video> element specifies a standard way to embed a video in a web page. How it Works: • The controls attribute adds video controls, like play, pause, and volume. • It is a good idea to always include width and height attributes. If height and width are not set, the page might flicker while the video loads. • The <source> element allows you to specify alternative video files which the browser may choose from. The browser will use the first recognized format. • The text between the <video> and </video> tags will only be displayed in browsers that do not support the <video> element.
  • 50.
  • 51. IAM NOT SAYING THE END Rohit Buddabathina