SlideShare a Scribd company logo
 
What is HTML? H yper  T ext  M arkup  L anguage A markup language designed for the creation of web pages and other information viewable in a browser The basic language used to write web pages File extension: .htm, .html
How is a HTML File Looks Like
Creating a HTML File Open Notepad Click on File -> Save as… In the File name pull-down box, type in webpage.html Click on Save Type in content for your file Once you finished the content, click on File -> Save
HTML Tags For example: <b>, <font>,<title>, <p> etc. Tag usually goes with pair: an open tag (<b>) and an end tag (<\b>) Single tag: <hr>,<br> Tags are NOT case sensitive Effect Code Code Used What It Does Bold B <B>Bold</B> Bold Italic I <I>Italic</I> Italic
HTML Document Structure <html>  <head>  <title>  Page Title Goes Here  </title> </head>  <body>  content goes here   </body> </html>
Background Bgcolor Specifies a background-color for a HTML page. <body bgcolor=&quot;#000000&quot;> <body bgcolor=&quot;rgb(0,0,0)&quot;> <body bgcolor=&quot;black&quot;>  Background Specifies a background-image for a HTML page <body background=&quot;clouds.gif&quot;>  <body background=&quot;http://www.w3schools.com/clouds.gif&quot;>
Text Put text on a webpage <p>Today is my first day at my new job, I’m so excited!</p> Output: Today is my first day at my new job, I’m so excited! Put text in center of a page <center>Hello</center> Output: Hello Put text on the right of a page <p align=“right”>Hello</p> Output: Hello
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
Commonly Used Character Entities Result Description Entity Name Non-breaking space &nbsp; < Less than &lt; > Greater than &gt; & Ampersand &amp; “ Quotation mark &quot; ©  Copyright &copy;
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: Coffee Milk
Table <table border=“1&quot;>  <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.globalbschool.in”>GSB Home</a> Output:  GBS Home A Email link <a href=“mailto:chidanand@globalbschool.in”> Email me</a> Output:  Email me
Image Formats .gif Graphics Interchange Format .jpeg or .jpg Joint Photographic Experts Group .bmp bitmap
Inserting Image Place all images in the same directory/folder where you web pages are <img src> is a single tag <img src=“images\image.gif”> Output:  Turn an image into a hyerlink <a href=“http://www.iusb.edu”><img src=“image.gif”></a> Output:
Image Size Computer images are made up of “pixels” <IMG HEIGHT=“100%&quot; WIDTH=“150&quot; SRC=&quot;image.gif&quot;>  Width Height
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=&quot; text &quot; name=&quot;firstname&quot;>  <br>  Password: <input type=“password ”  name=&quot;lastname&quot;> </form>  Output First name:  Password:
Submission Button When user clicks on the “Submit” button, the content of the form is sent to another file. <form name=&quot;input&quot; action=&quot;html_form_action.asp&quot; method=&quot;get&quot;> Username: <input type=&quot;text&quot; name=&quot;user&quot;> <br> <input type=&quot; submit &quot; value=&quot;Submit&quot;>  </form>  Output Username:
Checkboxes Used when you want the user to select one or more options of a limited number of choices. <form>  <input type=&quot; checkbox &quot; name=&quot;bike“ value=“bike”> I have a bike  <br>  <input type=&quot; checkbox &quot; name=&quot;car“ value=“car”> I have a car </form>  Output I have a bike I have a car
Radio Buttons Used when you want the user to select one of a limited number of choices. <form>  <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 </form>  Output Male Female
Text Box Used when you want to get input from user. <form> <p>Please provide your suggestion in the text box below:</p> <textarea  name=“suggestion” 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&quot;Fruit&quot;> <option > Apples <option> Bananas < option selected > Oranges </select>  Output Select a fruit:
Additional Resource http://www.w3schools.com/html/default.asp

More Related Content

PPT
Html Ppt
PPT
Nursery pond management of Fishes
PPT
Presentation on HTML
PPTX
Basic html structure
PPTX
Unit 1 introduction to web programming
DOCX
Java questions for viva
PPTX
Presentation on "An Introduction to ReactJS"
Html Ppt
Nursery pond management of Fishes
Presentation on HTML
Basic html structure
Unit 1 introduction to web programming
Java questions for viva
Presentation on "An Introduction to ReactJS"

What's hot (20)

PPT
Intro to html
PPT
Learning HTML
PPTX
PPTX
Basic Html Knowledge for students
PPSX
Html introduction
PPTX
How to learn HTML in 10 Days
ODP
PDF
Intro to HTML and CSS basics
PPTX
Html ppt
PPTX
Learn html Basics
PPTX
Html1
ODP
PPT
Css Ppt
PPT
Html Slide Part-1
PPT
Html ppt
PPTX
HTML Forms
PPTX
PPTX
Html coding
PPT
Html basics
Intro to html
Learning HTML
Basic Html Knowledge for students
Html introduction
How to learn HTML in 10 Days
Intro to HTML and CSS basics
Html ppt
Learn html Basics
Html1
Css Ppt
Html Slide Part-1
Html ppt
HTML Forms
Html coding
Html basics
Ad

Viewers also liked (20)

PDF
Search Engines
PPT
Seo Search Engine Marketing
PDF
Search Engine Google
PPTX
Squirrly Performance Analytics
PDF
Pemilihan bibit ayam buras
PDF
CPI Event Preliminary Program
PPT
A kursus 2014
PPT
17 october embedded seminar
PDF
Olympus distributors list
DOCX
Sites
PDF
PDF
Mercator Ocean newsletter 20
PPT
HR-032-資訊系進路圖
PPTX
Performance Ethics Prospectus_final
PDF
Wisanka company profile 2013
DOC
Reading intervention report
DOC
Offshore Vacancies at Fluor Phils
PDF
Upscale Disposable Dinnerware brochure new 2013
PDF
Rickmers-Linie Presentation at the GPLN Global Meeting 2010
Search Engines
Seo Search Engine Marketing
Search Engine Google
Squirrly Performance Analytics
Pemilihan bibit ayam buras
CPI Event Preliminary Program
A kursus 2014
17 october embedded seminar
Olympus distributors list
Sites
Mercator Ocean newsletter 20
HR-032-資訊系進路圖
Performance Ethics Prospectus_final
Wisanka company profile 2013
Reading intervention report
Offshore Vacancies at Fluor Phils
Upscale Disposable Dinnerware brochure new 2013
Rickmers-Linie Presentation at the GPLN Global Meeting 2010
Ad

Similar to Intro Html (20)

PPT
YL Intro html
PPT
KMUTNB - Internet Programming 3/7
PPT
Introduction to html
PPT
Introduction to html
PPT
How To Create Personal Web Pages On My Web
ODP
ODP
PPTX
Creating a Webpage
PPT
Lecture1 B Frames&Forms
PPT
PPT
HTML Fundamentals
PPT
Lecture 2 - Comm Lab: Web @ ITP
PPT
Web design
PPT
Lecture 6 - Comm Lab: Web @ ITP
PPT
HTML & CSS
PPT
Html part2
PPT
Html part2 (1)
ODP
Htmltag.ppt
PPT
PPT
HTML5 with examples
YL Intro html
KMUTNB - Internet Programming 3/7
Introduction to html
Introduction to html
How To Create Personal Web Pages On My Web
Creating a Webpage
Lecture1 B Frames&Forms
HTML Fundamentals
Lecture 2 - Comm Lab: Web @ ITP
Web design
Lecture 6 - Comm Lab: Web @ ITP
HTML & CSS
Html part2
Html part2 (1)
Htmltag.ppt
HTML5 with examples

Recently uploaded (20)

PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
Lesson notes of climatology university.
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
VCE English Exam - Section C Student Revision Booklet
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
Cell Structure & Organelles in detailed.
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Trump Administration's workforce development strategy
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Complications of Minimal Access Surgery at WLH
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Orientation - ARALprogram of Deped to the Parents.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Lesson notes of climatology university.
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
VCE English Exam - Section C Student Revision Booklet
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Cell Structure & Organelles in detailed.
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Trump Administration's workforce development strategy
Final Presentation General Medicine 03-08-2024.pptx
Complications of Minimal Access Surgery at WLH
Weekly quiz Compilation Jan -July 25.pdf
A systematic review of self-coping strategies used by university students to ...
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Anesthesia in Laparoscopic Surgery in India
Pharmacology of Heart Failure /Pharmacotherapy of CHF
202450812 BayCHI UCSC-SV 20250812 v17.pptx

Intro Html

  • 1.  
  • 2. What is HTML? H yper T ext M arkup L anguage A markup language designed for the creation of web pages and other information viewable in a browser The basic language used to write web pages File extension: .htm, .html
  • 3. How is a HTML File Looks Like
  • 4. Creating a HTML File Open Notepad Click on File -> Save as… In the File name pull-down box, type in webpage.html Click on Save Type in content for your file Once you finished the content, click on File -> Save
  • 5. HTML Tags For example: <b>, <font>,<title>, <p> etc. Tag usually goes with pair: an open tag (<b>) and an end tag (<\b>) Single tag: <hr>,<br> Tags are NOT case sensitive Effect Code Code Used What It Does Bold B <B>Bold</B> Bold Italic I <I>Italic</I> Italic
  • 6. HTML Document Structure <html> <head> <title> Page Title Goes Here </title> </head> <body> content goes here </body> </html>
  • 7. Background Bgcolor Specifies a background-color for a HTML page. <body bgcolor=&quot;#000000&quot;> <body bgcolor=&quot;rgb(0,0,0)&quot;> <body bgcolor=&quot;black&quot;> Background Specifies a background-image for a HTML page <body background=&quot;clouds.gif&quot;> <body background=&quot;http://www.w3schools.com/clouds.gif&quot;>
  • 8. Text Put text on a webpage <p>Today is my first day at my new job, I’m so excited!</p> Output: Today is my first day at my new job, I’m so excited! Put text in center of a page <center>Hello</center> Output: Hello Put text on the right of a page <p align=“right”>Hello</p> Output: Hello
  • 9. 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
  • 10. Commonly Used Character Entities Result Description Entity Name Non-breaking space &nbsp; < Less than &lt; > Greater than &gt; & Ampersand &amp; “ Quotation mark &quot; © Copyright &copy;
  • 11. 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>
  • 12. 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: Coffee Milk
  • 13. Table <table border=“1&quot;> <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
  • 14. Create Links A Hypertext link < a href=“http://www.globalbschool.in”>GSB Home</a> Output: GBS Home A Email link <a href=“mailto:[email protected]”> Email me</a> Output: Email me
  • 15. Image Formats .gif Graphics Interchange Format .jpeg or .jpg Joint Photographic Experts Group .bmp bitmap
  • 16. Inserting Image Place all images in the same directory/folder where you web pages are <img src> is a single tag <img src=“images\image.gif”> Output: Turn an image into a hyerlink <a href=“http://www.iusb.edu”><img src=“image.gif”></a> Output:
  • 17. Image Size Computer images are made up of “pixels” <IMG HEIGHT=“100%&quot; WIDTH=“150&quot; SRC=&quot;image.gif&quot;> Width Height
  • 18. 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
  • 19. Text Input Fields Used when you want the user to type letters, number, etc. <form> First name: <input type=&quot; text &quot; name=&quot;firstname&quot;> <br> Password: <input type=“password ” name=&quot;lastname&quot;> </form> Output First name: Password:
  • 20. Submission Button When user clicks on the “Submit” button, the content of the form is sent to another file. <form name=&quot;input&quot; action=&quot;html_form_action.asp&quot; method=&quot;get&quot;> Username: <input type=&quot;text&quot; name=&quot;user&quot;> <br> <input type=&quot; submit &quot; value=&quot;Submit&quot;> </form> Output Username:
  • 21. Checkboxes Used when you want the user to select one or more options of a limited number of choices. <form> <input type=&quot; checkbox &quot; name=&quot;bike“ value=“bike”> I have a bike <br> <input type=&quot; checkbox &quot; name=&quot;car“ value=“car”> I have a car </form> Output I have a bike I have a car
  • 22. Radio Buttons Used when you want the user to select one of a limited number of choices. <form> <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 </form> Output Male Female
  • 23. Text Box Used when you want to get input from user. <form> <p>Please provide your suggestion in the text box below:</p> <textarea name=“suggestion” row=“10” cols=“30”> </textarea> </form> Output Please provide your suggestion in the text box below:
  • 24. 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&quot;Fruit&quot;> <option > Apples <option> Bananas < option selected > Oranges </select> Output Select a fruit: