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
Web Development using HTML & CSS
PPTX
PPTX
Lecture 2 introduction to html
PPT
Eye catching HTML BASICS tips: Learn easily
PPT
Introduction to Cascading Style Sheets (CSS)
PDF
Intro to HTML & CSS
PDF
Intro to HTML and CSS basics
Web Development using HTML & CSS
Lecture 2 introduction to html
Eye catching HTML BASICS tips: Learn easily
Introduction to Cascading Style Sheets (CSS)
Intro to HTML & CSS
Intro to HTML and CSS basics

What's hot (20)

PPTX
Html coding
ODP
Introduction of Html/css/js
PPTX
Basic HTML
KEY
HTML CSS & Javascript
PPT
Learning HTML
PPTX
Html, CSS & Web Designing
PPTX
Html ppt
PPT
Html project
PDF
HTML CSS JS in Nut shell
PPT
CSS for Beginners
PPT
Introduction To HTML
PPTX
HTML, CSS And JAVASCRIPT!
PPTX
Basic Html Knowledge for students
PPT
Learning Html
PDF
Title, heading and paragraph tags
PPTX
HTML (Web) basics for a beginner
ODP
ODP
PDF
Introduction to HTML and CSS
PPSX
Html introduction
Html coding
Introduction of Html/css/js
Basic HTML
HTML CSS & Javascript
Learning HTML
Html, CSS & Web Designing
Html ppt
Html project
HTML CSS JS in Nut shell
CSS for Beginners
Introduction To HTML
HTML, CSS And JAVASCRIPT!
Basic Html Knowledge for students
Learning Html
Title, heading and paragraph tags
HTML (Web) basics for a beginner
Introduction to HTML and CSS
Html introduction
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)

PDF
Solved Past paper of Pediatric Health Nursing PHN BS Nursing 5th Semester
PDF
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2015).pdf
PDF
The TKT Course. Modules 1, 2, 3.for self study
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PPTX
Reproductive system-Human anatomy and physiology
PDF
Controlled Drug Delivery System-NDDS UNIT-1 B.Pharm 7th sem
PDF
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
PDF
African Communication Research: A review
PDF
Disorder of Endocrine system (1).pdfyyhyyyy
PDF
Journal of Dental Science - UDMY (2021).pdf
PDF
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
PDF
fundamentals-of-heat-and-mass-transfer-6th-edition_incropera.pdf
PDF
faiz-khans about Radiotherapy Physics-02.pdf
PDF
Civil Department's presentation Your score increases as you pick a category
PDF
Hospital Case Study .architecture design
PDF
PUBH1000 - Module 6: Global Health Tute Slides
PPTX
PLASMA AND ITS CONSTITUENTS 123.pptx
PPTX
Integrated Management of Neonatal and Childhood Illnesses (IMNCI) – Unit IV |...
PPT
REGULATION OF RESPIRATION lecture note 200L [Autosaved]-1-1.ppt
PDF
Farming Based Livelihood Systems English Notes
Solved Past paper of Pediatric Health Nursing PHN BS Nursing 5th Semester
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2015).pdf
The TKT Course. Modules 1, 2, 3.for self study
Cambridge-Practice-Tests-for-IELTS-12.docx
Reproductive system-Human anatomy and physiology
Controlled Drug Delivery System-NDDS UNIT-1 B.Pharm 7th sem
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
African Communication Research: A review
Disorder of Endocrine system (1).pdfyyhyyyy
Journal of Dental Science - UDMY (2021).pdf
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
fundamentals-of-heat-and-mass-transfer-6th-edition_incropera.pdf
faiz-khans about Radiotherapy Physics-02.pdf
Civil Department's presentation Your score increases as you pick a category
Hospital Case Study .architecture design
PUBH1000 - Module 6: Global Health Tute Slides
PLASMA AND ITS CONSTITUENTS 123.pptx
Integrated Management of Neonatal and Childhood Illnesses (IMNCI) – Unit IV |...
REGULATION OF RESPIRATION lecture note 200L [Autosaved]-1-1.ppt
Farming Based Livelihood Systems English Notes

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