SlideShare a Scribd company logo
Introduction HTML by M. Supriya
Introduction to HTML Creating and publishing a Web page Main HTML elements Block-level HTML elements Text-level HTML element Creating hypertext links Adding images to documents Building tables Post and Get Methods
HTML stands for Hyper Text Markup Language, the language used to design web pages. Two type of tags in html . Paired tags (Open And Close Tags. Ex: <H1>Some Text</H1>) Unpaired tags. (Ex: <br>) Text Mixed with Markup Tags. Tags Enclosed in Angle Brackets <H1>Introduction</H1>
What Dose Markup describe? Appearance Layout Content(can`t Enforce an Exact Look) Changes in html 3.2 to html 4.0 Standardization of frames Deprecation of formatting elements (vs. style sheets) Improved cell alignment and grouping in tables Mouse and keyboard events for nearly all elements Internationalization features
HTML  Example Html Main Tags HEAD BODY
DOCTYPE HTML HEAD TITLE element required Optional elements : BASE META BGSOUND SCRIPT, NOSCRIPT STYLE LINK Main  HTML Elements
BODY Element <BODY BGCOLOR=&quot;YELLOW&quot;> HTML Attributes and Attribute Values BACKGROUND BGCOLOR TEXT LINK, VLINK, ALINK OnLoad, OnUnload, OnFocus, OnBlur Elements inside BODY element <BODY> Remaining HTML elements </BODY>
Headings H1 to H6 ALIGN Basic Text Sections P ALIGN PRE WIDTH ADDRESS BLOCKQUOTE Block-Level   Elements
Lists OL ( Ordered (Numbered) Lists ) LI  ( List entries ) UL  ( Unordered (Bulleted) Lists ) Heading Types <H1 ...> ... </H1> <H2 ...> ... </H2> <H3 ...> ... </H3> <H4 ...> ... </H4> <H5 ...> ... </H5> <H6 ...> ... </H6> Attributes: ALIGN Values: LEFT (default), RIGHT, CENTER
Heading Examples Nesting tags Headings and other block-level elements can contain text-level elements, but  not  vice versa <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;> <HTML> <HEAD> <TITLE>Document Headings</TITLE> </HEAD> <BODY> Samples of the six heading types: <H1> Level-1 (H1) </H1> <H2 ALIGN=&quot;CENTER&quot;> Level-2 (H2) </H2> <H3> <U>Level-3 (H3)</U> </H3> <H4 ALIGN=&quot;RIGHT&quot;> Level-4 (H4) </H4> <H5> Level-5 (H5) </H5> <H6> Level-6 (H6) </H6> </BODY> </HTML>
Attributes: ALIGN LEFT (default), RIGHT, CENTER. Same as headings. Whitespace ignored (use <BR> for line break) Consecutive <P>’s do not yield multiple blank lines End Tag is Optional: P-The Basic Paragraph Fully-Specified <BODY> <P>Paragraph 1</P> <P>Paragraph 2</P> <P>Paragraph 3</P> </BODY> Equivalent with Implied Tags <BODY> Paragraph 1 <P> Paragraph 2 <P> Paragraph 3 </BODY>
Links can contain images and other text- level elements (i.e., <A HREF…>   ...   </A>) Link to Absolute URL Use a complete URL beginning with http:// <A HREF=&quot;http://host/path/chapter2.html&quot;>Click Here</A>. Link to Relative URL Use a filename or relative path to filename Interpreted with respect to location of current file <A HREF=&quot;chapter2.html&quot;>Click Here</A>. Hypertext Link
Link to Section Use a section name (see below) preceded by # Images are discussed in <A HREF=&quot;#Section2&quot;>Section 2</A>. Link to Section in URL Use absolute or relative URL, then #, then section name Images are discussed in <A HREF=&quot;chapter1.html#Section2&quot;>Sec. 2 of Chap. 1</A>. Hypertext Link
Example <IMG SRC=&quot;Somename.gif&quot; ALT=&quot;My Doll” WIDTH=400 HEIGHT=300> Attributes: –  SRC (required) –  ALT (technically required) –  ALIGN (see <BR CLEAR=&quot;ALL&quot;>) –  WIDTH, HEIGHT –  HSPACE, VSPACE –  BORDER –  USEMAP, ISMAP IMG: Embedding Images
<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;> <HTML> <HEAD><TITLE>Image Alignment</TITLE></HEAD> <BODY> <H1 ALIGN=&quot;CENTER&quot;>Image Alignment</H1> <TABLE BORDER=1> <TR><TH>Alignment <TH>Result <TR><TH><CODE>LEFT</CODE> <TD><IMG SRC=&quot;rude-pc.gif&quot; ALIGN=&quot;LEFT&quot; ALT=&quot;Rude PC&quot; WIDTH=54 HEIGHT=77> This positions the image at the left side, with text flowing around it on the right. <TR><TH><CODE>RIGHT</CODE> <TD><IMG SRC=&quot;rude-pc.gif&quot; ALIGN=&quot;RIGHT&quot; ALT=&quot;Rude PC&quot; WIDTH=54 HEIGHT=77> This positions the image at the right side, with text flowing around it on the left. ... </TABLE> </BODY> Image Alignment, Example
Template <TABLE BORDER=1> <CAPTION>Table Caption</CAPTION> <TR> <TH>Heading1</TH>  <TH>Heading2</TH> </TR> <TR> <TD>Row1 Col1 Data</TD> <TD>Row1 Col2 Data</TD> </TR> </TABLE>  Tables
TR – Table row. TH – Table header. TD – Table data. ALIGN –  The ALIGN attribute gives the horizontal alignment of the table as a whole. –  Legal values are LEFT, RIGHT, and CENTER, with LEFT being the default BORDER –  This specifies the width in pixels of the border around the table –  This is in addition to the border around each cell (the CELLSPACING). –  The default is zero, which also results in the visible 3D divider   between cells being turned off CELLSPACING –  This gives the space in pixels between adjacent cells. Drawn as a 3D line if  BORDER is nonzero, otherwise empty space in the background color is used –  The default is usually about 3 TABLE Element Attributes
Frame Template <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Frameset//EN&quot;> <HTML> <HEAD><TITLE>Document Title</TITLE></HEAD> <FRAMESET ...> <!-- FRAME and Nested FRAMESET Entries --> <NOFRAMES> <BODY> <!-- Stuff for non-Frames browsers --> </BODY> </NOFRAMES> </FRAMESET> </HTML>
• Certain parts of the interface (e.g., a TOC) are always on the screen • Can avoid retyping common sections of multiple Web pages • Consistent use across a large site sometimes simplifies user navigation • A convenient way to mix text-oriented HTML  with Java applets • Image maps are more convenient if the map image remains on screen and only the results section changes   Frame Advantages
• The meaning of the “Back” and “Forward” buttons can be confusing • Poorly designed frames can get the user  lost • Hard to find real URL of a page you want –  Printing problems! • Hard to bookmark &quot;configuration&quot; • Some very old browsers do not support  frames Frame Disadvantages
<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML4.0 Frameset//EN&quot;> <HTML> <HEAD><TITLE>Frame Example 1</TITLE></HEAD> <FRAMESET ROWS=&quot;55%,45%“><FRAMESET COLS=&quot;*,*,*&quot;> <FRAME SRC=&quot;Frame-Cell.html“><FRAME SRC=&quot;Frame-Cell.html&quot;> <FRAME SRC=&quot;Frame-Cell.html&quot;> </FRAMESET> <FRAMESET COLS=&quot;*,*&quot;> <FRAME SRC=&quot;Frame-Cell.html“><FRAME SRC=&quot;Frame-Cell.html&quot;> </FRAMESET> <NOFRAMES><BODY> Your browser does not support frames. Please see <A HREF=&quot;Frame-Cell.html&quot;>non-frames version</A>. </BODY></NOFRAMES> </FRAMESET> </HTML> Frame Example
  Frame Example Result
Controls Text Box Password Radio Button Check Box Dropdown List Upload Button Syntax Of above Controls <input  type=“ text” value=“VSP” /> Here type is show the control list above. Input Controls
Text Box Example: <html> <body> First name:  <input type=&quot;text&quot; name=&quot;firstname&quot; /> </body> </html>
Pass  Word Example: <html> <body> Username: <input type=&quot;text&quot; name=&quot;user&quot; /><br /> Password: <input type=&quot;password&quot; name=&quot;password&quot; /> </body> </html>
Checkbox  Example: <html> <body> <input type=&quot;checkbox&quot; name=&quot;vehicle&quot; value=&quot;Bike&quot; />  I have a bike<br /> <input type=&quot;checkbox&quot; name=&quot;vehicle&quot; value=&quot;Car&quot; />  I have a car  </body> </html>
Radio Button Example: <html> <body> <input type=&quot;radio&quot; name=&quot;sex&quot; value=&quot;male&quot; /> Male<br /> <input type=&quot;radio&quot; name=&quot;sex&quot; value=&quot;female&quot; /> Female </body> </html>
Dropdown Example: <Html> <Body> <select name=&quot;cars&quot;> <option value=&quot;volvo&quot;>Volvo</option> <option value=&quot;saab&quot;>Saab</option> <option value=&quot;fiat&quot;>Fiat</option> <option value=&quot;audi&quot;>Audi</option> </select> </body> </html>
Text Area Example: <html> <body> <textarea rows=&quot;10&quot; cols=&quot;30&quot;> The cat was playing in the garden. </textarea> </body> </html>
Button Example: <html> <body> <input type=&quot;button&quot; value=&quot;Hello world!&quot;> </body> </html>
Post and Get Methods In HTML, one can specify two different submission  methods for a form. . GET   :  GET sends the data as part of the URL The value entered in the &quot;town&quot; field is tacked on to the end of the CGI's URL like this:  ../cgi-bin/mycgi.pl?town= West+Rochester POST :
POST  :  POST is the preferred method for sending lengthy form data..  When a form is submitted POST the user does not see the form data that was sent :  <FORM METHOD=POST ACTION=&quot;../cgi-bin/mycgi.pl&quot;>
Reference urls: Content URL: http://www.echoecho.com/documentationframe.htm?http&&&www.echoecho.com/html20/html-spec_toc.html Tags with Explanation : http://www.quackit.com/html/tutorial/ With Examples: http://www.w3schools.com/html/html_examples.asp
Thank You !

More Related Content

PPT
Intro Html
PPTX
Html ppt
PPT
Span and Div tags in HTML
PPTX
HTML: Tables and Forms
PPTX
PPTX
Basic HTML
PPT
Learning HTML
PPTX
Basic Html Knowledge for students
Intro Html
Html ppt
Span and Div tags in HTML
HTML: Tables and Forms
Basic HTML
Learning HTML
Basic Html Knowledge for students

What's hot (20)

PPTX
Lecture 2 introduction to html
PDF
Intro to HTML and CSS basics
PPTX
Introduction to HTML
PPT
Html Slide Part-1
PPTX
An Overview of HTML, CSS & Java Script
PPT
Eye catching HTML BASICS tips: Learn easily
PPT
Learning Html
PPTX
How to learn HTML in 10 Days
PPTX
1 03 - CSS Introduction
PPTX
Html links
PDF
Introduction to HTML and CSS
PPTX
Html ppt
PPTX
PPTX
HTML (Web) basics for a beginner
PPTX
Images and Tables in HTML
PPT
Html Ppt
PPT
PPTX
Html1
PPT
CSS Basics
Lecture 2 introduction to html
Intro to HTML and CSS basics
Introduction to HTML
Html Slide Part-1
An Overview of HTML, CSS & Java Script
Eye catching HTML BASICS tips: Learn easily
Learning Html
How to learn HTML in 10 Days
1 03 - CSS Introduction
Html links
Introduction to HTML and CSS
Html ppt
HTML (Web) basics for a beginner
Images and Tables in HTML
Html Ppt
Html1
CSS Basics
Ad

Similar to Html ppt (20)

PPT
HTML Fundamentals
PPT
Cascading Style Sheets
PPT
Understanding html
PPT
Html tutorial
PPT
Diva
PPT
KMUTNB - Internet Programming 3/7
PPT
PPTX
Html tags
PPT
HTML & CSS
PPT
Introduction to html
PPT
Introduction to html
PPT
AK html
PPT
1.2 elements and attributes copy (3)
PPT
1.2 elements and attributes copy (3)
ODP
Html intro
ODP
Html intro
ODP
Htmltag.ppt
PPT
Web publishing and XHTML
PPT
introduction to web technology
HTML Fundamentals
Cascading Style Sheets
Understanding html
Html tutorial
Diva
KMUTNB - Internet Programming 3/7
Html tags
HTML & CSS
Introduction to html
Introduction to html
AK html
1.2 elements and attributes copy (3)
1.2 elements and attributes copy (3)
Html intro
Html intro
Htmltag.ppt
Web publishing and XHTML
introduction to web technology
Ad

More from Iblesoft (17)

PPT
Ms sql server ii
PPT
MS SQL Server 1
PPTX
Master pages ppt
DOCX
State management
PPTX
State management
PPT
Validation controls ppt
PPT
Controls
PPT
Ado.net
PPT
Generics n delegates
PPT
Ajaxppt
PPT
Data controls ppt
PPTX
Microsoft.net architecturte
PPT
Asp.net architecture
PPTX
Generics
PPTX
Delegates and events
PPT
Javascript
PPT
Exception handling
Ms sql server ii
MS SQL Server 1
Master pages ppt
State management
State management
Validation controls ppt
Controls
Ado.net
Generics n delegates
Ajaxppt
Data controls ppt
Microsoft.net architecturte
Asp.net architecture
Generics
Delegates and events
Javascript
Exception handling

Recently uploaded (20)

PPTX
Cell Structure & Organelles in detailed.
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Pre independence Education in Inndia.pdf
PDF
Open folder Downloads.pdf yes yes ges yes
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Basic Mud Logging Guide for educational purpose
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Open Quiz Monsoon Mind Game Final Set.pptx
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
Cell Structure & Organelles in detailed.
Renaissance Architecture: A Journey from Faith to Humanism
O7-L3 Supply Chain Operations - ICLT Program
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Pre independence Education in Inndia.pdf
Open folder Downloads.pdf yes yes ges yes
102 student loan defaulters named and shamed – Is someone you know on the list?
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Microbial disease of the cardiovascular and lymphatic systems
Basic Mud Logging Guide for educational purpose
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Microbial diseases, their pathogenesis and prophylaxis
Open Quiz Monsoon Mind Game Final Set.pptx
GDM (1) (1).pptx small presentation for students
Week 4 Term 3 Study Techniques revisited.pptx
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
human mycosis Human fungal infections are called human mycosis..pptx

Html ppt

  • 1. Introduction HTML by M. Supriya
  • 2. Introduction to HTML Creating and publishing a Web page Main HTML elements Block-level HTML elements Text-level HTML element Creating hypertext links Adding images to documents Building tables Post and Get Methods
  • 3. HTML stands for Hyper Text Markup Language, the language used to design web pages. Two type of tags in html . Paired tags (Open And Close Tags. Ex: <H1>Some Text</H1>) Unpaired tags. (Ex: <br>) Text Mixed with Markup Tags. Tags Enclosed in Angle Brackets <H1>Introduction</H1>
  • 4. What Dose Markup describe? Appearance Layout Content(can`t Enforce an Exact Look) Changes in html 3.2 to html 4.0 Standardization of frames Deprecation of formatting elements (vs. style sheets) Improved cell alignment and grouping in tables Mouse and keyboard events for nearly all elements Internationalization features
  • 5. HTML Example Html Main Tags HEAD BODY
  • 6. DOCTYPE HTML HEAD TITLE element required Optional elements : BASE META BGSOUND SCRIPT, NOSCRIPT STYLE LINK Main HTML Elements
  • 7. BODY Element <BODY BGCOLOR=&quot;YELLOW&quot;> HTML Attributes and Attribute Values BACKGROUND BGCOLOR TEXT LINK, VLINK, ALINK OnLoad, OnUnload, OnFocus, OnBlur Elements inside BODY element <BODY> Remaining HTML elements </BODY>
  • 8. Headings H1 to H6 ALIGN Basic Text Sections P ALIGN PRE WIDTH ADDRESS BLOCKQUOTE Block-Level Elements
  • 9. Lists OL ( Ordered (Numbered) Lists ) LI ( List entries ) UL ( Unordered (Bulleted) Lists ) Heading Types <H1 ...> ... </H1> <H2 ...> ... </H2> <H3 ...> ... </H3> <H4 ...> ... </H4> <H5 ...> ... </H5> <H6 ...> ... </H6> Attributes: ALIGN Values: LEFT (default), RIGHT, CENTER
  • 10. Heading Examples Nesting tags Headings and other block-level elements can contain text-level elements, but not vice versa <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;> <HTML> <HEAD> <TITLE>Document Headings</TITLE> </HEAD> <BODY> Samples of the six heading types: <H1> Level-1 (H1) </H1> <H2 ALIGN=&quot;CENTER&quot;> Level-2 (H2) </H2> <H3> <U>Level-3 (H3)</U> </H3> <H4 ALIGN=&quot;RIGHT&quot;> Level-4 (H4) </H4> <H5> Level-5 (H5) </H5> <H6> Level-6 (H6) </H6> </BODY> </HTML>
  • 11. Attributes: ALIGN LEFT (default), RIGHT, CENTER. Same as headings. Whitespace ignored (use <BR> for line break) Consecutive <P>’s do not yield multiple blank lines End Tag is Optional: P-The Basic Paragraph Fully-Specified <BODY> <P>Paragraph 1</P> <P>Paragraph 2</P> <P>Paragraph 3</P> </BODY> Equivalent with Implied Tags <BODY> Paragraph 1 <P> Paragraph 2 <P> Paragraph 3 </BODY>
  • 12. Links can contain images and other text- level elements (i.e., <A HREF…> ... </A>) Link to Absolute URL Use a complete URL beginning with http:// <A HREF=&quot;http://host/path/chapter2.html&quot;>Click Here</A>. Link to Relative URL Use a filename or relative path to filename Interpreted with respect to location of current file <A HREF=&quot;chapter2.html&quot;>Click Here</A>. Hypertext Link
  • 13. Link to Section Use a section name (see below) preceded by # Images are discussed in <A HREF=&quot;#Section2&quot;>Section 2</A>. Link to Section in URL Use absolute or relative URL, then #, then section name Images are discussed in <A HREF=&quot;chapter1.html#Section2&quot;>Sec. 2 of Chap. 1</A>. Hypertext Link
  • 14. Example <IMG SRC=&quot;Somename.gif&quot; ALT=&quot;My Doll” WIDTH=400 HEIGHT=300> Attributes: – SRC (required) – ALT (technically required) – ALIGN (see <BR CLEAR=&quot;ALL&quot;>) – WIDTH, HEIGHT – HSPACE, VSPACE – BORDER – USEMAP, ISMAP IMG: Embedding Images
  • 15. <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;> <HTML> <HEAD><TITLE>Image Alignment</TITLE></HEAD> <BODY> <H1 ALIGN=&quot;CENTER&quot;>Image Alignment</H1> <TABLE BORDER=1> <TR><TH>Alignment <TH>Result <TR><TH><CODE>LEFT</CODE> <TD><IMG SRC=&quot;rude-pc.gif&quot; ALIGN=&quot;LEFT&quot; ALT=&quot;Rude PC&quot; WIDTH=54 HEIGHT=77> This positions the image at the left side, with text flowing around it on the right. <TR><TH><CODE>RIGHT</CODE> <TD><IMG SRC=&quot;rude-pc.gif&quot; ALIGN=&quot;RIGHT&quot; ALT=&quot;Rude PC&quot; WIDTH=54 HEIGHT=77> This positions the image at the right side, with text flowing around it on the left. ... </TABLE> </BODY> Image Alignment, Example
  • 16. Template <TABLE BORDER=1> <CAPTION>Table Caption</CAPTION> <TR> <TH>Heading1</TH> <TH>Heading2</TH> </TR> <TR> <TD>Row1 Col1 Data</TD> <TD>Row1 Col2 Data</TD> </TR> </TABLE> Tables
  • 17. TR – Table row. TH – Table header. TD – Table data. ALIGN – The ALIGN attribute gives the horizontal alignment of the table as a whole. – Legal values are LEFT, RIGHT, and CENTER, with LEFT being the default BORDER – This specifies the width in pixels of the border around the table – This is in addition to the border around each cell (the CELLSPACING). – The default is zero, which also results in the visible 3D divider between cells being turned off CELLSPACING – This gives the space in pixels between adjacent cells. Drawn as a 3D line if BORDER is nonzero, otherwise empty space in the background color is used – The default is usually about 3 TABLE Element Attributes
  • 18. Frame Template <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Frameset//EN&quot;> <HTML> <HEAD><TITLE>Document Title</TITLE></HEAD> <FRAMESET ...> <!-- FRAME and Nested FRAMESET Entries --> <NOFRAMES> <BODY> <!-- Stuff for non-Frames browsers --> </BODY> </NOFRAMES> </FRAMESET> </HTML>
  • 19. • Certain parts of the interface (e.g., a TOC) are always on the screen • Can avoid retyping common sections of multiple Web pages • Consistent use across a large site sometimes simplifies user navigation • A convenient way to mix text-oriented HTML with Java applets • Image maps are more convenient if the map image remains on screen and only the results section changes Frame Advantages
  • 20. • The meaning of the “Back” and “Forward” buttons can be confusing • Poorly designed frames can get the user lost • Hard to find real URL of a page you want – Printing problems! • Hard to bookmark &quot;configuration&quot; • Some very old browsers do not support frames Frame Disadvantages
  • 21. <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML4.0 Frameset//EN&quot;> <HTML> <HEAD><TITLE>Frame Example 1</TITLE></HEAD> <FRAMESET ROWS=&quot;55%,45%“><FRAMESET COLS=&quot;*,*,*&quot;> <FRAME SRC=&quot;Frame-Cell.html“><FRAME SRC=&quot;Frame-Cell.html&quot;> <FRAME SRC=&quot;Frame-Cell.html&quot;> </FRAMESET> <FRAMESET COLS=&quot;*,*&quot;> <FRAME SRC=&quot;Frame-Cell.html“><FRAME SRC=&quot;Frame-Cell.html&quot;> </FRAMESET> <NOFRAMES><BODY> Your browser does not support frames. Please see <A HREF=&quot;Frame-Cell.html&quot;>non-frames version</A>. </BODY></NOFRAMES> </FRAMESET> </HTML> Frame Example
  • 22. Frame Example Result
  • 23. Controls Text Box Password Radio Button Check Box Dropdown List Upload Button Syntax Of above Controls <input type=“ text” value=“VSP” /> Here type is show the control list above. Input Controls
  • 24. Text Box Example: <html> <body> First name: <input type=&quot;text&quot; name=&quot;firstname&quot; /> </body> </html>
  • 25. Pass Word Example: <html> <body> Username: <input type=&quot;text&quot; name=&quot;user&quot; /><br /> Password: <input type=&quot;password&quot; name=&quot;password&quot; /> </body> </html>
  • 26. Checkbox Example: <html> <body> <input type=&quot;checkbox&quot; name=&quot;vehicle&quot; value=&quot;Bike&quot; /> I have a bike<br /> <input type=&quot;checkbox&quot; name=&quot;vehicle&quot; value=&quot;Car&quot; /> I have a car </body> </html>
  • 27. Radio Button Example: <html> <body> <input type=&quot;radio&quot; name=&quot;sex&quot; value=&quot;male&quot; /> Male<br /> <input type=&quot;radio&quot; name=&quot;sex&quot; value=&quot;female&quot; /> Female </body> </html>
  • 28. Dropdown Example: <Html> <Body> <select name=&quot;cars&quot;> <option value=&quot;volvo&quot;>Volvo</option> <option value=&quot;saab&quot;>Saab</option> <option value=&quot;fiat&quot;>Fiat</option> <option value=&quot;audi&quot;>Audi</option> </select> </body> </html>
  • 29. Text Area Example: <html> <body> <textarea rows=&quot;10&quot; cols=&quot;30&quot;> The cat was playing in the garden. </textarea> </body> </html>
  • 30. Button Example: <html> <body> <input type=&quot;button&quot; value=&quot;Hello world!&quot;> </body> </html>
  • 31. Post and Get Methods In HTML, one can specify two different submission methods for a form. . GET : GET sends the data as part of the URL The value entered in the &quot;town&quot; field is tacked on to the end of the CGI's URL like this: ../cgi-bin/mycgi.pl?town= West+Rochester POST :
  • 32. POST : POST is the preferred method for sending lengthy form data.. When a form is submitted POST the user does not see the form data that was sent : <FORM METHOD=POST ACTION=&quot;../cgi-bin/mycgi.pl&quot;>
  • 33. Reference urls: Content URL: http://www.echoecho.com/documentationframe.htm?http&&&www.echoecho.com/html20/html-spec_toc.html Tags with Explanation : http://www.quackit.com/html/tutorial/ With Examples: http://www.w3schools.com/html/html_examples.asp