SlideShare ist ein Scribd-Unternehmen logo
1 von 45
 HTML is a language for describing web pages.
 HTML stands for Hyper Text Markup Language
 HTML is a markup language
 A markup language is a set of markup tags
 The tags describe document content
 HTML documents contain HTML tags and plain text
 HTML documents are also called web pages
HTML markup tags are usually called HTML tags
 HTML tags are keywords (tag names)
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, the second
tag is the end tag
 The end tag is written like the start tag, with
a forward slash before the tag name
 Start and end tags are also called opening
tags and closing tags
 HTML tags" and "HTML elements" are
often used to describe the same thing.
 But strictly speaking, an HTML element is
everything between the start tag and
the end tag, including the tags:
<tagname>content</tagname>
<p>This is a paragraph.</p>
 The purpose of a web browser (such as
Google Chrome, Internet Explorer,
Firefox, Safari) is to read HTML
documents and display them as web
pages.
 The browser does not display the HTML
tags, but uses the tags to determine how
the content of the HTML page is to be
presented/displayed to the user:
 Below is a visualization of an HTML page
structure:
 Since the early days of the web, there
have been many versions of HTML:
Version Year
HTML 1991
HTML+ 1993
HTML 2.0 1995
HTML 3.2 1997
HTML 4.01 1999
XHTML 1.0 2000
HTML5 2012
XHTML5 2013
 The <!DOCTYPE> declaration helps the
browser to display a web page correctly.
 There are many different documents on
the web, and a browser can only display
an HTML page 100% correctly if it knows
the HTML type and version used.
 HTML5
<!DOCTYPE html>
 HTML 4.01
<!DOCTYPE HTML PUBLIC "-//W3C//DTD
HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
 XHTML 1.0
<!DOCTYPE html PUBLIC "-//W3C//DTD
XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml
1-transitional.dtd">
HTML can be edited by using a
professional HTML editor like:
 Adobe Dreamweaver
 Microsoft Expression Web
However, for learning HTML we
recommend a text editor like Notepad
(PC) or TextEdit (Mac). We believe using
a simple text editor is a good way to
learn HTML.
 Step 1: Start Notepad
 To start Notepad go to:
 Start
All Programs
Accessories
Notepad

 Step 2: Edit Your HTML with Notepad
 Type your HTML code into your Notepad:
 Save as and Run
HTML headings are defined with the <h1>
to <h6> tags.
<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
 HTML paragraphs are defined with the
<p> tag.
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
 HTML links are defined with the <a> tag.
<a href="http://www.w3schools.com">This
is a link</a>
 HTML images are defined with the <img>
tag.
<img src="w3schools.jpg" width="104"
height="142">
 An HTML element is everything from the start
tag to the end tag:
 * The start tag is often called the opening tag.
The end tag is often called the closing tag.
Start tag * Element content End tag *
<p> This is a paragraph </p>
<a
href="default.htm">
This is a link </a>
<br>
 An HTML element starts with a start tag /
opening tag
 An HTML element ends with an end tag /
closing tag
 The element content is everything between
the start and the end tag
 Some HTML elements have empty content
 Empty elements are closed in the start tag
 Most HTML elements can have attributes
 HTML elements can have attributes
 Attributes provide additional
information about an element
 Attributes are always specified in the start
tag
 EX :
HTML links are defined with the <a> tag. The
link address is specified in the href attribute:
 <a href="http://www.w3schools.com">This is
a link</a>
 Below is a list of some attributes that can
be used on any HTML element:
 The <head> element is a container for all
the head elements. Elements inside
<head> can include scripts, instruct the
browser where to find style sheets,
provide meta information, and more.
 The following tags can be added to the
head section: <title>, <style>, <meta>,
<link>, <script>, <noscript>, and <base>.
 The <title> tag defines the title of the
document.
 The <title> element is required in all
HTML/XHTML documents.
The <title> element:
 defines a title in the browser toolbar
 provides a title for the page when it is
added to favorites
 displays a title for the page in search-
engine results
 <!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
The content of the document......
</body>
</html>
 The <link> tag defines the relationship
between a document and an external
resource.
 The <link> tag is most used to link to style
sheets:
 <head>
<link rel="stylesheet" type="text/css"
href="mystyle.css">
</head>
 The <style> tag is used to define style
information for an HTML document.
 Inside the <style> element you specify how
HTML elements should render in a browser:
 <head>
<style type="text/css">
body {background-color:yellow;}
p {color:blue;}
</style>
</head>
 CSS (Cascading Style Sheets) is used to style
HTML elements.
 CSS was introduced together with HTML 4, to
provide a better way to style HTML elements.
CSS can be added to HTML in the following ways:
 Inline - using the style attribute in HTML elements
 Internal - using the <style> element in the
<head> section
 External - using an external CSS file
 EX : <p style="color:blue;margin-
left:20px;">This is a paragraph.</p>
 <body style="background-color:yellow;">
<h2 style="background-color:red;">This is
a heading</h2>
<p style="background-color:green;">This
is a paragraph.</p>
</body>
 An internal style sheet can be used if one
single document has a unique style.
Internal styles are defined in the <head>
section of an HTML page, by using the
<style> tag, like this:
 <head>
<style type="text/css">
body {background-color:yellow;}
p {color:blue;}
</style>
</head>
 An external style sheet is ideal when the style is
applied to many pages. With an external style
sheet, you can change the look of an entire
Web site by changing one file. Each page
must link to the style sheet using the <link> tag.
The <link> tag goes inside the <head> section:
 <head>
<link rel="stylesheet" type="text/css"
href="mystyle.css">
</head>
 Tables are defined with the <table> tag.
 A table is divided into rows (with the <tr>
tag), and each row is divided into data
cells (with the <td> tag). td stands for "table
data," and holds the content of a data cell.
A <td> tag can contain text, links, images,
lists, forms, other tables, etc.
 Let's start with the semantic HTML code
required to render a basic table
 <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>
<caption></caption>:
The <caption> element allows you to
give the table data a caption. Most
browsers will center the caption and
render it the same width as the table by
default.
 The <th> element delineates the content
between the tag as the table head titles for
each table section, which can be a
column, a row or a group of cells. This is
useful not just to help semantically describe
what the function of this content is, but it
also helps render it more accurately in a
variety of browsers and devices.
 HTML Unordered Lists
 An unordered list starts with the <ul> tag.
Each list item starts with the <li> tag.
 The list items are marked with bullets
(typically small black circles).
 <ul>
<li>Coffee</li>
<li>Milk</li>
</ul>
 An ordered list starts with the <ol> tag.
Each list item starts with the <li> tag.
 The list items are marked with numbers.
<ol>
<li>Coffee</li>
<li>Milk</li>
</ol>
Html introduction
Html introduction

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
vikasgaur31
 

Was ist angesagt? (20)

HTML
HTMLHTML
HTML
 
Css ppt
Css pptCss ppt
Css ppt
 
html-css
html-csshtml-css
html-css
 
Web html table tags
Web html  table tagsWeb html  table tags
Web html table tags
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Css Ppt
Css PptCss Ppt
Css Ppt
 
HTML: Tables and Forms
HTML: Tables and FormsHTML: Tables and Forms
HTML: Tables and Forms
 
How Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) WorksHow Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) Works
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginners
 
Html and css
Html and cssHtml and css
Html and css
 
Html
HtmlHtml
Html
 
Html,javascript & css
Html,javascript & cssHtml,javascript & css
Html,javascript & css
 
Html form tag
Html form tagHtml form tag
Html form tag
 
Learn html Basics
Learn html BasicsLearn html Basics
Learn html Basics
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Html ppt
Html pptHtml ppt
Html ppt
 
Html presentation
Html presentationHtml presentation
Html presentation
 
Html Ppt
Html PptHtml Ppt
Html Ppt
 
HTML
HTMLHTML
HTML
 

Andere mochten auch

Mission vishvas-resume template-16
Mission vishvas-resume template-16Mission vishvas-resume template-16
Mission vishvas-resume template-16
mission_vishvas
 
Cmmaao pmi-lessons learned v1b
Cmmaao pmi-lessons learned v1bCmmaao pmi-lessons learned v1b
Cmmaao pmi-lessons learned v1b
mission_vishvas
 
Wpf architecture
Wpf architectureWpf architecture
Wpf architecture
lostseeker
 
Pmi pmp-resume template-18-cmmaao-pmi
Pmi pmp-resume template-18-cmmaao-pmiPmi pmp-resume template-18-cmmaao-pmi
Pmi pmp-resume template-18-cmmaao-pmi
mission_vishvas
 
Cmmaao minicharter-pmi-pmp
Cmmaao minicharter-pmi-pmpCmmaao minicharter-pmi-pmp
Cmmaao minicharter-pmi-pmp
mission_vishvas
 
Pmi pmp-resume template-5
Pmi pmp-resume template-5Pmi pmp-resume template-5
Pmi pmp-resume template-5
mission_vishvas
 
Vishvas resume template-5
Vishvas resume template-5Vishvas resume template-5
Vishvas resume template-5
mission_vishvas
 
Cmmaao resource-loading-pmi-pmp
Cmmaao resource-loading-pmi-pmpCmmaao resource-loading-pmi-pmp
Cmmaao resource-loading-pmi-pmp
mission_vishvas
 
Pmi pmbok-resume template-5
Pmi pmbok-resume template-5Pmi pmbok-resume template-5
Pmi pmbok-resume template-5
mission_vishvas
 
Vishvas resume template-10
Vishvas resume template-10Vishvas resume template-10
Vishvas resume template-10
mission_vishvas
 
Cmmaao stoplight-pmi-pmp
Cmmaao stoplight-pmi-pmpCmmaao stoplight-pmi-pmp
Cmmaao stoplight-pmi-pmp
mission_vishvas
 
Pmi pmp-resume template-10
Pmi pmp-resume template-10Pmi pmp-resume template-10
Pmi pmp-resume template-10
mission_vishvas
 
Mission vishvas-resume template-7
Mission vishvas-resume template-7Mission vishvas-resume template-7
Mission vishvas-resume template-7
mission_vishvas
 
Cmmaao pmi-resume template-3
Cmmaao pmi-resume template-3Cmmaao pmi-resume template-3
Cmmaao pmi-resume template-3
mission_vishvas
 
Pmi pmbok-resume template-18
Pmi pmbok-resume template-18Pmi pmbok-resume template-18
Pmi pmbok-resume template-18
mission_vishvas
 

Andere mochten auch (20)

Rochester college warriors hockey
Rochester college warriors hockeyRochester college warriors hockey
Rochester college warriors hockey
 
Mission vishvas-resume template-16
Mission vishvas-resume template-16Mission vishvas-resume template-16
Mission vishvas-resume template-16
 
Cmmaao pmi-lessons learned v1b
Cmmaao pmi-lessons learned v1bCmmaao pmi-lessons learned v1b
Cmmaao pmi-lessons learned v1b
 
Cmmaao cba-pmi-pmp
Cmmaao cba-pmi-pmpCmmaao cba-pmi-pmp
Cmmaao cba-pmi-pmp
 
Wpf architecture
Wpf architectureWpf architecture
Wpf architecture
 
Pmi pmp-resume template-18-cmmaao-pmi
Pmi pmp-resume template-18-cmmaao-pmiPmi pmp-resume template-18-cmmaao-pmi
Pmi pmp-resume template-18-cmmaao-pmi
 
Key problems of allocation of education responsibilities
Key problems of allocation of education responsibilitiesKey problems of allocation of education responsibilities
Key problems of allocation of education responsibilities
 
Cmmaao minicharter-pmi-pmp
Cmmaao minicharter-pmi-pmpCmmaao minicharter-pmi-pmp
Cmmaao minicharter-pmi-pmp
 
Pmi pmp-resume template-5
Pmi pmp-resume template-5Pmi pmp-resume template-5
Pmi pmp-resume template-5
 
Vishvas resume template-5
Vishvas resume template-5Vishvas resume template-5
Vishvas resume template-5
 
Cmmaao resource-loading-pmi-pmp
Cmmaao resource-loading-pmi-pmpCmmaao resource-loading-pmi-pmp
Cmmaao resource-loading-pmi-pmp
 
Yesus dan Muhammad
Yesus dan MuhammadYesus dan Muhammad
Yesus dan Muhammad
 
Pmi pmbok-resume template-5
Pmi pmbok-resume template-5Pmi pmbok-resume template-5
Pmi pmbok-resume template-5
 
Vishvas resume template-10
Vishvas resume template-10Vishvas resume template-10
Vishvas resume template-10
 
Cmmaao stoplight-pmi-pmp
Cmmaao stoplight-pmi-pmpCmmaao stoplight-pmi-pmp
Cmmaao stoplight-pmi-pmp
 
Pmi pmp-resume template-10
Pmi pmp-resume template-10Pmi pmp-resume template-10
Pmi pmp-resume template-10
 
Mission vishvas-resume template-7
Mission vishvas-resume template-7Mission vishvas-resume template-7
Mission vishvas-resume template-7
 
Cmmaao pmi-resume template-3
Cmmaao pmi-resume template-3Cmmaao pmi-resume template-3
Cmmaao pmi-resume template-3
 
501 525 part1
501 525 part1501 525 part1
501 525 part1
 
Pmi pmbok-resume template-18
Pmi pmbok-resume template-18Pmi pmbok-resume template-18
Pmi pmbok-resume template-18
 

Ähnlich wie Html introduction

Html project
Html projectHtml project
Html project
arsh7511
 

Ähnlich wie Html introduction (20)

Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Html tutorials by www.dmdiploma.com
Html tutorials by www.dmdiploma.comHtml tutorials by www.dmdiploma.com
Html tutorials by www.dmdiploma.com
 
Html 1
Html 1Html 1
Html 1
 
Html basics
Html basicsHtml basics
Html basics
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
 
Html
HtmlHtml
Html
 
Html 5
Html 5Html 5
Html 5
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
 
About html
About htmlAbout html
About html
 
Html project
Html projectHtml project
Html project
 
Html5 css3
Html5 css3Html5 css3
Html5 css3
 
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
 
HTML guide for beginners
HTML guide for beginnersHTML guide for beginners
HTML guide for beginners
 
Html2
Html2Html2
Html2
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Html basics
Html basicsHtml basics
Html basics
 
Html1
Html1Html1
Html1
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
 
html.pdf
html.pdfhtml.pdf
html.pdf
 
INTRODUCTION FOR HTML
INTRODUCTION  FOR HTML INTRODUCTION  FOR HTML
INTRODUCTION FOR HTML
 

Kürzlich hochgeladen

Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman MuscatAbortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion pills in Kuwait Cytotec pills in Kuwait
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
How to Build a Simple Shopify Website
How to Build a Simple Shopify WebsiteHow to Build a Simple Shopify Website
How to Build a Simple Shopify Website
mark11275
 
➥🔝 7737669865 🔝▻ jhansi Call-girls in Women Seeking Men 🔝jhansi🔝 Escorts S...
➥🔝 7737669865 🔝▻ jhansi Call-girls in Women Seeking Men  🔝jhansi🔝   Escorts S...➥🔝 7737669865 🔝▻ jhansi Call-girls in Women Seeking Men  🔝jhansi🔝   Escorts S...
➥🔝 7737669865 🔝▻ jhansi Call-girls in Women Seeking Men 🔝jhansi🔝 Escorts S...
amitlee9823
 
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Anamika Escorts Service Darbhanga ❣️ 7014168258 ❣️ High Cost Unlimited Hard ...
Anamika Escorts Service Darbhanga ❣️ 7014168258 ❣️ High Cost Unlimited Hard  ...Anamika Escorts Service Darbhanga ❣️ 7014168258 ❣️ High Cost Unlimited Hard  ...
Anamika Escorts Service Darbhanga ❣️ 7014168258 ❣️ High Cost Unlimited Hard ...
nirzagarg
 
ab-initio-training basics and architecture
ab-initio-training basics and architectureab-initio-training basics and architecture
ab-initio-training basics and architecture
saipriyacoool
 
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
amitlee9823
 
Just Call Vip call girls Etawah Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Etawah Escorts ☎️9352988975 Two shot with one girl (...Just Call Vip call girls Etawah Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Etawah Escorts ☎️9352988975 Two shot with one girl (...
gajnagarg
 
Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
gajnagarg
 

Kürzlich hochgeladen (20)

The hottest UI and UX Design Trends 2024
The hottest UI and UX Design Trends 2024The hottest UI and UX Design Trends 2024
The hottest UI and UX Design Trends 2024
 
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
 
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman MuscatAbortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
 
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
 
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best ServiceHigh Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
How to Build a Simple Shopify Website
How to Build a Simple Shopify WebsiteHow to Build a Simple Shopify Website
How to Build a Simple Shopify Website
 
➥🔝 7737669865 🔝▻ jhansi Call-girls in Women Seeking Men 🔝jhansi🔝 Escorts S...
➥🔝 7737669865 🔝▻ jhansi Call-girls in Women Seeking Men  🔝jhansi🔝   Escorts S...➥🔝 7737669865 🔝▻ jhansi Call-girls in Women Seeking Men  🔝jhansi🔝   Escorts S...
➥🔝 7737669865 🔝▻ jhansi Call-girls in Women Seeking Men 🔝jhansi🔝 Escorts S...
 
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Hingoli ❤CALL GIRL 8617370543 ❤CALL GIRLS IN Hingoli ESCORT SERVICE❤CALL GIRL
Hingoli ❤CALL GIRL 8617370543 ❤CALL GIRLS IN Hingoli ESCORT SERVICE❤CALL GIRLHingoli ❤CALL GIRL 8617370543 ❤CALL GIRLS IN Hingoli ESCORT SERVICE❤CALL GIRL
Hingoli ❤CALL GIRL 8617370543 ❤CALL GIRLS IN Hingoli ESCORT SERVICE❤CALL GIRL
 
Anamika Escorts Service Darbhanga ❣️ 7014168258 ❣️ High Cost Unlimited Hard ...
Anamika Escorts Service Darbhanga ❣️ 7014168258 ❣️ High Cost Unlimited Hard  ...Anamika Escorts Service Darbhanga ❣️ 7014168258 ❣️ High Cost Unlimited Hard  ...
Anamika Escorts Service Darbhanga ❣️ 7014168258 ❣️ High Cost Unlimited Hard ...
 
ab-initio-training basics and architecture
ab-initio-training basics and architectureab-initio-training basics and architecture
ab-initio-training basics and architecture
 
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
 
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
 
Sector 104, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 104, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 104, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 104, Noida Call girls :8448380779 Model Escorts | 100% verified
 
Just Call Vip call girls Etawah Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Etawah Escorts ☎️9352988975 Two shot with one girl (...Just Call Vip call girls Etawah Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Etawah Escorts ☎️9352988975 Two shot with one girl (...
 
Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
 
Just Call Vip call girls Nagpur Escorts ☎️8617370543 Starting From 5K to 25K ...
Just Call Vip call girls Nagpur Escorts ☎️8617370543 Starting From 5K to 25K ...Just Call Vip call girls Nagpur Escorts ☎️8617370543 Starting From 5K to 25K ...
Just Call Vip call girls Nagpur Escorts ☎️8617370543 Starting From 5K to 25K ...
 
8377087607, Door Step Call Girls In Majnu Ka Tilla (Delhi) 24/7 Available
8377087607, Door Step Call Girls In Majnu Ka Tilla (Delhi) 24/7 Available8377087607, Door Step Call Girls In Majnu Ka Tilla (Delhi) 24/7 Available
8377087607, Door Step Call Girls In Majnu Ka Tilla (Delhi) 24/7 Available
 
Jordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdfJordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdf
 

Html introduction

  • 1.
  • 2.  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is a markup language  A markup language is a set of markup tags  The tags describe document content  HTML documents contain HTML tags and plain text  HTML documents are also called web pages
  • 3. HTML markup tags are usually called HTML tags  HTML tags are keywords (tag names) 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, the second tag is the end tag  The end tag is written like the start tag, with a forward slash before the tag name  Start and end tags are also called opening tags and closing tags
  • 4.  HTML tags" and "HTML elements" are often used to describe the same thing.  But strictly speaking, an HTML element is everything between the start tag and the end tag, including the tags: <tagname>content</tagname> <p>This is a paragraph.</p>
  • 5.  The purpose of a web browser (such as Google Chrome, Internet Explorer, Firefox, Safari) is to read HTML documents and display them as web pages.  The browser does not display the HTML tags, but uses the tags to determine how the content of the HTML page is to be presented/displayed to the user:
  • 6.
  • 7.  Below is a visualization of an HTML page structure:
  • 8.  Since the early days of the web, there have been many versions of HTML: Version Year HTML 1991 HTML+ 1993 HTML 2.0 1995 HTML 3.2 1997 HTML 4.01 1999 XHTML 1.0 2000 HTML5 2012 XHTML5 2013
  • 9.  The <!DOCTYPE> declaration helps the browser to display a web page correctly.  There are many different documents on the web, and a browser can only display an HTML page 100% correctly if it knows the HTML type and version used.
  • 10.  HTML5 <!DOCTYPE html>  HTML 4.01 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">  XHTML 1.0 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml 1-transitional.dtd">
  • 11.
  • 12. HTML can be edited by using a professional HTML editor like:  Adobe Dreamweaver  Microsoft Expression Web However, for learning HTML we recommend a text editor like Notepad (PC) or TextEdit (Mac). We believe using a simple text editor is a good way to learn HTML.
  • 13.  Step 1: Start Notepad  To start Notepad go to:  Start All Programs Accessories Notepad 
  • 14.  Step 2: Edit Your HTML with Notepad  Type your HTML code into your Notepad:  Save as and Run
  • 15.
  • 16.
  • 17. HTML headings are defined with the <h1> to <h6> tags. <h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3>
  • 18.  HTML paragraphs are defined with the <p> tag. <p>This is a paragraph.</p> <p>This is another paragraph.</p>
  • 19.  HTML links are defined with the <a> tag. <a href="http://www.w3schools.com">This is a link</a>
  • 20.  HTML images are defined with the <img> tag. <img src="w3schools.jpg" width="104" height="142">
  • 21.  An HTML element is everything from the start tag to the end tag:  * The start tag is often called the opening tag. The end tag is often called the closing tag. Start tag * Element content End tag * <p> This is a paragraph </p> <a href="default.htm"> This is a link </a> <br>
  • 22.  An HTML element starts with a start tag / opening tag  An HTML element ends with an end tag / closing tag  The element content is everything between the start and the end tag  Some HTML elements have empty content  Empty elements are closed in the start tag  Most HTML elements can have attributes
  • 23.  HTML elements can have attributes  Attributes provide additional information about an element  Attributes are always specified in the start tag  EX : HTML links are defined with the <a> tag. The link address is specified in the href attribute:  <a href="http://www.w3schools.com">This is a link</a>
  • 24.  Below is a list of some attributes that can be used on any HTML element:
  • 25.  The <head> element is a container for all the head elements. Elements inside <head> can include scripts, instruct the browser where to find style sheets, provide meta information, and more.  The following tags can be added to the head section: <title>, <style>, <meta>, <link>, <script>, <noscript>, and <base>.
  • 26.  The <title> tag defines the title of the document.  The <title> element is required in all HTML/XHTML documents. The <title> element:  defines a title in the browser toolbar  provides a title for the page when it is added to favorites  displays a title for the page in search- engine results
  • 27.  <!DOCTYPE html> <html> <head> <title>Title of the document</title> </head> <body> The content of the document...... </body> </html>
  • 28.  The <link> tag defines the relationship between a document and an external resource.  The <link> tag is most used to link to style sheets:  <head> <link rel="stylesheet" type="text/css" href="mystyle.css"> </head>
  • 29.  The <style> tag is used to define style information for an HTML document.  Inside the <style> element you specify how HTML elements should render in a browser:  <head> <style type="text/css"> body {background-color:yellow;} p {color:blue;} </style> </head>
  • 30.  CSS (Cascading Style Sheets) is used to style HTML elements.  CSS was introduced together with HTML 4, to provide a better way to style HTML elements. CSS can be added to HTML in the following ways:  Inline - using the style attribute in HTML elements  Internal - using the <style> element in the <head> section  External - using an external CSS file
  • 31.  EX : <p style="color:blue;margin- left:20px;">This is a paragraph.</p>  <body style="background-color:yellow;"> <h2 style="background-color:red;">This is a heading</h2> <p style="background-color:green;">This is a paragraph.</p> </body>
  • 32.  An internal style sheet can be used if one single document has a unique style. Internal styles are defined in the <head> section of an HTML page, by using the <style> tag, like this:
  • 33.  <head> <style type="text/css"> body {background-color:yellow;} p {color:blue;} </style> </head>
  • 34.  An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one file. Each page must link to the style sheet using the <link> tag. The <link> tag goes inside the <head> section:  <head> <link rel="stylesheet" type="text/css" href="mystyle.css"> </head>
  • 35.  Tables are defined with the <table> tag.  A table is divided into rows (with the <tr> tag), and each row is divided into data cells (with the <td> tag). td stands for "table data," and holds the content of a data cell. A <td> tag can contain text, links, images, lists, forms, other tables, etc.
  • 36.  Let's start with the semantic HTML code required to render a basic table
  • 37.  <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>
  • 38.
  • 39.
  • 40. <caption></caption>: The <caption> element allows you to give the table data a caption. Most browsers will center the caption and render it the same width as the table by default.
  • 41.  The <th> element delineates the content between the tag as the table head titles for each table section, which can be a column, a row or a group of cells. This is useful not just to help semantically describe what the function of this content is, but it also helps render it more accurately in a variety of browsers and devices.
  • 42.  HTML Unordered Lists  An unordered list starts with the <ul> tag. Each list item starts with the <li> tag.  The list items are marked with bullets (typically small black circles).  <ul> <li>Coffee</li> <li>Milk</li> </ul>
  • 43.  An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.  The list items are marked with numbers. <ol> <li>Coffee</li> <li>Milk</li> </ol>