SlideShare a Scribd company logo
Contents
• Introduction to HTML
• What is HTML ?
• Basic HTML Document.
• Body & Anchor Elements.
• Formatting Elements
• Forms
• Cascading StyleSheet
Objectives
• Understand HTML
• Understand Different Elements in HTML
• Understand Body, Anchor & Formatting Elements
• Creating Forms
• Cascading StyleSheet
• CSS –Pseudo Classes
Introduction To HTML
• HTML stands for “Hyper Text Mark up Language”
• HTML is an improvised version of “Standard
Generalized Mark Up Language” (SGML)
• It was developed by Tim Berners Lee in 1990
What is HTML?
• HTML is encoding language for creating web pages that
can be displayed by any browser.
• It consists of tags and elements.
• It is written using plain text editors or HTML editor.
• It should have extension .htm or .html
• Elements in HTML enclosed in angular brackets are called
Tags.
• Tags are not case sensitive.
Basic HTML Document
<html>
<head>
<title> SCHOOL </title>
</head>
<body>
Hello HTML
</body>
</html>
Displays Title on Title Bar of Web Page
HTML Tags
HEAD Tags
Body Elements
• Through Body Element user can change all the text,
background color & images of the web page.
• Body Element contains the following Attributes:
• <BODY BGCOLOR=“Yellow”>
• <BODY BACKGROUND=“STAR.JPG”>
• <BODY TEXT=“RED”>
• <BODY LEFTMARGIN=“60”>
Anchor Elements
• This element marks the text as Hyper Link. It is defined as
<A>
• The Anchor Element contains the following attribute
<A HREF =“C:DesktopResume.doc”> Click </A>
Creates a Hyper Link
Anchor Tag
Formatting Elements
• HTML defines many Formatting Elements
• Following are Few of the formatting elements
Formatting Element Description
<H1> to <H6> Heading Element which defines the heading of
the text
<Font> ...</Font> Font element defines the font of the text with
attributes size, face, color
<B>...</B> Bold face element
<U> ... </U> Underline element
<I>...</I> Italic element
Formatting Element (continued)
Formatting Element Description
<STRIKE>...</STRIKE> Strike element
<SUB> ... </SUB> Subscript element
<SUP>... </SUP> Superscript element
<FONT SIZE=20 FACE=“ARIAL” COLOR=GREEN > WELCOME </FONT>
Example :
Example on Formatting Elements
<Html>
<Head>
<Title> Welcome To SCHOOL </Title></Head>
<body bgcolor="Yellow" text="Red" leftmargin="60">
<A href=“c:abc.txt">Click </A>
<H1>SCHOOL</H1>
<H2>SCHOOL</H2>
<H3>SCHOOL</H3>
<H4>SCHOOL</H4>
<H5>SCHOOL</H5>
<H6>SCHOOL</H6>
<Font size=10 face= "Book Antigua" color = "Black">
Welcome to XYZ SCHOOL
</Font> <br>
<B> Warden Road </B> <br>
<I> MUMBAI </I><br>
<U> Admissions</U> <br>
FEE: <Strike>500 /- </Strike> Only 250/- <br>
2<Sup>2</Sup>=4 </br>
H<Sub>2</Sub>0</br>
</Body> </Html>
Heading
Elements
Body
Element
Anchor
Element
Formatting
Elements
Forms
• Form is an interface where user can interact with the
system by providing some data.
• This is defined by Form Tag - <FORM> … </FORM>
• Following can be created using form
– Text field
– Password Field
– Combo Box
– List Box
– Radio Button
– Check Box
– Command Button
Form Elements
Form Elements Description
Text Field Can create a Text Field by using Input Element with Type
Attribute.
Pass Word Field When text is entered in Pass Word Field it shows **** Symbol
Combo Box It can have multiple values and it allows user to select one
value at a time
List Box It can have multiple values and allows user to select more than
one value at a time
Radio Button Can create a Radio Button by using Input Element with Value
and Name Attribute
Check Box Can create Check box by Using Input Element
Command Button This is useful for submitting any data that is helpful in
transferring data across different interfaces
Example - Form Elements
<Form name=“frm”>
Enter Your Login ID <Input type=text size=20>
Enter Your Pass Word <Input type=Password Maxlength=8 size=20>
<select name=“combo1”>
<option>Value1</option>
<option>Value2</option>
<option>Value3</option>
</select>
<select name=“combo1” multiple>
<option>Value1</option>
<option>Value2</option>
<option>Value3</option>
</select>
Select Gender <input type=Radio value=Male Name=Checked>Male
<input type=Radio value=Female Name=Checked>Female
Select Hobbies <input type= Checkbox >Cricket
<input type= Checkbox > Reading
<input type= Checkbox > Watching TV<br>
<input type=submit value=“Load Data”>
<input type=button value=“Update Data”>
</Form>
Preview of web page

More Related Content

PDF
Html for beginners
PPTX
HTML Lesson 5
PPTX
uptu web technology unit 2 Css
PPTX
uptu web technology unit 2 html
PPTX
Css with example
PPTX
uptu web technology unit 2 Css
PPTX
Web designing (1) - Html Basic Codding
PDF
HTML(5) and CSS(3) for beginners - I
Html for beginners
HTML Lesson 5
uptu web technology unit 2 Css
uptu web technology unit 2 html
Css with example
uptu web technology unit 2 Css
Web designing (1) - Html Basic Codding
HTML(5) and CSS(3) for beginners - I

What's hot (19)

PPTX
Web Development Basics: HOW TO in HTML
PPTX
Cit 230 internal css
PDF
Introduction to HTML and CSS
PDF
HTML & CSS 2017
PPTX
Week 2 html
PDF
What is HTML - An Introduction to HTML (Hypertext Markup Language)
PPTX
Html5 elements-Kip Academy
PPTX
Web1O1 - Intro to HTML/CSS
PPTX
Html introduction by ikram niaz
PPTX
Web 102 INtro to CSS
PPT
Lesson 2: Getting To Know HTML
PPTX
Web programming css
PPTX
HTML, CSS and Java Scripts Basics
PDF
Intro to CSS
PPTX
HTML CSS and Web Development
PPTX
Div Tag Tutorial
PPTX
Introduction to CSS
KEY
Artdm171 Week5 Css
PDF
Html styles
Web Development Basics: HOW TO in HTML
Cit 230 internal css
Introduction to HTML and CSS
HTML & CSS 2017
Week 2 html
What is HTML - An Introduction to HTML (Hypertext Markup Language)
Html5 elements-Kip Academy
Web1O1 - Intro to HTML/CSS
Html introduction by ikram niaz
Web 102 INtro to CSS
Lesson 2: Getting To Know HTML
Web programming css
HTML, CSS and Java Scripts Basics
Intro to CSS
HTML CSS and Web Development
Div Tag Tutorial
Introduction to CSS
Artdm171 Week5 Css
Html styles
Ad

Viewers also liked (6)

PPTX
Solver
PPTX
inv de mercado
PPTX
An Introduction to Infographics
PDF
Uber vs. Lyft
PPT
Anatomy of Soft palate
DOCX
Accidentes cerebrovasculares. qué, cómo y por qué
Solver
inv de mercado
An Introduction to Infographics
Uber vs. Lyft
Anatomy of Soft palate
Accidentes cerebrovasculares. qué, cómo y por qué
Ad

Similar to HTML BY JODY C SALAS (20)

PPT
PPTX
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
PPTX
Bootstrap by SBS.pptx
PPT
Html class-02
PPTX
HTML Basic Concepts or Introduction of HTML
PPTX
Html coding
PPT
LIS3353 SP12 Week 4
PPTX
HTML, CSS, JavaScript for beginners
PPT
Basics ogHtml
PPT
Intodcution to Html
PPTX
Intro to CSS_APEC CascadingStyleSheets.pptx
PPTX
Introduction to html
PPTX
CSS ppt of cascading Style sheet for beginners.pptx
PPTX
1812010023 web developement(ANKITA OJHA)CSE4(A).pptx
PDF
Introduction to Html by Ankitkumar Singh
PDF
Create Web Pages by programming of your chice.pdf
PPTX
[SUTD GDSC] Intro to HTML and CSS
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
Bootstrap by SBS.pptx
Html class-02
HTML Basic Concepts or Introduction of HTML
Html coding
LIS3353 SP12 Week 4
HTML, CSS, JavaScript for beginners
Basics ogHtml
Intodcution to Html
Intro to CSS_APEC CascadingStyleSheets.pptx
Introduction to html
CSS ppt of cascading Style sheet for beginners.pptx
1812010023 web developement(ANKITA OJHA)CSE4(A).pptx
Introduction to Html by Ankitkumar Singh
Create Web Pages by programming of your chice.pdf
[SUTD GDSC] Intro to HTML and CSS

HTML BY JODY C SALAS

  • 1. Contents • Introduction to HTML • What is HTML ? • Basic HTML Document. • Body & Anchor Elements. • Formatting Elements • Forms • Cascading StyleSheet
  • 2. Objectives • Understand HTML • Understand Different Elements in HTML • Understand Body, Anchor & Formatting Elements • Creating Forms • Cascading StyleSheet • CSS –Pseudo Classes
  • 3. Introduction To HTML • HTML stands for “Hyper Text Mark up Language” • HTML is an improvised version of “Standard Generalized Mark Up Language” (SGML) • It was developed by Tim Berners Lee in 1990
  • 4. What is HTML? • HTML is encoding language for creating web pages that can be displayed by any browser. • It consists of tags and elements. • It is written using plain text editors or HTML editor. • It should have extension .htm or .html • Elements in HTML enclosed in angular brackets are called Tags. • Tags are not case sensitive.
  • 5. Basic HTML Document <html> <head> <title> SCHOOL </title> </head> <body> Hello HTML </body> </html> Displays Title on Title Bar of Web Page HTML Tags HEAD Tags
  • 6. Body Elements • Through Body Element user can change all the text, background color & images of the web page. • Body Element contains the following Attributes: • <BODY BGCOLOR=“Yellow”> • <BODY BACKGROUND=“STAR.JPG”> • <BODY TEXT=“RED”> • <BODY LEFTMARGIN=“60”>
  • 7. Anchor Elements • This element marks the text as Hyper Link. It is defined as <A> • The Anchor Element contains the following attribute <A HREF =“C:DesktopResume.doc”> Click </A> Creates a Hyper Link Anchor Tag
  • 8. Formatting Elements • HTML defines many Formatting Elements • Following are Few of the formatting elements Formatting Element Description <H1> to <H6> Heading Element which defines the heading of the text <Font> ...</Font> Font element defines the font of the text with attributes size, face, color <B>...</B> Bold face element <U> ... </U> Underline element <I>...</I> Italic element
  • 9. Formatting Element (continued) Formatting Element Description <STRIKE>...</STRIKE> Strike element <SUB> ... </SUB> Subscript element <SUP>... </SUP> Superscript element <FONT SIZE=20 FACE=“ARIAL” COLOR=GREEN > WELCOME </FONT> Example :
  • 10. Example on Formatting Elements <Html> <Head> <Title> Welcome To SCHOOL </Title></Head> <body bgcolor="Yellow" text="Red" leftmargin="60"> <A href=“c:abc.txt">Click </A> <H1>SCHOOL</H1> <H2>SCHOOL</H2> <H3>SCHOOL</H3> <H4>SCHOOL</H4> <H5>SCHOOL</H5> <H6>SCHOOL</H6> <Font size=10 face= "Book Antigua" color = "Black"> Welcome to XYZ SCHOOL </Font> <br> <B> Warden Road </B> <br> <I> MUMBAI </I><br> <U> Admissions</U> <br> FEE: <Strike>500 /- </Strike> Only 250/- <br> 2<Sup>2</Sup>=4 </br> H<Sub>2</Sub>0</br> </Body> </Html> Heading Elements Body Element Anchor Element Formatting Elements
  • 11. Forms • Form is an interface where user can interact with the system by providing some data. • This is defined by Form Tag - <FORM> … </FORM> • Following can be created using form – Text field – Password Field – Combo Box – List Box – Radio Button – Check Box – Command Button
  • 12. Form Elements Form Elements Description Text Field Can create a Text Field by using Input Element with Type Attribute. Pass Word Field When text is entered in Pass Word Field it shows **** Symbol Combo Box It can have multiple values and it allows user to select one value at a time List Box It can have multiple values and allows user to select more than one value at a time Radio Button Can create a Radio Button by using Input Element with Value and Name Attribute Check Box Can create Check box by Using Input Element Command Button This is useful for submitting any data that is helpful in transferring data across different interfaces
  • 13. Example - Form Elements <Form name=“frm”> Enter Your Login ID <Input type=text size=20> Enter Your Pass Word <Input type=Password Maxlength=8 size=20> <select name=“combo1”> <option>Value1</option> <option>Value2</option> <option>Value3</option> </select> <select name=“combo1” multiple> <option>Value1</option> <option>Value2</option> <option>Value3</option> </select> Select Gender <input type=Radio value=Male Name=Checked>Male <input type=Radio value=Female Name=Checked>Female Select Hobbies <input type= Checkbox >Cricket <input type= Checkbox > Reading <input type= Checkbox > Watching TV<br> <input type=submit value=“Load Data”> <input type=button value=“Update Data”> </Form>

Editor's Notes

  • #5: Faculty notes: Text editors are like Notepad, WordPad Etc.