SlideShare a Scribd company logo
1 of 22
Download to read offline
H TM LH TM L

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)
IM P LE M E N TATIO NIM P LE M E N TATIO N
:W H E R E W E W R ITE C O D E :W H E R E W E W R ITE C O D E
1.Text Editor
1.Wordpad (In Windows OS)
2.Gedit Text Editor (Ubundu in LINUX)
2.FrontPage or Dreamweaver
W H E R E W E E X E C U TEW H E R E W E E X E C U TE :
1.Double Click that HTML File. (or)
2.Right click – Open With Internet Explorer
- 1S im p le C o d e - 1S im p le C o d e
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 :
Lin k Ta gLin k Ta g
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
Im a g e Ta gIm a g e Ta g
:H TM L Im a g e s :H TM L Im a g e s
HTML images are defined with the <img> tag.
:S y n t a x :S y n t a x <img src "123.jpg" width="104" height="142" />
:E x a m p le :E x a m p le <html>
<body>
<img src="word.jpg" width="104" height="142" />
</body>
</html>
O/P:O/P:
H TM L R U LE S
( ) :H TM L R u le s Lin e s( ) :H TM L R u le s Lin e s
The <hr /> tag is used to create an horizontal
rule (line).
:E x a m p le :E x a m p le<html><body>
<h3>Exnora</h3>
<hr />
<h3>Safety Exnora</h3>
</body></html>
O/P :O/P :
Exnora
Safety Exnora
H TM L C O M M E N TSH TM L C O M M E N TS
:H TM L C o m m e n t s :H TM L C o m m e n t s
Comments can be inserted in the HTML code to make
more readable and understandable. Comments are ignored by the browser
and are not displayed.
S y n t a xS y n t a x : <!-- some text →
:E x a m p le :E x a m p le <html><body>
<!--It will not be displayed-->
<h3>Plant Trees </h3>
</body></html>
Plant Trees
/ :O P/ :O P
H TM L TE X TH TM L TE X T
F O R M ATTIN GF O R M ATTIN G
<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-B o ld , 2.i-Italic, 3.code-
Computer code,4.sub-Subscript & 5.sup-Superscript
Implement it as a Exercise
(Practical)
H TM L S TYLEH TM L S TYLE
ATTR IB U TE SATTR IB U TE S
Ta g sTa g s D e s c r ip t io nD e s c r ip t io n
<center> Defines centered content
<font> Defines HTML fonts
<s> and <strike> Defines strikeout text
<u> Defines underlined text
A t t r ib u t e sA t t r ib u t e s D e s c r ip t io nD e s c r ip t io n
Align Defines the alignment of text
Bgcolor Defines the background color
S TYLE E X A M P LES TYLE E X A M P LE
<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 :
H TM L TA B LE SH TM L TA B LE S

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
TA B LE F E ATU R E STA B LE F E ATU R E S
1 . :Ta b le w it h a c a p t io n
<caption>My Caption</caption>
2 .Ta b le c e lls t h a t s p a n m o r e t h a n o n e
/ :r o w c o lu m n
<th colspan="2">Telephone</th>
<th rowspan="2">Telephone:</th>
3 . :C e ll p a d d in g
<table border="1" cellpadding="10">
4 . :C e ll s p a c in g
<table border="1" cellspacing="10">
5 .A d d a b a c k g r o u n d c o lo r o r a b a c k g r o u n d
H TM L LIS TSH TM L LIS TS
HTML supports ordered, unordered and definition lists.
:O r d e r e d Lis t s :O r d e r e d Lis t s

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.
:U n o r d e r e d Lis t s :U n o r d e r e d Lis t s

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.
:D e f in it io n Lis t s :D e f in it io n Lis t s

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).
U n o r d e r e dU n o r d e r e d
:Lis t :Lis t

ThinkPositve

Never Depressed

Keep Smiling
O r d e r e dO r d e r e d
:Lis t :Lis t
1.Fail
2.Work Hard
3.Win
4.Teach
D e f in it io nD e f in it io n
:Lis t :Lis t
Success
Fail First,
Happy
Smile Always
H TM L F O R M SH TM L F O R M S
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.
:Te x t F ie ld s :Te x t F ie ld s
Text fields are used when you want the user to type letters,
numbers, etc. in a form.
:E x a m p le :E x a m p le
<form>
First name: <input type="text" name="firstname" /> <br />
Last name: <input type="text" name="lastname" />
</form>
First name :
Last name :
:O U TP U T :O U TP U T
R A D IO & C H E C K B O XR A D IO & C H E C K B O X
:R a d io B u t t o n s :R a d io B u t t o n s
<form>
<input type="radio" name="sex" value="male" /> Male <br />
<input type="radio" name="sex" value="female" /> Female
</form>
:C h e c k b o x e s :C h e c k b o x e s
<form>
Bike: <input type="checkbox" name="vehicle" value="Bike"/> <br />
Car: <input type="checkbox" name="vehicle" value="Car"/><br />
</form>
Male
Female
Bike
Car
Form Action AttributeForm Action Attribute
:A c t io n A t t r ib u t e a n d t h e S u b m it B u t t o n

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 :
H TM L LAYO U TH TM L LAYO U T

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.
H TM L F R A M E SH TM L F R A M E S

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
VE R TIC A L & H O R IZ O N TA LVE R TIC A L & H O R IZ O N TA L
F R A M E S E TF R A M E S E T<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

Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style SheetsJerome Locson
 
Html Presentation Of Web Page Making
Html Presentation Of Web Page MakingHtml Presentation Of Web Page Making
Html Presentation Of Web Page MakingSandeep Supal
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmlvikasgaur31
 
The Basics of (X)HTML Tags
The Basics of (X)HTML TagsThe Basics of (X)HTML Tags
The Basics of (X)HTML TagsLearningNerd
 
LAMP_TRAINING_SESSION_3
LAMP_TRAINING_SESSION_3LAMP_TRAINING_SESSION_3
LAMP_TRAINING_SESSION_3umapst
 
Eye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyEye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyshabab shihan
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmlveena parihar
 
Exploring data models for heterogenous dialect data: the case of e​xplore.bre...
Exploring data models for heterogenous dialect data: the case of e​xplore.bre...Exploring data models for heterogenous dialect data: the case of e​xplore.bre...
Exploring data models for heterogenous dialect data: the case of e​xplore.bre...Jack Bowers
 

What's hot (20)

Markdown
MarkdownMarkdown
Markdown
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 
Html Presentation Of Web Page Making
Html Presentation Of Web Page MakingHtml Presentation Of Web Page Making
Html Presentation Of Web Page Making
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Html Table
Html TableHtml Table
Html Table
 
PHPTAL with CakePHP
PHPTAL with CakePHPPHPTAL with CakePHP
PHPTAL with CakePHP
 
The Basics of (X)HTML Tags
The Basics of (X)HTML TagsThe Basics of (X)HTML Tags
The Basics of (X)HTML Tags
 
HTML: Tables and Forms
HTML: Tables and FormsHTML: Tables and Forms
HTML: Tables and Forms
 
Html Ppt
Html PptHtml Ppt
Html Ppt
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
LAMP_TRAINING_SESSION_3
LAMP_TRAINING_SESSION_3LAMP_TRAINING_SESSION_3
LAMP_TRAINING_SESSION_3
 
Basics Of Html
Basics Of HtmlBasics Of Html
Basics Of Html
 
Table and Form HTML&CSS
Table and Form HTML&CSSTable and Form HTML&CSS
Table and Form HTML&CSS
 
Html intro
Html introHtml intro
Html intro
 
Eye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyEye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easily
 
Html ppt
Html pptHtml ppt
Html ppt
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Exploring data models for heterogenous dialect data: the case of e​xplore.bre...
Exploring data models for heterogenous dialect data: the case of e​xplore.bre...Exploring data models for heterogenous dialect data: the case of e​xplore.bre...
Exploring data models for heterogenous dialect data: the case of e​xplore.bre...
 
Html tag
Html tagHtml tag
Html tag
 

Similar to basic knowledge abot html

Similar to basic knowledge abot html (20)

HTML
HTMLHTML
HTML
 
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
 
CSUN 2020: CSS Display Properties Versus HTML Semantics
CSUN 2020: CSS Display Properties Versus HTML SemanticsCSUN 2020: CSS Display Properties Versus HTML Semantics
CSUN 2020: CSS Display Properties Versus HTML Semantics
 
HTML.ppt
HTML.pptHTML.ppt
HTML.ppt
 
HTML&CSS_notes.pdf
HTML&CSS_notes.pdfHTML&CSS_notes.pdf
HTML&CSS_notes.pdf
 
Html
HtmlHtml
Html
 
Caracteristicas Basicas De Htlm
Caracteristicas Basicas De HtlmCaracteristicas Basicas De Htlm
Caracteristicas Basicas De Htlm
 
Html bangla
Html banglaHtml bangla
Html bangla
 
Bangla HTML Tutorial
Bangla HTML TutorialBangla HTML Tutorial
Bangla HTML Tutorial
 
Getting into HTML
Getting into HTMLGetting into HTML
Getting into HTML
 
Html introduction Part-2
Html introduction Part-2Html introduction Part-2
Html introduction Part-2
 
Html
HtmlHtml
Html
 
HTML
HTMLHTML
HTML
 
Htmlppt
Htmlppt Htmlppt
Htmlppt
 
PPT-203105353-1.pdf
PPT-203105353-1.pdfPPT-203105353-1.pdf
PPT-203105353-1.pdf
 
HTML and ASP.NET
HTML and ASP.NETHTML and ASP.NET
HTML and ASP.NET
 
Web Developement Workshop (Oct 2009) Slides
Web Developement Workshop (Oct 2009) SlidesWeb Developement Workshop (Oct 2009) Slides
Web Developement Workshop (Oct 2009) Slides
 
Body Section in HTML - R.D.Sivakumar
Body Section in HTML - R.D.SivakumarBody Section in HTML - R.D.Sivakumar
Body Section in HTML - R.D.Sivakumar
 
HTML
HTML HTML
HTML
 

More from Ankit Dubey

Unit 1 android and it's tools quiz {mad cwipedia}
Unit 1 android and it's tools quiz {mad cwipedia}Unit 1 android and it's tools quiz {mad cwipedia}
Unit 1 android and it's tools quiz {mad cwipedia}Ankit Dubey
 
Ch5 cpu-scheduling
Ch5 cpu-schedulingCh5 cpu-scheduling
Ch5 cpu-schedulingAnkit Dubey
 
Ch2 system structure
Ch2 system structureCh2 system structure
Ch2 system structureAnkit Dubey
 
Ch1 introduction-to-os
Ch1 introduction-to-osCh1 introduction-to-os
Ch1 introduction-to-osAnkit Dubey
 
Mongodb mock test_ii
Mongodb mock test_iiMongodb mock test_ii
Mongodb mock test_iiAnkit Dubey
 
Android mock test_iii
Android mock test_iiiAndroid mock test_iii
Android mock test_iiiAnkit Dubey
 
Android mock test_ii
Android mock test_iiAndroid mock test_ii
Android mock test_iiAnkit Dubey
 
Ajp notes-chapter-06
Ajp notes-chapter-06Ajp notes-chapter-06
Ajp notes-chapter-06Ankit Dubey
 
Ajp notes-chapter-05
Ajp notes-chapter-05Ajp notes-chapter-05
Ajp notes-chapter-05Ankit Dubey
 
Ajp notes-chapter-04
Ajp notes-chapter-04Ajp notes-chapter-04
Ajp notes-chapter-04Ankit Dubey
 
Ajp notes-chapter-03
Ajp notes-chapter-03Ajp notes-chapter-03
Ajp notes-chapter-03Ankit Dubey
 

More from Ankit Dubey (20)

Unit 1 android and it's tools quiz {mad cwipedia}
Unit 1 android and it's tools quiz {mad cwipedia}Unit 1 android and it's tools quiz {mad cwipedia}
Unit 1 android and it's tools quiz {mad cwipedia}
 
Scheduling
Scheduling Scheduling
Scheduling
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Ch5 cpu-scheduling
Ch5 cpu-schedulingCh5 cpu-scheduling
Ch5 cpu-scheduling
 
Ch4 threads
Ch4 threadsCh4 threads
Ch4 threads
 
Ch3 processes
Ch3 processesCh3 processes
Ch3 processes
 
Ch2 system structure
Ch2 system structureCh2 system structure
Ch2 system structure
 
Ch1 introduction-to-os
Ch1 introduction-to-osCh1 introduction-to-os
Ch1 introduction-to-os
 
Android i
Android iAndroid i
Android i
 
Mongodb mock test_ii
Mongodb mock test_iiMongodb mock test_ii
Mongodb mock test_ii
 
Android mock test_iii
Android mock test_iiiAndroid mock test_iii
Android mock test_iii
 
Android mock test_ii
Android mock test_iiAndroid mock test_ii
Android mock test_ii
 
Ajp notes-chapter-06
Ajp notes-chapter-06Ajp notes-chapter-06
Ajp notes-chapter-06
 
Ajp notes-chapter-05
Ajp notes-chapter-05Ajp notes-chapter-05
Ajp notes-chapter-05
 
Ajp notes-chapter-04
Ajp notes-chapter-04Ajp notes-chapter-04
Ajp notes-chapter-04
 
Ajp notes-chapter-03
Ajp notes-chapter-03Ajp notes-chapter-03
Ajp notes-chapter-03
 

Recently uploaded

Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 

Recently uploaded (20)

Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 

basic knowledge abot html

  • 1. H TM LH TM L  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. IM P LE M E N TATIO NIM P LE M E N TATIO N :W H E R E W E W R ITE C O D E :W H E R E W E W R ITE C O D E 1.Text Editor 1.Wordpad (In Windows OS) 2.Gedit Text Editor (Ubundu in LINUX) 2.FrontPage or Dreamweaver W H E R E W E E X E C U TEW H E R E W E E X E C U TE : 1.Double Click that HTML File. (or) 2.Right click – Open With Internet Explorer
  • 3. - 1S im p le C o d e - 1S im p le C o d e 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. Lin k Ta gLin k Ta g 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. Im a g e Ta gIm a g e Ta g :H TM L Im a g e s :H TM L Im a g e s HTML images are defined with the <img> tag. :S y n t a x :S y n t a x <img src "123.jpg" width="104" height="142" /> :E x a m p le :E x a m p le <html> <body> <img src="word.jpg" width="104" height="142" /> </body> </html> O/P:O/P:
  • 6. H TM L R U LE S ( ) :H TM L R u le s Lin e s( ) :H TM L R u le s Lin e s The <hr /> tag is used to create an horizontal rule (line). :E x a m p le :E x a m p le<html><body> <h3>Exnora</h3> <hr /> <h3>Safety Exnora</h3> </body></html> O/P :O/P : Exnora Safety Exnora
  • 7. H TM L C O M M E N TSH TM L C O M M E N TS :H TM L C o m m e n t s :H TM L C o m m e n t s Comments can be inserted in the HTML code to make more readable and understandable. Comments are ignored by the browser and are not displayed. S y n t a xS y n t a x : <!-- some text → :E x a m p le :E x a m p le <html><body> <!--It will not be displayed--> <h3>Plant Trees </h3> </body></html> Plant Trees / :O P/ :O P
  • 8. H TM L TE X TH TM L TE X T F O R M ATTIN GF O R M ATTIN G <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-B o ld , 2.i-Italic, 3.code- Computer code,4.sub-Subscript & 5.sup-Superscript Implement it as a Exercise (Practical)
  • 9. H TM L S TYLEH TM L S TYLE ATTR IB U TE SATTR IB U TE S Ta g sTa g s D e s c r ip t io nD e s c r ip t io n <center> Defines centered content <font> Defines HTML fonts <s> and <strike> Defines strikeout text <u> Defines underlined text A t t r ib u t e sA t t r ib u t e s D e s c r ip t io nD e s c r ip t io n Align Defines the alignment of text Bgcolor Defines the background color
  • 10. S TYLE E X A M P LES TYLE E X A M P LE <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. H TM L TA B LE SH TM L TA B LE S  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. TA B LE F E ATU R E STA B LE F E ATU R E S 1 . :Ta b le w it h a c a p t io n <caption>My Caption</caption> 2 .Ta b le c e lls t h a t s p a n m o r e t h a n o n e / :r o w c o lu m n <th colspan="2">Telephone</th> <th rowspan="2">Telephone:</th> 3 . :C e ll p a d d in g <table border="1" cellpadding="10"> 4 . :C e ll s p a c in g <table border="1" cellspacing="10"> 5 .A d d a b a c k g r o u n d c o lo r o r a b a c k g r o u n d
  • 13. H TM L LIS TSH TM L LIS TS HTML supports ordered, unordered and definition lists. :O r d e r e d Lis t s :O r d e r e d Lis t s  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. :U n o r d e r e d Lis t s :U n o r d e r e d Lis t s  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. :D e f in it io n Lis t s :D e f in it io n Lis t s  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). U n o r d e r e dU n o r d e r e d :Lis t :Lis t  ThinkPositve  Never Depressed  Keep Smiling O r d e r e dO r d e r e d :Lis t :Lis t 1.Fail 2.Work Hard 3.Win 4.Teach D e f in it io nD e f in it io n :Lis t :Lis t Success Fail First, Happy Smile Always
  • 15. H TM L F O R M SH TM L F O R M S 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. :Te x t F ie ld s :Te x t F ie ld s Text fields are used when you want the user to type letters, numbers, etc. in a form. :E x a m p le :E x a m p le <form> First name: <input type="text" name="firstname" /> <br /> Last name: <input type="text" name="lastname" /> </form> First name : Last name : :O U TP U T :O U TP U T
  • 17. R A D IO & C H E C K B O XR A D IO & C H E C K B O X :R a d io B u t t o n s :R a d io B u t t o n s <form> <input type="radio" name="sex" value="male" /> Male <br /> <input type="radio" name="sex" value="female" /> Female </form> :C h e c k b o x e s :C h e c k b o x e s <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. Form Action AttributeForm Action Attribute :A c t io n A t t r ib u t e a n d t h e S u b m it B u t t o n  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. H TM L LAYO U TH TM L LAYO U T  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. H TM L F R A M E SH TM L F R A M E S  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. VE R TIC A L & H O R IZ O N TA LVE R TIC A L & H O R IZ O N TA L F R A M E S E TF R A M E S E T<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>