SlideShare a Scribd company logo
By 
Hafiz Mohammad Kashif IUB*
 HTML is a markup language for describing web 
documents (web pages) 
 HTML stands for Hyper Text Markup Language 
 A markup language Is a set of markup tags 
 HTML document are described by HTML tags 
 Each HTML describe different document content
 A small HTML document: 
 <!DOCTYPE html> 
 <html> 
 <head> 
 <title>page Title</title> 
 </head> 
 <body> 
 <h1>My First Heading</h1> 
 <p>My first paragraph.</p> 
 </body> 
 </html>
 The DOCTYPE declaration define the document 
type to be HTML 
 The text between <html> and </html> describes an 
HTML document 
 The text between <head> and </head> provides 
information about the document 
 The text between <title> and </title> provides a title 
for a document 
 The text between <body> and </body>describe the 
visible page content
 The text between <h1> and </h1> describe a 
heading. 
 The text between <p> and </p> describes 
paragraph. Using this description, a web browser 
can display a document with a heading and a 
paragraph.
 HTML tags are keywords (tag names) surrounded 
by angle brackets: 
 <tagname> content 
 </tagname> 
 HTML tags normally come in pairs like <p> and </p> 
 The first tag in a pair is the start tag, the second tag 
is end tag. 
 The end tag is written like the start tag, but with a 
slash before the tag name
 Write HTML using Notepad or Text Edit 
 HTML can be edited by using a professional HTML 
editor like: 
 Adobe Dreamweaver 
 Microsoft Expression Web 
 CofeeCup HTML Editor 
 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
 Setp1: Open Notepad 
 To open Notepad in window7 or earlier: 
 Click start(Bottom left on your screen). 
 Click all programs. Click accessories. Click Notepad 
 To open Notepad in window8 or earlier: 
 Open the start screen(the symbol at the bottom left 
on your screen). 
 Type Notepad
 Step 2 Write some HTML 
 Example: 
 <!DOCTYPE html> 
 <html> 
 <body> 
 <h1>My First Heading</h1> 
 <p>My first paragraph.</p> 
 </body> 
 </html>
 Step3: Save the HTML page: 
 Save the file on your computer select file> save as in 
the Notepad menu. 
 You can use either htm or html as file extension. 
There is no difference it is up to you. 
 Step4: view HTML page in your browser: 
 Double click your saved HTML file and the result will 
look. 
 Don’t worry if these examples use tag you have not 
learned , you will learned them in the next chapter.
 All HTML documents must start with the type declaration: 
<DOCTYPE html> the HTML document itself being with 
<html> and end with </html>. 
 This visible part of the HTML document is between 
<body> and </body> 
 Example 
 <!DOCTYPE html> 
 <html> 
 <body> 
 <h1>My First Heading</h1> 
 <p>My first paragraph.</p> 
 </body> 
 </html>
 HTML heading are defined with the <h1> to <h6> 
tags: 
 <h1> this is heading </h1> 
 <h2> this is heading </h2> 
 <h3> this is heading </h3> 
 HTML paragraph are defined with the <p> and </p> 
tags: 
 <p> this is paragraph </p> 
 <p> this is another paragraph</p>
 HTML links are defined with the <a> and </a> tags: 
 <a herf =“http//www.w3schools.com”> this is a link 
</a> 
 The link is specified in the herf attribute. Attributes 
are use to provide additional information about 
HTML elements.
 HTML images are defined with the <img> tag: 
 The source file (src) alternate text (alt) and size 
(width and hight) are provides as attributes: 
 Example: 
 <img src=“w3schools.jpg” alt=“w3schools.com 
width=“104” hight=“142”>
 HTML elements are written with a start tag, wiyh an 
end tag, with the content in between 
 <tagname> content </tagname> 
 The HTML from the every thing from the start tag ro 
the end tag; 
 <p> My first HTML paragraph. </p> 
 Nested HTML elements: 
 HTML elements can be nested (elements can 
contain elements). All HTML documents consist of 
nested HTML elements 
 This example contains 4 HTML elements:
 Example: 
 <!DOCTYPE> 
 <html> 
 <body> 
 <h1>My first heading</h1> 
 <p> My first paragraph.</p> 
 </body> 
 </html>
 The <html> element defines the hole document, it 
has a start tag <html> and end tag </html>. The 
element content is another HTML element (the 
<body> element). The <body> element defines the 
document body. It has a start tag <body> and end 
tag </body>. 
 The element content is two other HTML elements 
<h1> and <p>. The <h1> element defines a heading. 
It has start tag <h1> and end tag </h1>. The element 
content is: My first Heading. The <p> element 
defines a paragraph. It has start tag <p> and end tag 
</p>. The element content is: My first paragraph.
 !Don’t Forget The End Tag: 
 Some HTML elements will display correctly, even if 
you forget the end tag: 
 Example; 
 <html> 
 <body> 
 <p>This is my first paragraph 
 <p>This is my first paragraph 
 </body> 
 </html>
An introduction to html

More Related Content

What's hot

Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
selcukca84
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introductionc525600
 
HTML
HTMLHTML
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
pavankumarmangena
 
Creating your 1st html page
Creating your 1st html pageCreating your 1st html page
Creating your 1st html page
Sara Corpuz
 
Html ppt
Html pptHtml ppt
Html ppt
jaswinder01
 
HTML_Slideshow1
HTML_Slideshow1HTML_Slideshow1
HTML_Slideshow1
ldehn
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
Shankar D
 
Hyper Text Mark-up Language
Hyper Text Mark-up Language Hyper Text Mark-up Language
Hyper Text Mark-up Language
Fritz Earlin Therese Lapitaje Pondantes
 
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)
actanimation
 
Html programing
Html programingHtml programing
Html programing
Namrata dutt
 
Html basic tags
Html basic tagsHtml basic tags
Html basic tags
umesh patil
 
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
 
3. tutorial html web desain
3. tutorial html web desain3. tutorial html web desain
3. tutorial html web desainfaizibra
 
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)
Jishan Ali
 
HTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageHTML- Hyper Text Markup Language
HTML- Hyper Text Markup Language
Trinity Dwarka
 

What's hot (20)

Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Html
HtmlHtml
Html
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
HTML
HTMLHTML
HTML
 
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
 
Creating your 1st html page
Creating your 1st html pageCreating your 1st html page
Creating your 1st html page
 
Coding
CodingCoding
Coding
 
Html ppt
Html pptHtml ppt
Html ppt
 
Html
HtmlHtml
Html
 
HTML_Slideshow1
HTML_Slideshow1HTML_Slideshow1
HTML_Slideshow1
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Hyper Text Mark-up Language
Hyper Text Mark-up Language Hyper Text Mark-up Language
Hyper Text Mark-up Language
 
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)
 
Html programing
Html programingHtml programing
Html programing
 
Html basic tags
Html basic tagsHtml basic tags
Html basic tags
 
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
 
3. tutorial html web desain
3. tutorial html web desain3. tutorial html web desain
3. tutorial html web desain
 
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)
 
HTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageHTML- Hyper Text Markup Language
HTML- Hyper Text Markup Language
 

Viewers also liked

Jessie J Nobody's Perfect Analysis
Jessie J Nobody's Perfect AnalysisJessie J Nobody's Perfect Analysis
Jessie J Nobody's Perfect Analysis
Molly Dickerson
 
9. los valores
9.  los valores9.  los valores
9. los valores
arturomontalvovaldez
 
CV-updated-ÒÕÓ
CV-updated-ÒÕÓCV-updated-ÒÕÓ
CV-updated-ÒÕÓIlya Ganeev
 
Compensation claim nsw
Compensation claim nswCompensation claim nsw
Compensation claim nsw
Paramount Lawyers
 
Compensation claim qld
Compensation claim qldCompensation claim qld
Compensation claim qld
Paramount Lawyers
 
Initiation à la phobie du dentiste
Initiation à la phobie du dentisteInitiation à la phobie du dentiste
Initiation à la phobie du dentisteRenaissanceFace
 
Application of Information Extraction techniques to pharmacological domain: E...
Application of Information Extraction techniques to pharmacological domain: E...Application of Information Extraction techniques to pharmacological domain: E...
Application of Information Extraction techniques to pharmacological domain: E...
Grupo HULAT
 
Detecting Drugs and Adverse Events from Spanish Health Social Media Streams
Detecting Drugs and Adverse Events from Spanish Health Social Media StreamsDetecting Drugs and Adverse Events from Spanish Health Social Media Streams
Detecting Drugs and Adverse Events from Spanish Health Social Media Streams
Grupo HULAT
 
Media Homework Article Analysis
Media Homework Article Analysis Media Homework Article Analysis
Media Homework Article Analysis
Molly Dickerson
 
Q4 and 5
Q4 and 5 Q4 and 5
Q4 and 5
Molly Dickerson
 
Untitled Presentation
Untitled PresentationUntitled Presentation
Untitled Presentationwantwushu
 
Detecting Semantic Relations between Nominals using Support Vector Machines a...
Detecting Semantic Relations between Nominals using Support Vector Machines a...Detecting Semantic Relations between Nominals using Support Vector Machines a...
Detecting Semantic Relations between Nominals using Support Vector Machines a...
Grupo HULAT
 
Pm assignment
Pm assignmentPm assignment
Pm assignment
fatima_haider
 
Infrastructure is Dead - Pepijn Palmans
Infrastructure is Dead -  Pepijn PalmansInfrastructure is Dead -  Pepijn Palmans
Infrastructure is Dead - Pepijn Palmans
Housingcenter
 
Monday december 8, 2014
Monday december 8, 2014Monday december 8, 2014
Monday december 8, 2014William Gerace
 
Ultra low dielectric, self-cleansing and highly oleophobic POSS-PFCP aryl eth...
Ultra low dielectric, self-cleansing and highly oleophobic POSS-PFCP aryl eth...Ultra low dielectric, self-cleansing and highly oleophobic POSS-PFCP aryl eth...
Ultra low dielectric, self-cleansing and highly oleophobic POSS-PFCP aryl eth...
Babloo Sharma, Ph.D.
 
Building a Graph of Names and Contextual Patterns for Named Entity Classifica...
Building a Graph of Names and Contextual Patterns for Named Entity Classifica...Building a Graph of Names and Contextual Patterns for Named Entity Classifica...
Building a Graph of Names and Contextual Patterns for Named Entity Classifica...
Grupo HULAT
 
The Citizen Card - Improving Voluntary Tax Compliance in Ghana
The Citizen Card - Improving Voluntary Tax Compliance in GhanaThe Citizen Card - Improving Voluntary Tax Compliance in Ghana
The Citizen Card - Improving Voluntary Tax Compliance in Ghana
Yaw Osei-Tutu
 

Viewers also liked (20)

Jessie J Nobody's Perfect Analysis
Jessie J Nobody's Perfect AnalysisJessie J Nobody's Perfect Analysis
Jessie J Nobody's Perfect Analysis
 
9. los valores
9.  los valores9.  los valores
9. los valores
 
CV-updated-ÒÕÓ
CV-updated-ÒÕÓCV-updated-ÒÕÓ
CV-updated-ÒÕÓ
 
Dedico Network
Dedico NetworkDedico Network
Dedico Network
 
Compensation claim nsw
Compensation claim nswCompensation claim nsw
Compensation claim nsw
 
Compensation claim qld
Compensation claim qldCompensation claim qld
Compensation claim qld
 
Initiation à la phobie du dentiste
Initiation à la phobie du dentisteInitiation à la phobie du dentiste
Initiation à la phobie du dentiste
 
Application of Information Extraction techniques to pharmacological domain: E...
Application of Information Extraction techniques to pharmacological domain: E...Application of Information Extraction techniques to pharmacological domain: E...
Application of Information Extraction techniques to pharmacological domain: E...
 
Detecting Drugs and Adverse Events from Spanish Health Social Media Streams
Detecting Drugs and Adverse Events from Spanish Health Social Media StreamsDetecting Drugs and Adverse Events from Spanish Health Social Media Streams
Detecting Drugs and Adverse Events from Spanish Health Social Media Streams
 
Media Homework Article Analysis
Media Homework Article Analysis Media Homework Article Analysis
Media Homework Article Analysis
 
Q4 and 5
Q4 and 5 Q4 and 5
Q4 and 5
 
Untitled Presentation
Untitled PresentationUntitled Presentation
Untitled Presentation
 
Detecting Semantic Relations between Nominals using Support Vector Machines a...
Detecting Semantic Relations between Nominals using Support Vector Machines a...Detecting Semantic Relations between Nominals using Support Vector Machines a...
Detecting Semantic Relations between Nominals using Support Vector Machines a...
 
Pm assignment
Pm assignmentPm assignment
Pm assignment
 
Infrastructure is Dead - Pepijn Palmans
Infrastructure is Dead -  Pepijn PalmansInfrastructure is Dead -  Pepijn Palmans
Infrastructure is Dead - Pepijn Palmans
 
Monday december 8, 2014
Monday december 8, 2014Monday december 8, 2014
Monday december 8, 2014
 
Ultra low dielectric, self-cleansing and highly oleophobic POSS-PFCP aryl eth...
Ultra low dielectric, self-cleansing and highly oleophobic POSS-PFCP aryl eth...Ultra low dielectric, self-cleansing and highly oleophobic POSS-PFCP aryl eth...
Ultra low dielectric, self-cleansing and highly oleophobic POSS-PFCP aryl eth...
 
Nsw compensation lawyers
Nsw compensation lawyersNsw compensation lawyers
Nsw compensation lawyers
 
Building a Graph of Names and Contextual Patterns for Named Entity Classifica...
Building a Graph of Names and Contextual Patterns for Named Entity Classifica...Building a Graph of Names and Contextual Patterns for Named Entity Classifica...
Building a Graph of Names and Contextual Patterns for Named Entity Classifica...
 
The Citizen Card - Improving Voluntary Tax Compliance in Ghana
The Citizen Card - Improving Voluntary Tax Compliance in GhanaThe Citizen Card - Improving Voluntary Tax Compliance in Ghana
The Citizen Card - Improving Voluntary Tax Compliance in Ghana
 

Similar to An introduction to html

html.pdf
html.pdfhtml.pdf
html.pdf
ArianSS1
 
HTML5 Topic 1
HTML5 Topic 1HTML5 Topic 1
HTML5 Topic 1
Juvywen
 
Basic Html Knowledge for students
Basic Html Knowledge for studentsBasic Html Knowledge for students
Basic Html Knowledge for students
vethics
 
Html
HtmlHtml
1 introduction to html
1 introduction to html1 introduction to html
1 introduction to htmlmyrajendra
 
Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01
Niraj Bharambe
 
HTML.ppt
HTML.pptHTML.ppt
TagsL1.pptx
TagsL1.pptxTagsL1.pptx
TagsL1.pptx
KrishRaj48
 
Html basics
Html basicsHtml basics
Html basics
Vjay Vijju
 
HTML Presentation
HTML Presentation HTML Presentation
HTML Presentation
pradeepthakur87
 
htmlnotes-180924151434.pdf dafdkzndsvkdvdd
htmlnotes-180924151434.pdf dafdkzndsvkdvddhtmlnotes-180924151434.pdf dafdkzndsvkdvdd
htmlnotes-180924151434.pdf dafdkzndsvkdvdd
hemanthkalyan25
 
htmlnotes Which tells about all the basic
htmlnotes Which tells about all the basichtmlnotes Which tells about all the basic
htmlnotes Which tells about all the basic
hemanthkalyan25
 
Html notes
Html notesHtml notes
Html notes
Ismail Mukiibi
 
Html
HtmlHtml

Similar to An introduction to html (20)

html.pdf
html.pdfhtml.pdf
html.pdf
 
HTML5 Topic 1
HTML5 Topic 1HTML5 Topic 1
HTML5 Topic 1
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Html example
Html exampleHtml example
Html example
 
Basic Html Knowledge for students
Basic Html Knowledge for studentsBasic Html Knowledge for students
Basic Html Knowledge for students
 
Html
HtmlHtml
Html
 
1 introduction to html
1 introduction to html1 introduction to html
1 introduction to html
 
Html basics NOTE
Html basics NOTEHtml basics NOTE
Html basics NOTE
 
Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01
 
HTML.ppt
HTML.pptHTML.ppt
HTML.ppt
 
TagsL1.pptx
TagsL1.pptxTagsL1.pptx
TagsL1.pptx
 
Html basics
Html basicsHtml basics
Html basics
 
Html - Tutorial
Html - TutorialHtml - Tutorial
Html - Tutorial
 
HTML Presentation
HTML Presentation HTML Presentation
HTML Presentation
 
htmlnotes-180924151434.pdf dafdkzndsvkdvdd
htmlnotes-180924151434.pdf dafdkzndsvkdvddhtmlnotes-180924151434.pdf dafdkzndsvkdvdd
htmlnotes-180924151434.pdf dafdkzndsvkdvdd
 
htmlnotes Which tells about all the basic
htmlnotes Which tells about all the basichtmlnotes Which tells about all the basic
htmlnotes Which tells about all the basic
 
Html notes
Html notesHtml notes
Html notes
 
Html
HtmlHtml
Html
 

Recently uploaded

The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
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
 
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
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
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
 
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
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 

Recently uploaded (20)

The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
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
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
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
 
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
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 

An introduction to html

  • 1. By Hafiz Mohammad Kashif IUB*
  • 2.  HTML is a markup language for describing web documents (web pages)  HTML stands for Hyper Text Markup Language  A markup language Is a set of markup tags  HTML document are described by HTML tags  Each HTML describe different document content
  • 3.  A small HTML document:  <!DOCTYPE html>  <html>  <head>  <title>page Title</title>  </head>  <body>  <h1>My First Heading</h1>  <p>My first paragraph.</p>  </body>  </html>
  • 4.  The DOCTYPE declaration define the document type to be HTML  The text between <html> and </html> describes an HTML document  The text between <head> and </head> provides information about the document  The text between <title> and </title> provides a title for a document  The text between <body> and </body>describe the visible page content
  • 5.  The text between <h1> and </h1> describe a heading.  The text between <p> and </p> describes paragraph. Using this description, a web browser can display a document with a heading and a paragraph.
  • 6.  HTML tags are keywords (tag names) surrounded by angle brackets:  <tagname> content  </tagname>  HTML tags normally come in pairs like <p> and </p>  The first tag in a pair is the start tag, the second tag is end tag.  The end tag is written like the start tag, but with a slash before the tag name
  • 7.  Write HTML using Notepad or Text Edit  HTML can be edited by using a professional HTML editor like:  Adobe Dreamweaver  Microsoft Expression Web  CofeeCup HTML Editor  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
  • 8.  Setp1: Open Notepad  To open Notepad in window7 or earlier:  Click start(Bottom left on your screen).  Click all programs. Click accessories. Click Notepad  To open Notepad in window8 or earlier:  Open the start screen(the symbol at the bottom left on your screen).  Type Notepad
  • 9.  Step 2 Write some HTML  Example:  <!DOCTYPE html>  <html>  <body>  <h1>My First Heading</h1>  <p>My first paragraph.</p>  </body>  </html>
  • 10.  Step3: Save the HTML page:  Save the file on your computer select file> save as in the Notepad menu.  You can use either htm or html as file extension. There is no difference it is up to you.  Step4: view HTML page in your browser:  Double click your saved HTML file and the result will look.  Don’t worry if these examples use tag you have not learned , you will learned them in the next chapter.
  • 11.  All HTML documents must start with the type declaration: <DOCTYPE html> the HTML document itself being with <html> and end with </html>.  This visible part of the HTML document is between <body> and </body>  Example  <!DOCTYPE html>  <html>  <body>  <h1>My First Heading</h1>  <p>My first paragraph.</p>  </body>  </html>
  • 12.  HTML heading are defined with the <h1> to <h6> tags:  <h1> this is heading </h1>  <h2> this is heading </h2>  <h3> this is heading </h3>  HTML paragraph are defined with the <p> and </p> tags:  <p> this is paragraph </p>  <p> this is another paragraph</p>
  • 13.  HTML links are defined with the <a> and </a> tags:  <a herf =“http//www.w3schools.com”> this is a link </a>  The link is specified in the herf attribute. Attributes are use to provide additional information about HTML elements.
  • 14.  HTML images are defined with the <img> tag:  The source file (src) alternate text (alt) and size (width and hight) are provides as attributes:  Example:  <img src=“w3schools.jpg” alt=“w3schools.com width=“104” hight=“142”>
  • 15.  HTML elements are written with a start tag, wiyh an end tag, with the content in between  <tagname> content </tagname>  The HTML from the every thing from the start tag ro the end tag;  <p> My first HTML paragraph. </p>  Nested HTML elements:  HTML elements can be nested (elements can contain elements). All HTML documents consist of nested HTML elements  This example contains 4 HTML elements:
  • 16.  Example:  <!DOCTYPE>  <html>  <body>  <h1>My first heading</h1>  <p> My first paragraph.</p>  </body>  </html>
  • 17.  The <html> element defines the hole document, it has a start tag <html> and end tag </html>. The element content is another HTML element (the <body> element). The <body> element defines the document body. It has a start tag <body> and end tag </body>.  The element content is two other HTML elements <h1> and <p>. The <h1> element defines a heading. It has start tag <h1> and end tag </h1>. The element content is: My first Heading. The <p> element defines a paragraph. It has start tag <p> and end tag </p>. The element content is: My first paragraph.
  • 18.  !Don’t Forget The End Tag:  Some HTML elements will display correctly, even if you forget the end tag:  Example;  <html>  <body>  <p>This is my first paragraph  <p>This is my first paragraph  </body>  </html>