SlideShare a Scribd company logo
HTML
AN INTRODUCTION
TO WEB PAGE
PROGRAMMING
INTRODUCTION TO HTML
• With HTML you can create your own Web site.
• HTML stands for Hyper Text Markup Language.
• HTML is derived from a language SGML (Standard
Graphics Markup Language).
• The future of HTML is XML (extended Markup
Language).
• HTML is not a programming language, it is a Markup
Language.
• A markup language is a set of markup tags.
• HTML uses markup tags to describe web pages.
• HTML is not case sensitive language.
• HTML documents contain HTML tags and plain text.
HTML Elements and Tags
• A tag is always enclosed in angle bracket
<>like <HTML>
• HTML tags normally come in pairs like
<HTML> and </HTML> i.e.
Start tag = <HTML>
End tag =</HTML>
• Start and end tags are also called opening
tags and closing tags
HOW TO START
• Write html code in notepad.
• Save the file with (.Html)/(.Htm) extension.
• View the page in any web browser viz.
INTERNET EXPLORER, NETSCAPE
NAVIGATOR etc.
• The purpose of a web browser (like internet
explorer or Firefox) is to read html documents
and display them as web pages.
Code With HTML
<HTML>
<HEAD>
<TITLE>
MY FIRST PAGE
</TITLE>
</HEAD>
<BODY>
HTML
</BODY>
</HTML>
Explanation of these tags
• <HTML> - Describe HTML web page that is
to be viewed by a web browser.
• <HEAD> - This defines the header section
of the page.
• <TITLE> - This shows a caption in the title
bar of the page.
• <BODY> - This tag show contents of the
web page will be displayed.
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
Heading Element:->
• There are six heading elements
(<H1>,<H2>,<H3>,<H4>, <H5>,<H6>).
• All the six heading elements are container
tag and requires a closing tag.
• <h1> will print the largest heading
• <h6> will print the smallest heading
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
• HTML documents are divided into paragraphs.
• Paragraphs are defined with the <p> tag i.e.
<p>This is a paragraph</p>
<p>This is another paragraph</p>
<pre>This text is preformatted</pre>
Line Break & Horizontal
Line Tag
• if you want a line break or a new line without starting a new
paragraph Use the <br> tag.
• Defines a horizontal line use <hr>tag.
• <br> <hr> element are empty HTML element i.e. Global
Information Channel<hr>
Global Information <br> Channel
Text Formatting Tags
<b> Defines bold text
<big> Defines big text
<em> Defines emphasized text
<i> Defines italic text
<small> Defines small text
<strong> Defines strong text
<sub> Defines subscripted text
<super> Defines superscripted text
<ins> Defines inserted text
<del> Defines deleted text
<tt> Defines teletype text
<u> Defines underline text
<strike> 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
• This element is used to format the size,
typeface and color of the enclosed text.
• The commonly used fonts for web pages
are Arial, Comic Sans MS , Lucida Sans
Unicode, Arial Black, Courier New, Times
New Roman, Arial Narrow, Impact,
Verdana.
• The size attribute in font tag takes values
from 1 to 7.
Font Tag Code
<html>
<head><title> fonts</title></head>
<body>
<br><font color=“green" size="7" face="Arial"> HTML </font>
<br><font color=“green" size="6" face="Comic Sans MS "> HTML
</font>
<br><font color=“green" size="5" face="Lucida Sans Unicode">
HTML </font>
<br><font color=“green" size="4" face="Courier New">HTML</font>
<br><font color=“green" size="3" face="Times New Roman"> HTML
</font>
<br><font color=“green" size="2" face="Arial Black"> HTML </font>
<br><font color=“green" size="1" face="Impact"> HTML </font>
</body>
</html>
Result of Font Code
Background & Text Color Tag
• The attribute bgcolor is used for changing the back ground
color of the page.
<body bgcolor=“Green” >
• Text is use to change the color of the enclosed text.
<body text=“White”>
Text Alignment Tag
• It is use to alignment of the text.
1.Left alignment <align=“left”>
2.Right alignment <align=“right”>
3.Center alignment <align=“center”>
HTML List Tag
• Lists provide methods to show item or element
sequences in document content. There are
three main types of lists:->
1. Unordered lists:-unordered lists are bulleted.
2. Ordered lists:- Ordered lists are numbered.
3. Definition lists:- Used to create a definition list
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
• TYPE attribute to the <UL> tag to show
different bullets like:-
1.Disc
2.Circle
3.Square
<ul Type =“disc”>…..</ul>
• The attribute TYPE can also be used with
<LI> element.
Code & Result of the
Unordered List
<html><body>
<h4>Disc bullets list:</h4>
<ul type="disc"> <li>Jones</li>
<li>Smith</li>
<li>Hayes</li>
<li>Jackson</li></ul>
<h4>Circle bullets list:</h4>
<ul type="circle"> <li>Jones</li>
<li>Simth</li>
<li>Hayes</li>
<li>Jackson</li></ul>
<h4>Square bullets list:</h4>
<ul type="square"> <li>Jones</li>
<li>Smith</li>
<li>Hayes</li>
<li>Jackson</li></ul>
</body></html>
Ordered List
• The TYPE attribute has the following value like:-
1.TYPE = "1" (Arabic numbers)
2.TYPE = "a" (Lowercase alphanumeric)
3.TYPE = "A" (Uppercase alphanumeric)
4.TYPE = "i" (Lowercase Roman numbers)
5.TYPE = "I" (Uppercase Roman numbers)
• By default Arabic numbers are used
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="A"> <li>Jones</li>
<li>Smith</li>
<li>Hayes</li>
<li>Jackson</li></ol>
<h4>Roman numbers list:</h4>
<ol type="I"> <li>Jones</li>
<li>Smith</li>
<li>Hayes</li>
<li>Jackson</li></ol>
</body></html>
Image Tag
• To display an image on a page, you need to
use the src attribute.
• src stands for "source". The value of the src
attribute is the URL of the image you want to
display on your page.
• It is a empty tag.
<IMG SRC ="url">
<IMG SRC="picture.gif“>
<IMG SRC="picture.gif“ HEIGHT="30"
WIDTH="50">
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 "source".
Define "alternate text" 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="file:///C:/WINDOWS/Zapotec.bmp"
align="left" width="48" height="48"> </p>
<p><img src
="file:///C:/WINDOWS/Zapotec.bmp"
align="right" width="48" height="48"></p>
</body></html>
<HTML>
<body>
background="file:///C:/WINDOWS/Soap%20Bub
bles.bmp" text="white">
<br><br><br>
<h2> Background Image!</h2>
</BODY></HTML>
Code & Result of the Image
<html><body>
<p>An image
<img src="file:///C:/WINDOWS/Zapotec.bmp"
align="bottom" width="48" height="48"> in the text</p>
<p>An image
<img src ="file:///C:/WINDOWS/Zapotec.bmp"
align="middle" width="48" height="48"> in the text</p>
<p>An image
<img src ="file:///C:/WINDOWS/Zapotec.bmp"
align="top" width="48" height="48"> in the text</p>
<p>Note that bottom alignment is the default alignment</p>
<p><img src ="file:///C:/WINDOWS/Zapotec.bmp"
width="48" height="48">
An image before the text</p>
<p>An image after the text
<img src ="file:///C:/WINDOWS/Zapotec.bmp"
width="48" height="48"> </p>
</body></html>
Code & Result of the Image
<html><body>
<p><img src="file:///C:/WINDOWS/Zapotec.bmp"
align="bottom" width="20" height="20"> </p>
<p><img src ="file:///C:/WINDOWS/Zapotec.bmp"
align="middle" width="40" height="40"></p>
<p><img src ="file:///C:/WINDOWS/Zapotec.bmp"
align="top" width="60" height="60"></p>
<p><img src ="file:///C:/WINDOWS/Zapotec.bmp"
width="80" height="80"> </p>
<p><img src ="file:///C:/WINDOWS/Zapotec.bmp"
width="100" height="100"> </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="1">
<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="5">
<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="4">
<tr> <th>Name</th>
<th colspan="2">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="8">
<tr> <th>Name</th>
<td>Jones</td></tr><tr>
<th rowspan="2">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="1">
<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="2" bgcolor="green">
<tr> <td>Jones</td>
<td>Smith</td></tr>
<tr> <td>Hayes</td>
<td>Jackson</td></tr></table>
<h4>With cellpadding:</h4>
<table border="8"
cellpadding="10"
background="file:///C:/WINDOWS/FeatherTexture.b
mp">
<tr> <td>Jones</td>
<td>Smith</td></tr>
<tr> <td>Hayes</td>
<td>Jackson</td></tr></table>
</body></html>
Hyperlink Tag
• A hyperlink is a reference (an address) to a
resource on the web.
• Hyperlinks can point to any resource on the
web: an HTML page, an image, a sound file,
a movie, etc.
• The HTML anchor element <a>, is used to
define both hyperlinks and anchors.
<a href="url">Link text</a>
• The href attribute defines the link address.
<a href="http://www.globalinfochannel/">Visit
globalinfochannel!</a>
Result of Hyperlink Code
ANY
QUESTIONS??
THANK YOU
DONE BY:-
N.K.ROHIT KUMAR
M.TARUN PRASAD
OF‘8’ A
A.E.C.S-2

More Related Content

What's hot

CSS Basics
CSS BasicsCSS Basics
CSS Basics
WordPress Memphis
 
presentation in html,css,javascript
presentation in html,css,javascriptpresentation in html,css,javascript
presentation in html,css,javascript
FaysalAhammed5
 
Html basics
Html basicsHtml basics
Html basics
mcatahir947
 
Html forms
Html formsHtml forms
Html
HtmlHtml
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
Himanshu Pathak
 
Html ppt
Html pptHtml ppt
Html ppt
Ruchi Kumari
 
HTML5 - Insert images and Apply page backgrounds
HTML5 - Insert images and Apply page backgroundsHTML5 - Insert images and Apply page backgrounds
HTML5 - Insert images and Apply page backgrounds
Grayzon Gonzales, LPT
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
Sayan De
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
MayaLisa
 
Html text and formatting
Html text and formattingHtml text and formatting
Html text and formattingeShikshak
 
HTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifitsHTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifits
Pro Guide
 
Html introduction
Html introductionHtml introduction
Html introduction
Dalia Elbadry
 
HTML
HTMLHTML
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
Walid Ashraf
 
Html Presentation
Html PresentationHtml Presentation
Html Presentation
RahulSuri30
 
Presentation on HTML
Presentation on HTMLPresentation on HTML
Presentation on HTML
satvirsandhu9
 

What's hot (20)

Html ppt
Html pptHtml ppt
Html ppt
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
presentation in html,css,javascript
presentation in html,css,javascriptpresentation in html,css,javascript
presentation in html,css,javascript
 
Html basics
Html basicsHtml basics
Html basics
 
Html forms
Html formsHtml forms
Html forms
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Html ppt
Html pptHtml ppt
Html ppt
 
HTML5 - Insert images and Apply page backgrounds
HTML5 - Insert images and Apply page backgroundsHTML5 - Insert images and Apply page backgrounds
HTML5 - Insert images and Apply page backgrounds
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Html text and formatting
Html text and formattingHtml text and formatting
Html text and formatting
 
Html
HtmlHtml
Html
 
HTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifitsHTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifits
 
Html introduction
Html introductionHtml introduction
Html introduction
 
HTML
HTMLHTML
HTML
 
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
 
Html Presentation
Html PresentationHtml Presentation
Html Presentation
 
Presentation on HTML
Presentation on HTMLPresentation on HTML
Presentation on HTML
 

Viewers also liked

THE SIGNIFICANCE OF AGE THIRTY
THE SIGNIFICANCE OF AGE THIRTYTHE SIGNIFICANCE OF AGE THIRTY
THE SIGNIFICANCE OF AGE THIRTYOjo Damilola
 
Thiostrepton 1393-48-2-api
Thiostrepton 1393-48-2-apiThiostrepton 1393-48-2-api
Thiostrepton 1393-48-2-api
Thiostrepton-1393-48-2-api
 
Co-Edo と さくらクラブ
Co-Edo と さくらクラブCo-Edo と さくらクラブ
Co-Edo と さくらクラブ
Masaya Hayashi
 
The Evolving Relation between Star Formation Rates and Stellar Mass
The Evolving Relation between Star Formation Rates and Stellar Mass The Evolving Relation between Star Formation Rates and Stellar Mass
The Evolving Relation between Star Formation Rates and Stellar Mass
Russell Johnston
 
Dyplom całość Politechnika Warszawska1
Dyplom całość Politechnika Warszawska1Dyplom całość Politechnika Warszawska1
Dyplom całość Politechnika Warszawska1Maciej Wolski
 
140210107011
140210107011140210107011
140210107011bhavngr
 
My hobby (casey portelli)
My hobby (casey portelli)My hobby (casey portelli)
My hobby (casey portelli)
Casey Portelli
 
4 th 209-美國迪士尼報告
4 th 209-美國迪士尼報告4 th 209-美國迪士尼報告
4 th 209-美國迪士尼報告geography_backup
 
Pramocaine 140-65-8-api
Pramocaine 140-65-8-apiPramocaine 140-65-8-api
Pramocaine 140-65-8-api
Pramocaine-140-65-8-api
 
Integrating SEL in Early Childhood Education: Getting to the Heart of the Matter
Integrating SEL in Early Childhood Education: Getting to the Heart of the MatterIntegrating SEL in Early Childhood Education: Getting to the Heart of the Matter
Integrating SEL in Early Childhood Education: Getting to the Heart of the Matter
B2KSolutions
 
Bikeshedding
BikesheddingBikeshedding
Bikeshedding
Arthur Doler
 

Viewers also liked (19)

Mark cv updated
Mark cv updatedMark cv updated
Mark cv updated
 
THE SIGNIFICANCE OF AGE THIRTY
THE SIGNIFICANCE OF AGE THIRTYTHE SIGNIFICANCE OF AGE THIRTY
THE SIGNIFICANCE OF AGE THIRTY
 
Thiostrepton 1393-48-2-api
Thiostrepton 1393-48-2-apiThiostrepton 1393-48-2-api
Thiostrepton 1393-48-2-api
 
Co-Edo と さくらクラブ
Co-Edo と さくらクラブCo-Edo と さくらクラブ
Co-Edo と さくらクラブ
 
The Evolving Relation between Star Formation Rates and Stellar Mass
The Evolving Relation between Star Formation Rates and Stellar Mass The Evolving Relation between Star Formation Rates and Stellar Mass
The Evolving Relation between Star Formation Rates and Stellar Mass
 
NATURE OF HUMAN RESOURCE MANGEMENT
NATURE OF HUMAN RESOURCE MANGEMENTNATURE OF HUMAN RESOURCE MANGEMENT
NATURE OF HUMAN RESOURCE MANGEMENT
 
SCOPE OF HUMAN RESOURCE MANGEMENT
SCOPE OF HUMAN RESOURCE MANGEMENTSCOPE OF HUMAN RESOURCE MANGEMENT
SCOPE OF HUMAN RESOURCE MANGEMENT
 
Dyplom całość Politechnika Warszawska1
Dyplom całość Politechnika Warszawska1Dyplom całość Politechnika Warszawska1
Dyplom całość Politechnika Warszawska1
 
Resume 62015
Resume 62015Resume 62015
Resume 62015
 
140210107011
140210107011140210107011
140210107011
 
Termo evaluacion 2
Termo evaluacion 2Termo evaluacion 2
Termo evaluacion 2
 
Akshay Rakshit-Grasim
Akshay Rakshit-GrasimAkshay Rakshit-Grasim
Akshay Rakshit-Grasim
 
My hobby (casey portelli)
My hobby (casey portelli)My hobby (casey portelli)
My hobby (casey portelli)
 
RESUME 2015
RESUME 2015RESUME 2015
RESUME 2015
 
4 th 209-美國迪士尼報告
4 th 209-美國迪士尼報告4 th 209-美國迪士尼報告
4 th 209-美國迪士尼報告
 
Pramocaine 140-65-8-api
Pramocaine 140-65-8-apiPramocaine 140-65-8-api
Pramocaine 140-65-8-api
 
Integrating SEL in Early Childhood Education: Getting to the Heart of the Matter
Integrating SEL in Early Childhood Education: Getting to the Heart of the MatterIntegrating SEL in Early Childhood Education: Getting to the Heart of the Matter
Integrating SEL in Early Childhood Education: Getting to the Heart of the Matter
 
Bikeshedding
BikesheddingBikeshedding
Bikeshedding
 
Digital Signature
Digital SignatureDigital Signature
Digital Signature
 

Similar to Html

Basics ogHtml
Basics ogHtml Basics ogHtml
Basics ogHtml
rohitkumar2468
 
Presentation of Hyper Text Markup Language
Presentation of Hyper Text Markup LanguagePresentation of Hyper Text Markup Language
Presentation of Hyper Text Markup Language
JohnLagman3
 
html-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdfhtml-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdf
JohnLagman3
 
Introduction To HTML
Introduction To HTMLIntroduction To HTML
Introduction To HTML
Mehul Patel
 
Html cia
Html ciaHtml cia
Html -2
Html -2Html -2
VAIBHAV JAIN WEB TECHNOLOGY.pptx
VAIBHAV JAIN WEB TECHNOLOGY.pptxVAIBHAV JAIN WEB TECHNOLOGY.pptx
VAIBHAV JAIN WEB TECHNOLOGY.pptx
VAIBHAV481101
 
Aryan kumar
Aryan kumarAryan kumar
Aryan kumar
Manoj Kumar
 
Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2
mmvidanes29
 
Html (1)
Html (1)Html (1)
Html (1)
smitha273566
 
html
htmlhtml
html
tumetr1
 
Web fundamental concept and tags
Web fundamental concept and tags Web fundamental concept and tags
Web fundamental concept and tags
shameen khan
 
Html1
Html1Html1
Html1
learnt
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
veena parihar
 
HTML PPT.pdf
HTML PPT.pdfHTML PPT.pdf
HTML PPT.pdf
sunnyGupta325328
 
HTML Coding
HTML CodingHTML Coding
HTML Coding
selcukca84
 
introduction to html.ppt
introduction to html.pptintroduction to html.ppt
introduction to html.ppt
ShubhamIngale28
 
HTML Basics
HTML BasicsHTML Basics
HTML Basics
PumoTechnovation
 
Computer language - HTML tags
Computer language - HTML tagsComputer language - HTML tags
Computer language - HTML tags
Dr. I. Uma Maheswari Maheswari
 

Similar to Html (20)

Basics ogHtml
Basics ogHtml Basics ogHtml
Basics ogHtml
 
Html
HtmlHtml
Html
 
Presentation of Hyper Text Markup Language
Presentation of Hyper Text Markup LanguagePresentation of Hyper Text Markup Language
Presentation of Hyper Text Markup Language
 
html-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdfhtml-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdf
 
Introduction To HTML
Introduction To HTMLIntroduction To HTML
Introduction To HTML
 
Html cia
Html ciaHtml cia
Html cia
 
Html -2
Html -2Html -2
Html -2
 
VAIBHAV JAIN WEB TECHNOLOGY.pptx
VAIBHAV JAIN WEB TECHNOLOGY.pptxVAIBHAV JAIN WEB TECHNOLOGY.pptx
VAIBHAV JAIN WEB TECHNOLOGY.pptx
 
Aryan kumar
Aryan kumarAryan kumar
Aryan kumar
 
Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2
 
Html (1)
Html (1)Html (1)
Html (1)
 
html
htmlhtml
html
 
Web fundamental concept and tags
Web fundamental concept and tags Web fundamental concept and tags
Web fundamental concept and tags
 
Html1
Html1Html1
Html1
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
HTML PPT.pdf
HTML PPT.pdfHTML PPT.pdf
HTML PPT.pdf
 
HTML Coding
HTML CodingHTML Coding
HTML Coding
 
introduction to html.ppt
introduction to html.pptintroduction to html.ppt
introduction to html.ppt
 
HTML Basics
HTML BasicsHTML Basics
HTML Basics
 
Computer language - HTML tags
Computer language - HTML tagsComputer language - HTML tags
Computer language - HTML tags
 

Recently uploaded

TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
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
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
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
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
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
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 

Recently uploaded (20)

TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
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
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
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
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 

Html

  • 1. HTML AN INTRODUCTION TO WEB PAGE PROGRAMMING
  • 2. INTRODUCTION TO HTML • With HTML you can create your own Web site. • HTML stands for Hyper Text Markup Language. • HTML is derived from a language SGML (Standard Graphics Markup Language). • The future of HTML is XML (extended Markup Language). • HTML is not a programming language, it is a Markup Language. • A markup language is a set of markup tags. • HTML uses markup tags to describe web pages. • HTML is not case sensitive language. • HTML documents contain HTML tags and plain text.
  • 3. HTML Elements and Tags • A tag is always enclosed in angle bracket <>like <HTML> • HTML tags normally come in pairs like <HTML> and </HTML> i.e. Start tag = <HTML> End tag =</HTML> • Start and end tags are also called opening tags and closing tags
  • 4. HOW TO START • Write html code in notepad. • Save the file with (.Html)/(.Htm) extension. • View the page in any web browser viz. INTERNET EXPLORER, NETSCAPE NAVIGATOR etc. • The purpose of a web browser (like internet explorer or Firefox) is to read html documents and display them as web pages.
  • 5. Code With HTML <HTML> <HEAD> <TITLE> MY FIRST PAGE </TITLE> </HEAD> <BODY> HTML </BODY> </HTML>
  • 6. Explanation of these tags • <HTML> - Describe HTML web page that is to be viewed by a web browser. • <HEAD> - This defines the header section of the page. • <TITLE> - This shows a caption in the title bar of the page. • <BODY> - This tag show contents of the web page will be displayed.
  • 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. Text Formatting Tags Heading Element:-> • There are six heading elements (<H1>,<H2>,<H3>,<H4>, <H5>,<H6>). • All the six heading elements are container tag and requires a closing tag. • <h1> will print the largest heading • <h6> will print the smallest heading
  • 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. HTML Paragraph Tag • HTML documents are divided into paragraphs. • Paragraphs are defined with the <p> tag i.e. <p>This is a paragraph</p> <p>This is another paragraph</p> <pre>This text is preformatted</pre>
  • 12. Line Break & Horizontal Line Tag • if you want a line break or a new line without starting a new paragraph Use the <br> tag. • Defines a horizontal line use <hr>tag. • <br> <hr> element are empty HTML element i.e. Global Information Channel<hr> Global Information <br> Channel
  • 13. Text Formatting Tags <b> Defines bold text <big> Defines big text <em> Defines emphasized text <i> Defines italic text <small> Defines small text <strong> Defines strong text <sub> Defines subscripted text <super> Defines superscripted text <ins> Defines inserted text <del> Defines deleted text <tt> Defines teletype text <u> Defines underline text <strike> 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. Font Tag • This element is used to format the size, typeface and color of the enclosed text. • The commonly used fonts for web pages are Arial, Comic Sans MS , Lucida Sans Unicode, Arial Black, Courier New, Times New Roman, Arial Narrow, Impact, Verdana. • The size attribute in font tag takes values from 1 to 7.
  • 17. Font Tag Code <html> <head><title> fonts</title></head> <body> <br><font color=“green" size="7" face="Arial"> HTML </font> <br><font color=“green" size="6" face="Comic Sans MS "> HTML </font> <br><font color=“green" size="5" face="Lucida Sans Unicode"> HTML </font> <br><font color=“green" size="4" face="Courier New">HTML</font> <br><font color=“green" size="3" face="Times New Roman"> HTML </font> <br><font color=“green" size="2" face="Arial Black"> HTML </font> <br><font color=“green" size="1" face="Impact"> HTML </font> </body> </html>
  • 19. Background & Text Color Tag • The attribute bgcolor is used for changing the back ground color of the page. <body bgcolor=“Green” > • Text is use to change the color of the enclosed text. <body text=“White”>
  • 20. Text Alignment Tag • It is use to alignment of the text. 1.Left alignment <align=“left”> 2.Right alignment <align=“right”> 3.Center alignment <align=“center”>
  • 21. HTML List Tag • Lists provide methods to show item or element sequences in document content. There are three main types of lists:-> 1. Unordered lists:-unordered lists are bulleted. 2. Ordered lists:- Ordered lists are numbered. 3. Definition lists:- Used to create a definition list
  • 22. 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
  • 23. Unordered List • TYPE attribute to the <UL> tag to show different bullets like:- 1.Disc 2.Circle 3.Square <ul Type =“disc”>…..</ul> • The attribute TYPE can also be used with <LI> element.
  • 24. Code & Result of the Unordered List <html><body> <h4>Disc bullets list:</h4> <ul type="disc"> <li>Jones</li> <li>Smith</li> <li>Hayes</li> <li>Jackson</li></ul> <h4>Circle bullets list:</h4> <ul type="circle"> <li>Jones</li> <li>Simth</li> <li>Hayes</li> <li>Jackson</li></ul> <h4>Square bullets list:</h4> <ul type="square"> <li>Jones</li> <li>Smith</li> <li>Hayes</li> <li>Jackson</li></ul> </body></html>
  • 25. Ordered List • The TYPE attribute has the following value like:- 1.TYPE = "1" (Arabic numbers) 2.TYPE = "a" (Lowercase alphanumeric) 3.TYPE = "A" (Uppercase alphanumeric) 4.TYPE = "i" (Lowercase Roman numbers) 5.TYPE = "I" (Uppercase Roman numbers) • By default Arabic numbers are used
  • 26. 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="A"> <li>Jones</li> <li>Smith</li> <li>Hayes</li> <li>Jackson</li></ol> <h4>Roman numbers list:</h4> <ol type="I"> <li>Jones</li> <li>Smith</li> <li>Hayes</li> <li>Jackson</li></ol> </body></html>
  • 27. Image Tag • To display an image on a page, you need to use the src attribute. • src stands for "source". The value of the src attribute is the URL of the image you want to display on your page. • It is a empty tag. <IMG SRC ="url"> <IMG SRC="picture.gif“> <IMG SRC="picture.gif“ HEIGHT="30" WIDTH="50">
  • 28. 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 "source". Define "alternate text" 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
  • 29. Code & Result of the Image <html><body> <p><img src="file:///C:/WINDOWS/Zapotec.bmp" align="left" width="48" height="48"> </p> <p><img src ="file:///C:/WINDOWS/Zapotec.bmp" align="right" width="48" height="48"></p> </body></html> <HTML> <body> background="file:///C:/WINDOWS/Soap%20Bub bles.bmp" text="white"> <br><br><br> <h2> Background Image!</h2> </BODY></HTML>
  • 30. Code & Result of the Image <html><body> <p>An image <img src="file:///C:/WINDOWS/Zapotec.bmp" align="bottom" width="48" height="48"> in the text</p> <p>An image <img src ="file:///C:/WINDOWS/Zapotec.bmp" align="middle" width="48" height="48"> in the text</p> <p>An image <img src ="file:///C:/WINDOWS/Zapotec.bmp" align="top" width="48" height="48"> in the text</p> <p>Note that bottom alignment is the default alignment</p> <p><img src ="file:///C:/WINDOWS/Zapotec.bmp" width="48" height="48"> An image before the text</p> <p>An image after the text <img src ="file:///C:/WINDOWS/Zapotec.bmp" width="48" height="48"> </p> </body></html>
  • 31. Code & Result of the Image <html><body> <p><img src="file:///C:/WINDOWS/Zapotec.bmp" align="bottom" width="20" height="20"> </p> <p><img src ="file:///C:/WINDOWS/Zapotec.bmp" align="middle" width="40" height="40"></p> <p><img src ="file:///C:/WINDOWS/Zapotec.bmp" align="top" width="60" height="60"></p> <p><img src ="file:///C:/WINDOWS/Zapotec.bmp" width="80" height="80"> </p> <p><img src ="file:///C:/WINDOWS/Zapotec.bmp" width="100" height="100"> </p> </body></html>
  • 32. 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
  • 33. 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>
  • 34. Table Code with Border & Header <html><body> <h4>Horizontal Header:</h4> <table border="1"> <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="5"> <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>
  • 35. Table Code with Colspan & Rowspan <html><body> <h4>Cell that spans two columns:</h4> <table border="4"> <tr> <th>Name</th> <th colspan="2">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="8"> <tr> <th>Name</th> <td>Jones</td></tr><tr> <th rowspan="2">Loan No</th> <td>L-1</td></tr><tr> <td>L-2</td></tr></table> </body></html>
  • 36. Table Code with Caption & Colspacing <html> <body> <table border="1"> <caption>My Caption</caption> <tr> <td>Milk</td> <td>Tea</td> </tr> <tr> <td></td> <td>Coffee</td> </tr> </table> </body> </html>
  • 37. Cellpadding,Image & Backcolor Code <html><body> <h3>Without cellpadding:</h3> <table border="2" bgcolor="green"> <tr> <td>Jones</td> <td>Smith</td></tr> <tr> <td>Hayes</td> <td>Jackson</td></tr></table> <h4>With cellpadding:</h4> <table border="8" cellpadding="10" background="file:///C:/WINDOWS/FeatherTexture.b mp"> <tr> <td>Jones</td> <td>Smith</td></tr> <tr> <td>Hayes</td> <td>Jackson</td></tr></table> </body></html>
  • 38. Hyperlink Tag • A hyperlink is a reference (an address) to a resource on the web. • Hyperlinks can point to any resource on the web: an HTML page, an image, a sound file, a movie, etc. • The HTML anchor element <a>, is used to define both hyperlinks and anchors. <a href="url">Link text</a> • The href attribute defines the link address. <a href="http://www.globalinfochannel/">Visit globalinfochannel!</a>
  • 41. THANK YOU DONE BY:- N.K.ROHIT KUMAR M.TARUN PRASAD OF‘8’ A A.E.C.S-2