SlideShare a Scribd company logo

HTML – Hyper Text Markup Language

HTML documents describe web pages (Static Web
Page)

HTML tags are keywords surrounded by angle
brackets like <html>

HTML tags normally come in pairs like <b> and </b>

The first tag in a pair is the start tag (opening tags),
the second tag is the end tag(closing tags)
• WHERE WE WRITE CODE :WHERE WE WRITE CODE :
• 1.Text Editor
• 1.Wordpad (In Windows OS)
• 2.Gedit Text Editor (Ubundu in LINUX)
• 2.FrontPage or Dreamweaver
• WHERE WE EXECUTEWHERE WE EXECUTE :
• 1.Double Click that HTML File. (or)
• 2.Right click – Open With Internet Explorer
First Planet
First Planet
 <html> .... </html> describes the web page
 <body> ..... </body> is the visible page content
<html>
<body>
<h1>First Planet</h1>
<h6>First Planet</h6>
</body>
</html>
O/P :O/P :
Html Links :Html Links :
Html links are defined with the <a> tag
Syntax :Syntax : <a href="http://www.gmil.com">Gmail</a>
ExampleExample :: <html>
<body>
<a href="http://www.gmail.com">Gmail</a>
</body>
</html>
GmailO/P :O/P :
If we click this link it goes to gmail
account
HTML Images :HTML Images :
HTML images are defined with the <img> tag.
Syntax :Syntax : <img src "123.jpg" width="104" height="142" />
Example :Example : <html>
<body>
<img src="word.jpg" width="104" height="142" />
</body>
</html>
O/P:O/P:
HTML Rules (Lines) :HTML Rules (Lines) :
The <hr /> tag is used to create an horizontal
rule (line).
Example:Example: <html><body>
<h3>Exnora</h3>
<hr />
<h3>Safety Exnora</h3>
</body></html>
O/P :O/P :
Exnora
Safety Exnora
HTML Comments :HTML Comments :
Comments can be inserted in the HTML code to make
more readable and understandable. Comments are ignored by the browser
and are not displayed.
SyntaxSyntax : <!-- some text →
Example :Example : <html><body>
<!--It will not be displayed-->
<h3>Plant Trees </h3>
</body></html>
Plant Trees
O/P :O/P :
<html><body>
<b>Confidence</b><br />
<big>Hardwork</big><br />
<i>Preseverance</i><br />
<code>Samsung CRT</code><br />
This is<sub> subscript</sub><br />
This is<sup> superscript</sup>
</body></html>
Some Formatting Tags are 1,b-Bold, 2.i-Italic, 3.code-
Computer code,4.sub-Subscript & 5.sup-Superscript
Implement it as a Exercise
(Practical)
TagsTags DescriptionDescription
<center> Defines centered content
<font> Defines HTML fonts
<s> and <strike> Defines strikeout text
<u> Defines underlined text
AttributesAttributes DescriptionDescription
Align Defines the alignment of text
Bgcolor Defines the background color
Color Defines the text color
<html>
<h1 style="text-align:center">NATURE</h1>
<body style="background-color:yellow">
<p style="font-family:Purisa;color:red">Plant Tree</p>
<p style="font-family:times;color:red">Save Our Generation</p>
<p style="font-size:40">Value Our Environment</p>
</body> </html>
NATURE
Plant Tree
Save Our Generation
Value Our Environment
O/P :O/P :
 Tables are defined with the <table> tag.
 A table is divided into rows (with the <tr> tag),
 Each row is divided into data cells (with the <td> tag). The letters td
stands for "table data," which is the content of a data cell.
 Headings in a table are defined with the <th> tag.
<table border="1">
<tr> <td>row 1, cell 1</td>
<td>row 1, cell 2</td> </tr>
<tr> <td>row 2, cell 1</td>
<td>row 2, cell 2</td></tr>
</table>
row1,cell1 row1,cell2
row2,cell1 row2,cell2
1.Table with a caption :
<caption>My Caption</caption>
2.Table cells that span more than one row/column :
<th colspan="2">Telephone</th>
<th rowspan="2">Telephone:</th>
3.Cell padding :
<table border="1" cellpadding="10">
4.Cell spacing :
<table border="1" cellspacing="10">
5.Add a background color or a background image to a table :
<table border="1" bgcolor="red">
HTML supports ordered, unordered and definition lists.
Ordered Lists :Ordered Lists :
 An ordered list is also a list of items. The list items are marked with numbers.
 An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.
Unordered Lists :Unordered Lists :
 An unordered list is a list of items. The list items are marked with bullets
(typically small black circles).
 An unordered list starts with the <ul> tag. Each list item starts with the <li>
tag.
Definition Lists :Definition Lists :
 A definition list is not a list of single items. It is a list of items (terms),
with a description of each item (term).
 A definition list starts with a <dl> tag (definition list).
 Each term starts with a <dt> tag (definition term).
 Each description starts with a <dd> tag (definition description).
Unordered List :Unordered List :
 ThinkPositve
 Never Depressed
 Keep Smiling
Ordered List :Ordered List :
1.Fail
2.Work Hard
3.Win
4.Teach
Definition List :Definition List :
Success
Fail First,
Happy
Smile Always
HTML Forms are used to select different kinds of user input.
A form is an area that can contain form elements.
Form elements are elements that allow the user to enter information like,
1. text fields,
2. textarea fields,
3. drop-down menus,
4.radio buttons,
5. checkboxes,
6. Action Attribute and the Submit Button,etc.
Text Fields:Text Fields:
Text fields are used when you want the user to type letters,
numbers, etc. in a form.
Example :Example :
<form>
First name: <input type="text" name="firstname" /> <br />
Last name: <input type="text" name="lastname" />
</form>
First name :
Last name :
OUTPUT :OUTPUT :
Radio Buttons :Radio Buttons :
<form>
<input type="radio" name="sex" value="male" /> Male <br />
<input type="radio" name="sex" value="female" /> Female
</form>
Checkboxes :Checkboxes :
<form>
Bike: <input type="checkbox" name="vehicle" value="Bike"/> <br />
Car: <input type="checkbox" name="vehicle" value="Car"/><br />
</form>
Male
Female
Bike
Car
Action Attribute and the Submit Button :
 When the user clicks on the "Submit" button, the content of the form is
sent to the server.
 The form's action attribute defines the name of the file to send the
content to.
 It depends on PHP File.
<form name="input" action="html_form_submit.asp" method="get">
Username:<input type="text" name="user"/>
<input type="submit" value="Submit" />
</form>
Submit
Username :
 A part of this page is formatted with two columns, like a newspaper page.
 The trick is to use a table without borders, and maybe a little extra cell-
padding.
 No matter how much text you add to this page, it will stay inside its
column borders.
<table border="0" width="100%" cellpadding="10">
<tr>
<td width="50%" valign="top">
This is the Time to save Our Earth to Our Future Generation.So
everybody shoud be a Volunteer.
</td>
<td width="50%" valign="top">
For smooth relationship between to us & nature We should do some
activities to Preserve our Earth.
</td>
</tr> </table>
This is the Time to save
Our Earth to Our Future
Generation.So
everybody shoud be a
Volunteer.
For smooth relationship
between to us & nature We
should do some
activities to Preserve our
Earth.
 With frames, you can display more than one HTML document in the
same browser window.
 Each HTML document is called a frame, and each frame is independent
of the others.
The Frameset Tag
* The <frameset> tag defines how to divide the window into frames
* Each frameset defines a set of rows or columns
* The values of the rows/columns indicate the amount of screen area each
row/column will occupy
<html>
<frameset cols="30%,40%,30%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>
</html>
<html>
<frameset rows="30%,40%,30>
<frame src="frame_a.htm">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>
</html>

More Related Content

What's hot

Learning HTML
Learning HTMLLearning HTML
Learning HTML
Md. Sirajus Salayhin
 
HTML & CSS
HTML & CSSHTML & CSS
HTML & CSS
jlinabary
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmlvikasgaur31
 
Understanding THML
Understanding THMLUnderstanding THML
Understanding THML
Hinopak Motors Limited
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
Jayapal Reddy Nimmakayala
 
Html ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangaloreHtml ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangalore
fathima12
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
palhaftab
 
Html Intro2
Html Intro2Html Intro2
Html Intro2mlackner
 
Html1
Html1Html1
Html1
learnt
 
Html ppt computer
Html ppt computerHtml ppt computer
Html ppt computer
Anmol Pant
 
Html basic tags
Html basic tagsHtml basic tags
Html basic tags
umesh patil
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
veena parihar
 
Html introduction
Html introductionHtml introduction
Html introduction
Dalia Elbadry
 
Learning Html
Learning HtmlLearning Html
Learning Html
Damian Gonz
 

What's hot (20)

Html ppt
Html pptHtml ppt
Html ppt
 
Learning HTML
Learning HTMLLearning HTML
Learning HTML
 
HTML & CSS
HTML & CSSHTML & CSS
HTML & CSS
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Html Ppt
Html PptHtml Ppt
Html Ppt
 
Html tag
Html tagHtml tag
Html tag
 
Understanding THML
Understanding THMLUnderstanding THML
Understanding THML
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
Html
HtmlHtml
Html
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
Html ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangaloreHtml ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangalore
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
 
Html Intro2
Html Intro2Html Intro2
Html Intro2
 
Html1
Html1Html1
Html1
 
Html ppt computer
Html ppt computerHtml ppt computer
Html ppt computer
 
Html basic tags
Html basic tagsHtml basic tags
Html basic tags
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Html ppt
Html pptHtml ppt
Html ppt
 
Html introduction
Html introductionHtml introduction
Html introduction
 
Learning Html
Learning HtmlLearning Html
Learning Html
 

Similar to Html ppt

PPT-203105353-1.pdf
PPT-203105353-1.pdfPPT-203105353-1.pdf
PPT-203105353-1.pdf
PINTUCHAUHAN8
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
Taha Malampatti
 
Html 5
Html 5Html 5
Html presentation
Html presentationHtml presentation
Html presentation
Prashanthi Mamidisetty
 
Lectuer html1
Lectuer  html1Lectuer  html1
Lectuer html1
Nawal Alragawi
 
Full Stack Class in Marathahalli| AchieversIT
Full Stack Class in Marathahalli| AchieversITFull Stack Class in Marathahalli| AchieversIT
Full Stack Class in Marathahalli| AchieversIT
AchieversITAravind
 
HTML Notes For demo_classes.pdf
HTML Notes For demo_classes.pdfHTML Notes For demo_classes.pdf
HTML Notes For demo_classes.pdf
AchieversITAravind
 
INTRODUCTION FOR HTML
INTRODUCTION  FOR HTML INTRODUCTION  FOR HTML
INTRODUCTION FOR HTML
Rahul Bathri
 
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
aneebkmct
 
basic knowledge abot html
basic knowledge abot htmlbasic knowledge abot html
basic knowledge abot html
Ankit Dubey
 
HTML5 with PHP.ini
HTML5 with PHP.iniHTML5 with PHP.ini
HTML5 with PHP.ini
Abhinav Bhatnagar
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
Sayan De
 
Caracteristicas Basicas De Htlm
Caracteristicas Basicas De HtlmCaracteristicas Basicas De Htlm
Caracteristicas Basicas De HtlmMaria S Rivera
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
DipaliJagtap6
 
Web Design-III IT.ppt
Web Design-III IT.pptWeb Design-III IT.ppt
Web Design-III IT.ppt
banu236831
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Seble Nigussie
 
Web development (html)
Web development (html)Web development (html)
Web development (html)
AliNaqvi131
 
Web Design Lecture2.pptx
Web Design Lecture2.pptxWeb Design Lecture2.pptx
Web Design Lecture2.pptx
MohammedNoor74
 
Learn HTML Easier
Learn HTML EasierLearn HTML Easier
Learn HTML Easier
Karthick Mathesh
 

Similar to Html ppt (20)

PPT-203105353-1.pdf
PPT-203105353-1.pdfPPT-203105353-1.pdf
PPT-203105353-1.pdf
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
 
Html 5
Html 5Html 5
Html 5
 
Html presentation
Html presentationHtml presentation
Html presentation
 
Lectuer html1
Lectuer  html1Lectuer  html1
Lectuer html1
 
Full Stack Class in Marathahalli| AchieversIT
Full Stack Class in Marathahalli| AchieversITFull Stack Class in Marathahalli| AchieversIT
Full Stack Class in Marathahalli| AchieversIT
 
HTML Notes For demo_classes.pdf
HTML Notes For demo_classes.pdfHTML Notes For demo_classes.pdf
HTML Notes For demo_classes.pdf
 
INTRODUCTION FOR HTML
INTRODUCTION  FOR HTML INTRODUCTION  FOR HTML
INTRODUCTION FOR HTML
 
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
 
basic knowledge abot html
basic knowledge abot htmlbasic knowledge abot html
basic knowledge abot html
 
HTML5 with PHP.ini
HTML5 with PHP.iniHTML5 with PHP.ini
HTML5 with PHP.ini
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
Caracteristicas Basicas De Htlm
Caracteristicas Basicas De HtlmCaracteristicas Basicas De Htlm
Caracteristicas Basicas De Htlm
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
Web Design-III IT.ppt
Web Design-III IT.pptWeb Design-III IT.ppt
Web Design-III IT.ppt
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Web development (html)
Web development (html)Web development (html)
Web development (html)
 
Web Design Lecture2.pptx
Web Design Lecture2.pptxWeb Design Lecture2.pptx
Web Design Lecture2.pptx
 
Html
HtmlHtml
Html
 
Learn HTML Easier
Learn HTML EasierLearn HTML Easier
Learn HTML Easier
 

More from sanjay joshi

Ccna security
Ccna security Ccna security
Ccna security
sanjay joshi
 
Array in c language
Array in c languageArray in c language
Array in c language
sanjay joshi
 
Introduction to c programming language
Introduction to c programming languageIntroduction to c programming language
Introduction to c programming language
sanjay joshi
 
Cloud computing
Cloud computingCloud computing
Cloud computing
sanjay joshi
 
Static and dynamic polymorphism
Static and dynamic polymorphismStatic and dynamic polymorphism
Static and dynamic polymorphism
sanjay joshi
 
Embeded system
Embeded systemEmbeded system
Embeded system
sanjay joshi
 
Distributed database
Distributed databaseDistributed database
Distributed database
sanjay joshi
 
Vb and asp.net
Vb and asp.netVb and asp.net
Vb and asp.net
sanjay joshi
 
Angular js
Angular jsAngular js
Angular js
sanjay joshi
 
introduction to c programming language
introduction to c programming languageintroduction to c programming language
introduction to c programming language
sanjay joshi
 
Oops in php
Oops in phpOops in php
Oops in php
sanjay joshi
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
sanjay joshi
 
Css3 responsive
Css3 responsive Css3 responsive
Css3 responsive
sanjay joshi
 
Java script
Java scriptJava script
Java script
sanjay joshi
 
Data Structure And Queue
Data Structure And Queue Data Structure And Queue
Data Structure And Queue
sanjay joshi
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
sanjay joshi
 
Static and dynamic polymorphism
Static and dynamic polymorphismStatic and dynamic polymorphism
Static and dynamic polymorphism
sanjay joshi
 
Angularjs
AngularjsAngularjs
Angularjs
sanjay joshi
 
Visual basic
Visual basicVisual basic
Visual basic
sanjay joshi
 
Distributed database
Distributed databaseDistributed database
Distributed database
sanjay joshi
 

More from sanjay joshi (20)

Ccna security
Ccna security Ccna security
Ccna security
 
Array in c language
Array in c languageArray in c language
Array in c language
 
Introduction to c programming language
Introduction to c programming languageIntroduction to c programming language
Introduction to c programming language
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Static and dynamic polymorphism
Static and dynamic polymorphismStatic and dynamic polymorphism
Static and dynamic polymorphism
 
Embeded system
Embeded systemEmbeded system
Embeded system
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Vb and asp.net
Vb and asp.netVb and asp.net
Vb and asp.net
 
Angular js
Angular jsAngular js
Angular js
 
introduction to c programming language
introduction to c programming languageintroduction to c programming language
introduction to c programming language
 
Oops in php
Oops in phpOops in php
Oops in php
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 
Css3 responsive
Css3 responsive Css3 responsive
Css3 responsive
 
Java script
Java scriptJava script
Java script
 
Data Structure And Queue
Data Structure And Queue Data Structure And Queue
Data Structure And Queue
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Static and dynamic polymorphism
Static and dynamic polymorphismStatic and dynamic polymorphism
Static and dynamic polymorphism
 
Angularjs
AngularjsAngularjs
Angularjs
 
Visual basic
Visual basicVisual basic
Visual basic
 
Distributed database
Distributed databaseDistributed database
Distributed database
 

Recently uploaded

Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 

Recently uploaded (20)

Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 

Html ppt

  • 1.  HTML – Hyper Text Markup Language  HTML documents describe web pages (Static Web Page)  HTML tags are keywords surrounded by angle brackets like <html>  HTML tags normally come in pairs like <b> and </b>  The first tag in a pair is the start tag (opening tags), the second tag is the end tag(closing tags)
  • 2. • WHERE WE WRITE CODE :WHERE WE WRITE CODE : • 1.Text Editor • 1.Wordpad (In Windows OS) • 2.Gedit Text Editor (Ubundu in LINUX) • 2.FrontPage or Dreamweaver • WHERE WE EXECUTEWHERE WE EXECUTE : • 1.Double Click that HTML File. (or) • 2.Right click – Open With Internet Explorer
  • 3. First Planet First Planet  <html> .... </html> describes the web page  <body> ..... </body> is the visible page content <html> <body> <h1>First Planet</h1> <h6>First Planet</h6> </body> </html> O/P :O/P :
  • 4. Html Links :Html Links : Html links are defined with the <a> tag Syntax :Syntax : <a href="http://www.gmil.com">Gmail</a> ExampleExample :: <html> <body> <a href="http://www.gmail.com">Gmail</a> </body> </html> GmailO/P :O/P : If we click this link it goes to gmail account
  • 5. HTML Images :HTML Images : HTML images are defined with the <img> tag. Syntax :Syntax : <img src "123.jpg" width="104" height="142" /> Example :Example : <html> <body> <img src="word.jpg" width="104" height="142" /> </body> </html> O/P:O/P:
  • 6. HTML Rules (Lines) :HTML Rules (Lines) : The <hr /> tag is used to create an horizontal rule (line). Example:Example: <html><body> <h3>Exnora</h3> <hr /> <h3>Safety Exnora</h3> </body></html> O/P :O/P : Exnora Safety Exnora
  • 7. HTML Comments :HTML Comments : Comments can be inserted in the HTML code to make more readable and understandable. Comments are ignored by the browser and are not displayed. SyntaxSyntax : <!-- some text → Example :Example : <html><body> <!--It will not be displayed--> <h3>Plant Trees </h3> </body></html> Plant Trees O/P :O/P :
  • 8. <html><body> <b>Confidence</b><br /> <big>Hardwork</big><br /> <i>Preseverance</i><br /> <code>Samsung CRT</code><br /> This is<sub> subscript</sub><br /> This is<sup> superscript</sup> </body></html> Some Formatting Tags are 1,b-Bold, 2.i-Italic, 3.code- Computer code,4.sub-Subscript & 5.sup-Superscript Implement it as a Exercise (Practical)
  • 9. TagsTags DescriptionDescription <center> Defines centered content <font> Defines HTML fonts <s> and <strike> Defines strikeout text <u> Defines underlined text AttributesAttributes DescriptionDescription Align Defines the alignment of text Bgcolor Defines the background color Color Defines the text color
  • 10. <html> <h1 style="text-align:center">NATURE</h1> <body style="background-color:yellow"> <p style="font-family:Purisa;color:red">Plant Tree</p> <p style="font-family:times;color:red">Save Our Generation</p> <p style="font-size:40">Value Our Environment</p> </body> </html> NATURE Plant Tree Save Our Generation Value Our Environment O/P :O/P :
  • 11.  Tables are defined with the <table> tag.  A table is divided into rows (with the <tr> tag),  Each row is divided into data cells (with the <td> tag). The letters td stands for "table data," which is the content of a data cell.  Headings in a table are defined with the <th> tag. <table border="1"> <tr> <td>row 1, cell 1</td> <td>row 1, cell 2</td> </tr> <tr> <td>row 2, cell 1</td> <td>row 2, cell 2</td></tr> </table> row1,cell1 row1,cell2 row2,cell1 row2,cell2
  • 12. 1.Table with a caption : <caption>My Caption</caption> 2.Table cells that span more than one row/column : <th colspan="2">Telephone</th> <th rowspan="2">Telephone:</th> 3.Cell padding : <table border="1" cellpadding="10"> 4.Cell spacing : <table border="1" cellspacing="10"> 5.Add a background color or a background image to a table : <table border="1" bgcolor="red">
  • 13. HTML supports ordered, unordered and definition lists. Ordered Lists :Ordered Lists :  An ordered list is also a list of items. The list items are marked with numbers.  An ordered list starts with the <ol> tag. Each list item starts with the <li> tag. Unordered Lists :Unordered Lists :  An unordered list is a list of items. The list items are marked with bullets (typically small black circles).  An unordered list starts with the <ul> tag. Each list item starts with the <li> tag.
  • 14. Definition Lists :Definition Lists :  A definition list is not a list of single items. It is a list of items (terms), with a description of each item (term).  A definition list starts with a <dl> tag (definition list).  Each term starts with a <dt> tag (definition term).  Each description starts with a <dd> tag (definition description). Unordered List :Unordered List :  ThinkPositve  Never Depressed  Keep Smiling Ordered List :Ordered List : 1.Fail 2.Work Hard 3.Win 4.Teach Definition List :Definition List : Success Fail First, Happy Smile Always
  • 15. HTML Forms are used to select different kinds of user input. A form is an area that can contain form elements. Form elements are elements that allow the user to enter information like, 1. text fields, 2. textarea fields, 3. drop-down menus, 4.radio buttons, 5. checkboxes, 6. Action Attribute and the Submit Button,etc.
  • 16. Text Fields:Text Fields: Text fields are used when you want the user to type letters, numbers, etc. in a form. Example :Example : <form> First name: <input type="text" name="firstname" /> <br /> Last name: <input type="text" name="lastname" /> </form> First name : Last name : OUTPUT :OUTPUT :
  • 17. Radio Buttons :Radio Buttons : <form> <input type="radio" name="sex" value="male" /> Male <br /> <input type="radio" name="sex" value="female" /> Female </form> Checkboxes :Checkboxes : <form> Bike: <input type="checkbox" name="vehicle" value="Bike"/> <br /> Car: <input type="checkbox" name="vehicle" value="Car"/><br /> </form> Male Female Bike Car
  • 18. Action Attribute and the Submit Button :  When the user clicks on the "Submit" button, the content of the form is sent to the server.  The form's action attribute defines the name of the file to send the content to.  It depends on PHP File. <form name="input" action="html_form_submit.asp" method="get"> Username:<input type="text" name="user"/> <input type="submit" value="Submit" /> </form> Submit Username :
  • 19.  A part of this page is formatted with two columns, like a newspaper page.  The trick is to use a table without borders, and maybe a little extra cell- padding.  No matter how much text you add to this page, it will stay inside its column borders.
  • 20. <table border="0" width="100%" cellpadding="10"> <tr> <td width="50%" valign="top"> This is the Time to save Our Earth to Our Future Generation.So everybody shoud be a Volunteer. </td> <td width="50%" valign="top"> For smooth relationship between to us & nature We should do some activities to Preserve our Earth. </td> </tr> </table> This is the Time to save Our Earth to Our Future Generation.So everybody shoud be a Volunteer. For smooth relationship between to us & nature We should do some activities to Preserve our Earth.
  • 21.  With frames, you can display more than one HTML document in the same browser window.  Each HTML document is called a frame, and each frame is independent of the others. The Frameset Tag * The <frameset> tag defines how to divide the window into frames * Each frameset defines a set of rows or columns * The values of the rows/columns indicate the amount of screen area each row/column will occupy
  • 22. <html> <frameset cols="30%,40%,30%"> <frame src="frame_a.htm"> <frame src="frame_b.htm"> <frame src="frame_c.htm"> </frameset> </html> <html> <frameset rows="30%,40%,30> <frame src="frame_a.htm"> <frame src="frame_b.htm"> <frame src="frame_c.htm"> </frameset> </html>