SlideShare una empresa de Scribd logo
1 de 43
HTML AN INTRODUCTION TO WEB PAGE PROGRAMMING
INTRODUCTION TO HTML ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
HTML Elements and Tags ,[object Object],[object Object],[object Object],[object Object],[object Object]
HOW TO START ,[object Object],[object Object],[object Object],[object Object]
Code With HTML <HTML> <HEAD> <TITLE> MY FIRST PAGE </TITLE> </HEAD> <BODY> GLOBAL INFORMATION CHANNEL </BODY> </HTML>
Explain these tags ,[object Object],[object Object],[object Object],[object Object]
Types of HTML Tags There are two different types of tags:-> Container Element:-> Container Tags contains  start tag  &  end tag  i.e.  <HTML>… </HTML> Empty Element:-> Empty Tags contains  start tag  i.e. <BR>
Text Formatting Tags ,[object Object],[object Object],[object Object],[object Object],[object Object]
Heading Tag Code <html> <head><title>heading</title></head> <body> <h1> GLOBAL INFO CHANNEL</h1> <h2> GLOBAL INFO CHANNEL</h2> <h3> GLOBAL INFO CHANNEL</h3> <h4> GLOBAL INFO CHANNEL</h4> <h5> GLOBAL INFO CHANNEL</h5> <h6> GLOBAL INFO CHANNEL</h6> </body> </html>
Result of Heading Code
HTML Paragraph Tag ,[object Object],[object Object],[object Object],[object Object]
Line Break & Horizontal Line Tag ,[object Object],[object Object],[object Object],[object Object]
Text Formatting Tags <b> <big> <em> <i> <small> <strong> <sub> <super> <ins> <del> <tt> <u> <strike> Defines bold text Defines big text Defines emphasized text  Defines italic text Defines small text Defines strong text Defines subscripted text Defines superscripted text Defines inserted text Defines deleted text Defines teletype text Defines underline text Defines strike text
Text Formatting Code <html> <head></head> <body> <b>This text is Bold</b> <br><em>This text is Emphasized</em> <br><i>This text is Italic</i> <br><small>This text is Small</small> <br>This is<sub> Subscript</sub> and <sup>Superscript</sup> <br><strong>This text is Strong</strong> <br><big>This text is Big</big> <br><u>This text is Underline</u> <br><strike>This text is Strike</strike> <br><tt>This text is Teletype</tt> </body> </html>
Result of Text Formatting Code
Font Tag ,[object Object],[object Object],[object Object]
Font Tag Code <html> <head><title> fonts</title></head> <body> <br><font color=“green&quot; size=&quot;7&quot; face=&quot;Arial&quot;> GLOBAL INFORMATION CHANNEL </font> <br><font color=“green&quot; size=&quot;6&quot; face=&quot;Comic Sans MS &quot;> GLOBAL INFORMATION CHANNEL </font> <br><font color=“green&quot; size=&quot;5&quot; face=&quot;Lucida Sans Unicode&quot;> GLOBAL INFORMATION CHANNEL </font> <br><font color=“green&quot; size=&quot;4&quot; face=&quot;Courier New&quot;> GLOBAL INFORMATION CHANNEL </font> <br><font color=“green&quot; size=&quot;3&quot; face=&quot;Times New Roman&quot;> GLOBAL INFORMATION CHANNEL </font> <br><font color=“green&quot; size=&quot;2&quot; face=&quot;Arial Black&quot;> GLOBAL INFORMATION CHANNEL </font> <br><font color=“green&quot; size=&quot;1&quot; face=&quot;Impact&quot;> GLOBAL INFORMATION CHANNEL </font> </body>  </html>
Result of Font Code
Background & Text Color Tag ,[object Object],[object Object],[object Object],[object Object]
Text Alignment Tag ,[object Object],[object Object],[object Object],[object Object]
Hyperlink Tag ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Result of Hyperlink Code
Image Tag ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Image attributes - <img> tag <img> <Src>  <Alt> <Width> <Height> <Border> <Hspace> <Vspace> <Align> <background> Defines an image  display an image on a page,Src stands for &quot;source&quot;.  Define &quot;alternate text&quot; for an image Defines the width of the image Defines the height of the image Defines border of the image Horizontal space of the image Vertical space of the image Align an image within the text Add a background image to an HTML page
Code & Result of the Image  <html><body> <p><img src=&quot;file:///C:/WINDOWS/Zapotec.bmp&quot;  align=&quot;left&quot; width=&quot;48&quot; height=&quot;48&quot;> </p> <p><img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; align=&quot;right&quot; width=&quot;48&quot; height=&quot;48&quot;></p> </body></html> <HTML> <<body background=&quot;file:///C:/WINDOWS/Soap%20Bubbles.bmp&quot; text=&quot;white&quot;> <br><br><br> <h2> Background Image!</h2> </BODY></HTML>
Code & Result of the Image  <html><body> <p>An image  <img src=&quot;file:///C:/WINDOWS/Zapotec.bmp&quot;  align=&quot;bottom&quot; width=&quot;48&quot; height=&quot;48&quot;> in the text</p> <p>An image  <img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; align=&quot;middle&quot; width=&quot;48&quot; height=&quot;48&quot;> in the text</p> <p>An image  <img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; align=&quot;top&quot; width=&quot;48&quot; height=&quot;48&quot;> in the text</p> <p>Note that bottom alignment is the default alignment</p> <p><img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; width=&quot;48&quot; height=&quot;48&quot;>  An image before the text</p> <p>An image after the text <img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; width=&quot;48&quot; height=&quot;48&quot;> </p> </body></html>
Code & Result of the Image <html><body> <p><img src=&quot;file:///C:/WINDOWS/Zapotec.bmp&quot;  align=&quot;bottom&quot; width=&quot;20&quot; height=&quot;20&quot;> </p> <p><img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; align=&quot;middle&quot; width=&quot;40&quot; height=&quot;40&quot;></p> <p><img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; align=&quot;top&quot; width=&quot;60&quot; height=&quot;60&quot;></p> <p><img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; width=&quot;80&quot; height=&quot;80&quot;> </p> <p><img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; width=&quot;100&quot; height=&quot;100&quot;> </p> </body></html>
HTML Table Tag <table> <tr>  <td>  <th> <Caption> <colgroup> <col> <thead> <tbody> <tfoot> < Cellspacing> <Cellpadding> <Colspan> <rowspan> <Border> used to create table table is divided into rows each row is divided into data cells Headings in a table caption to the table Defines groups of table columns Defines the attribute values for one or more columns in a table Defines a table head Defines a table body  Defines a table footer  amount of space between table cells. space around the edges of each cell No of column working with will span No of rows working with will span attribute takes a number
Code & Result of the Table  <html> <body> <h3>Table without border</h3> <table> <tr> <td>MILK</td> <td>TEA</td> <td>COFFEE</td> </tr> <tr> <td>400</td> <td>500</td> <td>600</td> </tr> </table> </body> </html>
Table Code with Border & Header <html><body> <h4>Horizontal Header:</h4> <table border=&quot;1&quot;> <tr> <th>Name</th> <th>Loan No</th> <th>Amount</th> </tr> <tr> <td>Jones</td> <td>L-1</td> <td>5000</td></tr> </table><br><br> <h4>Vertical Header:</h4> <table border=&quot;5&quot;> <tr> <th>Name</th> <td>Jones</td> </tr> <tr> <th>Loan No</th> <td>L-1</td> </tr> <tr> <th>Amount</th> <td>5000</td></tr> </table> </body></html>
Table Code with Colspan & Rowspan <html><body> <h4>Cell that spans two columns:</h4> <table border=&quot;4&quot;> <tr> <th>Name</th> <th colspan=&quot;2&quot;>Loan No</th> </tr> <tr> <td>Jones</td> <td>L-1</td> <td>L-2</td> </tr> </table> <h4>Cell that spans two rows:</h4> <table border=&quot;8&quot;> <tr> <th>Name</th> <td>Jones</td></tr><tr> <th rowspan=&quot;2&quot;>Loan No</th> <td>L-1</td></tr><tr> <td>L-2</td></tr></table> </body></html>
Table Code with Caption & ColSpacing <html> <body> <table border=&quot;1&quot;> <caption>My Caption</caption> <tr> <td>Milk</td> <td>Tea</td> </tr> <tr> <td></td> <td>Coffee</td> </tr> </table> </body> </html>
Cellpadding,Image & Backcolor Code <html><body> <h3>Without cellpadding:</h3> <table border=&quot;2&quot; bgcolor=&quot;green&quot;> <tr> <td>Jones</td> <td>Smith</td></tr>  <tr> <td>Hayes</td> <td>Jackson</td></tr></table> <h4>With cellpadding:</h4> <table border=&quot;8&quot;  cellpadding=&quot;10&quot; background=&quot;file:///C:/WINDOWS/FeatherTexture.bmp&quot;> <tr> <td>Jones</td> <td>Smith</td></tr>  <tr> <td>Hayes</td> <td>Jackson</td></tr></table> </body></html>
HTML List Tag ,[object Object],[object Object],[object Object],[object Object]
List Tags <LI> <OL> <UL> <DL> <DT> <DD> <LI> is an empty tag,it is used for representing the list items  Ordered list Unordered list Defines a definition list Defines a term (an item) in a definition list Defines a description of a term in a definition list
Unordered List ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Code & Result of the Unordered List   <html><body> <h4>Disc bullets list:</h4> <ul type=&quot;disc&quot;> <li>Jones</li> <li>Smith</li> <li>Hayes</li> <li>Jackson</li></ul>  <h4>Circle bullets list:</h4> <ul type=&quot;circle&quot;> <li>Jones</li> <li>Simth</li> <li>Hayes</li> <li>Jackson</li></ul>  <h4>Square bullets list:</h4> <ul type=&quot;square&quot;> <li>Jones</li> <li>Smith</li> <li>Hayes</li> <li>Jackson</li></ul> </body></html>
Ordered List ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Code & Result of the Ordered List <html><body> <h4>Numbered list:</h4> <ol> <li>Jones</li> <li>Smith</li> <li>Hayes</li> <li>Jackson</li></ol>  <h4>Letters list:</h4> <ol type=&quot;A&quot;> <li>Jones</li> <li>Smith</li> <li>Hayes</li> <li>Jackson</li></ol>  <h4>Roman numbers list:</h4> <ol type=&quot;I&quot;> <li>Jones</li> <li>Smith</li> <li>Hayes</li> <li>Jackson</li></ol>  </body></html>
HTML Form ,[object Object],[object Object],[object Object],[object Object],[object Object]
Form Tags <form> <input> <text> <textarea> <password> <label> <option> <select> <button> <value> <checkbox> <dropdown box> Defines a form for user input used to create an input field Creates a single line text entry field Defines a text-area (a multi-line text input control) Creates a single line text entry field. And the characters entered are shown as asterisks (*) Defines a label to a control Creates a Radio Button. Defines a selectable list (a drop-down box) Defines a push button attribute of the option element. select or unselect a checkbox A drop-down box is a selectable list
Code of the HTML Form  <html><body><form> <h1>Create a Internet Mail Account</h1> <p>First Name <input type=&quot;text&quot; name=&quot;T1&quot; size=&quot;30&quot;></p> <p>Last Name <input type=&quot;text&quot; name=&quot;T2&quot; size=&quot;30&quot;></p> <p>Desired Login Name <input type=&quot;text&quot; name=&quot;T3&quot; size=&quot;20&quot;> @mail.com</p> <p>Password <input type=&quot;password&quot; name=&quot;T4&quot; size=&quot;20&quot;></p> <input type=&quot;radio&quot; checked=&quot;checked&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 <p>Birthday <input type=&quot;text&quot; name=&quot;T6&quot; size=&quot;05&quot;> <select size=&quot;1&quot; name=&quot;D2&quot;> <option>-Select One-</option> <option>January</option> <option>February</option> <option>March</option> </select> <input type=&quot;text&quot; name=&quot;T7&quot; size=&quot;10&quot;></p> TypeYourself<textarea rows=&quot;4&quot; name=&quot;S1&quot; cols=&quot;20&quot;></textarea> <br><input type=&quot;submit&quot; value=&quot;Accept&quot; name=&quot;B1&quot;> <input type=&quot;reset“ value=&quot;Cancel&quot; name=&quot;B2&quot;></br> </form></body></html>
Result of the Form Code

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Presentation on HTML
Presentation on HTMLPresentation on HTML
Presentation on HTML
 
Complete Lecture on Css presentation
Complete Lecture on Css presentation Complete Lecture on Css presentation
Complete Lecture on Css presentation
 
Html presentation
Html presentationHtml presentation
Html presentation
 
Html
HtmlHtml
Html
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Css types internal, external and inline (1)
Css types internal, external and inline (1)Css types internal, external and inline (1)
Css types internal, external and inline (1)
 
Html ppt
Html pptHtml ppt
Html ppt
 
HTML: Tables and Forms
HTML: Tables and FormsHTML: Tables and Forms
HTML: Tables and Forms
 
Javascript
JavascriptJavascript
Javascript
 
Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
 
Web Development using HTML & CSS
Web Development using HTML & CSSWeb Development using HTML & CSS
Web Development using HTML & CSS
 
HTML Forms
HTML FormsHTML Forms
HTML Forms
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
Web Page Designing Using HTML
Web Page Designing Using HTMLWeb Page Designing Using HTML
Web Page Designing Using HTML
 
Html frames
Html framesHtml frames
Html frames
 
Intro to html
Intro to htmlIntro to html
Intro to html
 
Bootstrap
BootstrapBootstrap
Bootstrap
 
Intro Html
Intro HtmlIntro Html
Intro Html
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 

Destacado

The History Of The Internet Presentation
The  History Of The  Internet  PresentationThe  History Of The  Internet  Presentation
The History Of The Internet Presentation
dgieseler1
 

Destacado (10)

Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
HTML CSS Basics
HTML CSS BasicsHTML CSS Basics
HTML CSS Basics
 
21 web-developement-trends
21 web-developement-trends21 web-developement-trends
21 web-developement-trends
 
Introduction to html course digital markerters
Introduction to html course digital markertersIntroduction to html course digital markerters
Introduction to html course digital markerters
 
CSS ppt
CSS pptCSS ppt
CSS ppt
 
HTML presentation for beginners
HTML presentation for beginnersHTML presentation for beginners
HTML presentation for beginners
 
Internet History
Internet HistoryInternet History
Internet History
 
The History Of The Internet Presentation
The  History Of The  Internet  PresentationThe  History Of The  Internet  Presentation
The History Of The Internet Presentation
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
 
The Internet Presentation
The Internet Presentation The Internet Presentation
The Internet Presentation
 

Similar a Introduction to html (20)

Html TAGS
Html TAGSHtml TAGS
Html TAGS
 
Html tag
Html tagHtml tag
Html tag
 
Htmltag.ppt
Htmltag.pptHtmltag.ppt
Htmltag.ppt
 
Htmltag.ppt
Htmltag.pptHtmltag.ppt
Htmltag.ppt
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 
Html intro
Html introHtml intro
Html intro
 
Html intro
Html introHtml intro
Html intro
 
KMUTNB - Internet Programming 3/7
KMUTNB - Internet Programming 3/7KMUTNB - Internet Programming 3/7
KMUTNB - Internet Programming 3/7
 
Html tags
Html tagsHtml tags
Html tags
 
HTML & CSS
HTML & CSSHTML & CSS
HTML & CSS
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Prabu html
Prabu htmlPrabu html
Prabu html
 
Diva
DivaDiva
Diva
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Understanding html
Understanding htmlUnderstanding html
Understanding html
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 

Introduction to html

  • 1. HTML AN INTRODUCTION TO WEB PAGE PROGRAMMING
  • 2.
  • 3.
  • 4.
  • 5. Code With HTML <HTML> <HEAD> <TITLE> MY FIRST PAGE </TITLE> </HEAD> <BODY> GLOBAL INFORMATION CHANNEL </BODY> </HTML>
  • 6.
  • 7. Types of HTML Tags There are two different types of tags:-> Container Element:-> Container Tags contains start tag & end tag i.e. <HTML>… </HTML> Empty Element:-> Empty Tags contains start tag i.e. <BR>
  • 8.
  • 9. Heading Tag Code <html> <head><title>heading</title></head> <body> <h1> GLOBAL INFO CHANNEL</h1> <h2> GLOBAL INFO CHANNEL</h2> <h3> GLOBAL INFO CHANNEL</h3> <h4> GLOBAL INFO CHANNEL</h4> <h5> GLOBAL INFO CHANNEL</h5> <h6> GLOBAL INFO CHANNEL</h6> </body> </html>
  • 11.
  • 12.
  • 13. Text Formatting Tags <b> <big> <em> <i> <small> <strong> <sub> <super> <ins> <del> <tt> <u> <strike> Defines bold text Defines big text Defines emphasized text  Defines italic text Defines small text Defines strong text Defines subscripted text Defines superscripted text Defines inserted text Defines deleted text Defines teletype text Defines underline text Defines strike text
  • 14. Text Formatting Code <html> <head></head> <body> <b>This text is Bold</b> <br><em>This text is Emphasized</em> <br><i>This text is Italic</i> <br><small>This text is Small</small> <br>This is<sub> Subscript</sub> and <sup>Superscript</sup> <br><strong>This text is Strong</strong> <br><big>This text is Big</big> <br><u>This text is Underline</u> <br><strike>This text is Strike</strike> <br><tt>This text is Teletype</tt> </body> </html>
  • 15. Result of Text Formatting Code
  • 16.
  • 17. Font Tag Code <html> <head><title> fonts</title></head> <body> <br><font color=“green&quot; size=&quot;7&quot; face=&quot;Arial&quot;> GLOBAL INFORMATION CHANNEL </font> <br><font color=“green&quot; size=&quot;6&quot; face=&quot;Comic Sans MS &quot;> GLOBAL INFORMATION CHANNEL </font> <br><font color=“green&quot; size=&quot;5&quot; face=&quot;Lucida Sans Unicode&quot;> GLOBAL INFORMATION CHANNEL </font> <br><font color=“green&quot; size=&quot;4&quot; face=&quot;Courier New&quot;> GLOBAL INFORMATION CHANNEL </font> <br><font color=“green&quot; size=&quot;3&quot; face=&quot;Times New Roman&quot;> GLOBAL INFORMATION CHANNEL </font> <br><font color=“green&quot; size=&quot;2&quot; face=&quot;Arial Black&quot;> GLOBAL INFORMATION CHANNEL </font> <br><font color=“green&quot; size=&quot;1&quot; face=&quot;Impact&quot;> GLOBAL INFORMATION CHANNEL </font> </body> </html>
  • 19.
  • 20.
  • 21.
  • 23.
  • 24. Image attributes - <img> tag <img> <Src> <Alt> <Width> <Height> <Border> <Hspace> <Vspace> <Align> <background> Defines an image display an image on a page,Src stands for &quot;source&quot;. Define &quot;alternate text&quot; for an image Defines the width of the image Defines the height of the image Defines border of the image Horizontal space of the image Vertical space of the image Align an image within the text Add a background image to an HTML page
  • 25. Code & Result of the Image <html><body> <p><img src=&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; align=&quot;left&quot; width=&quot;48&quot; height=&quot;48&quot;> </p> <p><img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; align=&quot;right&quot; width=&quot;48&quot; height=&quot;48&quot;></p> </body></html> <HTML> <<body background=&quot;file:///C:/WINDOWS/Soap%20Bubbles.bmp&quot; text=&quot;white&quot;> <br><br><br> <h2> Background Image!</h2> </BODY></HTML>
  • 26. Code & Result of the Image <html><body> <p>An image <img src=&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; align=&quot;bottom&quot; width=&quot;48&quot; height=&quot;48&quot;> in the text</p> <p>An image <img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; align=&quot;middle&quot; width=&quot;48&quot; height=&quot;48&quot;> in the text</p> <p>An image <img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; align=&quot;top&quot; width=&quot;48&quot; height=&quot;48&quot;> in the text</p> <p>Note that bottom alignment is the default alignment</p> <p><img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; width=&quot;48&quot; height=&quot;48&quot;> An image before the text</p> <p>An image after the text <img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; width=&quot;48&quot; height=&quot;48&quot;> </p> </body></html>
  • 27. Code & Result of the Image <html><body> <p><img src=&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; align=&quot;bottom&quot; width=&quot;20&quot; height=&quot;20&quot;> </p> <p><img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; align=&quot;middle&quot; width=&quot;40&quot; height=&quot;40&quot;></p> <p><img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; align=&quot;top&quot; width=&quot;60&quot; height=&quot;60&quot;></p> <p><img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; width=&quot;80&quot; height=&quot;80&quot;> </p> <p><img src =&quot;file:///C:/WINDOWS/Zapotec.bmp&quot; width=&quot;100&quot; height=&quot;100&quot;> </p> </body></html>
  • 28. HTML Table Tag <table> <tr> <td> <th> <Caption> <colgroup> <col> <thead> <tbody> <tfoot> < Cellspacing> <Cellpadding> <Colspan> <rowspan> <Border> used to create table table is divided into rows each row is divided into data cells Headings in a table caption to the table Defines groups of table columns Defines the attribute values for one or more columns in a table Defines a table head Defines a table body Defines a table footer amount of space between table cells. space around the edges of each cell No of column working with will span No of rows working with will span attribute takes a number
  • 29. Code & Result of the Table <html> <body> <h3>Table without border</h3> <table> <tr> <td>MILK</td> <td>TEA</td> <td>COFFEE</td> </tr> <tr> <td>400</td> <td>500</td> <td>600</td> </tr> </table> </body> </html>
  • 30. Table Code with Border & Header <html><body> <h4>Horizontal Header:</h4> <table border=&quot;1&quot;> <tr> <th>Name</th> <th>Loan No</th> <th>Amount</th> </tr> <tr> <td>Jones</td> <td>L-1</td> <td>5000</td></tr> </table><br><br> <h4>Vertical Header:</h4> <table border=&quot;5&quot;> <tr> <th>Name</th> <td>Jones</td> </tr> <tr> <th>Loan No</th> <td>L-1</td> </tr> <tr> <th>Amount</th> <td>5000</td></tr> </table> </body></html>
  • 31. Table Code with Colspan & Rowspan <html><body> <h4>Cell that spans two columns:</h4> <table border=&quot;4&quot;> <tr> <th>Name</th> <th colspan=&quot;2&quot;>Loan No</th> </tr> <tr> <td>Jones</td> <td>L-1</td> <td>L-2</td> </tr> </table> <h4>Cell that spans two rows:</h4> <table border=&quot;8&quot;> <tr> <th>Name</th> <td>Jones</td></tr><tr> <th rowspan=&quot;2&quot;>Loan No</th> <td>L-1</td></tr><tr> <td>L-2</td></tr></table> </body></html>
  • 32. Table Code with Caption & ColSpacing <html> <body> <table border=&quot;1&quot;> <caption>My Caption</caption> <tr> <td>Milk</td> <td>Tea</td> </tr> <tr> <td></td> <td>Coffee</td> </tr> </table> </body> </html>
  • 33. Cellpadding,Image & Backcolor Code <html><body> <h3>Without cellpadding:</h3> <table border=&quot;2&quot; bgcolor=&quot;green&quot;> <tr> <td>Jones</td> <td>Smith</td></tr> <tr> <td>Hayes</td> <td>Jackson</td></tr></table> <h4>With cellpadding:</h4> <table border=&quot;8&quot; cellpadding=&quot;10&quot; background=&quot;file:///C:/WINDOWS/FeatherTexture.bmp&quot;> <tr> <td>Jones</td> <td>Smith</td></tr> <tr> <td>Hayes</td> <td>Jackson</td></tr></table> </body></html>
  • 34.
  • 35. List Tags <LI> <OL> <UL> <DL> <DT> <DD> <LI> is an empty tag,it is used for representing the list items Ordered list Unordered list Defines a definition list Defines a term (an item) in a definition list Defines a description of a term in a definition list
  • 36.
  • 37. Code & Result of the Unordered List <html><body> <h4>Disc bullets list:</h4> <ul type=&quot;disc&quot;> <li>Jones</li> <li>Smith</li> <li>Hayes</li> <li>Jackson</li></ul> <h4>Circle bullets list:</h4> <ul type=&quot;circle&quot;> <li>Jones</li> <li>Simth</li> <li>Hayes</li> <li>Jackson</li></ul> <h4>Square bullets list:</h4> <ul type=&quot;square&quot;> <li>Jones</li> <li>Smith</li> <li>Hayes</li> <li>Jackson</li></ul> </body></html>
  • 38.
  • 39. Code & Result of the Ordered List <html><body> <h4>Numbered list:</h4> <ol> <li>Jones</li> <li>Smith</li> <li>Hayes</li> <li>Jackson</li></ol> <h4>Letters list:</h4> <ol type=&quot;A&quot;> <li>Jones</li> <li>Smith</li> <li>Hayes</li> <li>Jackson</li></ol> <h4>Roman numbers list:</h4> <ol type=&quot;I&quot;> <li>Jones</li> <li>Smith</li> <li>Hayes</li> <li>Jackson</li></ol> </body></html>
  • 40.
  • 41. Form Tags <form> <input> <text> <textarea> <password> <label> <option> <select> <button> <value> <checkbox> <dropdown box> Defines a form for user input used to create an input field Creates a single line text entry field Defines a text-area (a multi-line text input control) Creates a single line text entry field. And the characters entered are shown as asterisks (*) Defines a label to a control Creates a Radio Button. Defines a selectable list (a drop-down box) Defines a push button attribute of the option element. select or unselect a checkbox A drop-down box is a selectable list
  • 42. Code of the HTML Form <html><body><form> <h1>Create a Internet Mail Account</h1> <p>First Name <input type=&quot;text&quot; name=&quot;T1&quot; size=&quot;30&quot;></p> <p>Last Name <input type=&quot;text&quot; name=&quot;T2&quot; size=&quot;30&quot;></p> <p>Desired Login Name <input type=&quot;text&quot; name=&quot;T3&quot; size=&quot;20&quot;> @mail.com</p> <p>Password <input type=&quot;password&quot; name=&quot;T4&quot; size=&quot;20&quot;></p> <input type=&quot;radio&quot; checked=&quot;checked&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 <p>Birthday <input type=&quot;text&quot; name=&quot;T6&quot; size=&quot;05&quot;> <select size=&quot;1&quot; name=&quot;D2&quot;> <option>-Select One-</option> <option>January</option> <option>February</option> <option>March</option> </select> <input type=&quot;text&quot; name=&quot;T7&quot; size=&quot;10&quot;></p> TypeYourself<textarea rows=&quot;4&quot; name=&quot;S1&quot; cols=&quot;20&quot;></textarea> <br><input type=&quot;submit&quot; value=&quot;Accept&quot; name=&quot;B1&quot;> <input type=&quot;reset“ value=&quot;Cancel&quot; name=&quot;B2&quot;></br> </form></body></html>
  • 43. Result of the Form Code