Introduction to HTML

Ajay Khatri
Ajay KhatriProfessor and Website/App Developer um Acropolis Institute of Technology & Research
Intro to
HTML
Ajay Khatri
Assistant Professor
Information Technology Department
Acropolis Institute of Technology & Research
www.ajaykhatri.in
Why Learn HTML?
1. Running a blog on a CMS.
2. Working with a developer and
want to understand how to talk
with them
3. Web designer looking to
understand how things get built
What We’ll Learn
1. What is HTML
2. How to mark up a
document
3. How a page is
structured
HTML is the
Skeleton of
Web pages.
Introduction to HTML
HTML is a
Markup
Language
Introduction to HTML
HTML uses markup
tags to describe
elements on a page.
<tag>Text</tag>
Anatomy of a Tag
<tag>Text</tag>
Start Tag EndTag
About 80 Tags
a
abbr
acronym
address
area
b
base
bdo
big
blockquote
body
br
button
caption
c i t e
code
col
colgroup
dd
del
dfn
div
d l
DOCTYPE
dt
em
f ieldset
form
h1, h2, h3,
h4, h5, and
h6
head
html
hr
i
img
input
ins
kbd
label
legend
l i
l i n k
map
meta
noscript
object
o l
optgroup
option
p
param
pre
q
samp
script
select
small
span
strong
style
sub
sup
table
tbody
td
textarea
t f o o t
th
thead
t i t l e
t r
t t
u l
var
Some Are Used More Often
a
abbr
acronym
address
area
b
base
bdo
big
blockquote
body
br
button
caption
c i t e
code
col
colgroup
dd
del
dfn
div
d l
DOCTYPE
dt
em
f ieldset
form
h1, h2, h3,
h4, h5, and
h6
head
html
hr
i
img
input
ins
kbd
label
legend
l i
l i n k
map
meta
noscript
object
ol
optgroup
option
p
param
pre
q
samp
script
select
small
span
strong
style
sub
sup
table
tbody
td
textarea
t f o o t
th
thead
t i t l e
t r
t t
ul
var
Nesting Tags
<i><b>italic & bold</b></i>
Self-closing Tags
Some tags don’t wrap
around anything. These
are self-closing tags.
<img src=“”> or <img src=“” />
Tags Can Have Attributes
Attributes are additional
information added toa tag.
<img src=“”>
<a href=“” class=“”>
<div class=“”>
Tags are used to
give semantic
meaning to text.
e.g., paragraph, header,
bold, emphasis, etc.
Let’s Learn By Example
Introduction to HTML
Starting the HTML
<!DOCTYPE html>
<html>
<body>
<! —-‐ cont ent —-‐>
</body>
</html>
Let’s talk about
Headings, Paragraphs,
and Formatting.
Headings
Headings are defined with
the <h1> to <h6> tags.
<h1> defines the most
important heading. <h6>
defines the least important
heading.
DO NOT useheadings
to make text BIGGER
or BOLDER.
Styling should be done
with CSS.
Paragraphs
Paragraphs are defined
with the <p> tag.
<p>This is some stuff </p>
Introduction to HTML
Introduction to HTML
Links
Links are defined with the
<a> tag with the href
pointing to the
destination.
<a href=“http://foo.com”>Text</a>
Two Varieties of Links
Absolute & Relative.
Absolute Links
Absolute links point
directly to the destination.
<a href=“http://foo.com”>Text</a>
Typicallystartswitthhttp://
Relative Links
Relative links are based on
where the destination is
from where you are.
<a href=“/folder/page.html”>Text</a>
<a href=“../page.html”>Text</a>
Introduction to HTML
Introduction to HTML
Images
Images are self-closing tags
<img
<img
src=“mocha.jpg”
src=“mocha.jpg”
/>
alt=“Mocha the
cat” />
Introduction to HTML
Introduction to HTML
Lists
Lists come in two varieties,
ordered and unordered.
1. Item
2. Item
3. Item
•Item
•Item
•Item
List Items
List items use the <li> tag.
<li>Loves food</li>
<li>Good at cuddling</li>
<li>Chews wires</li>
Lists Need An Outer Tag
Ordered lists use the <ol>
tag.
<ol>
<li>Loves food</li>
<li>Good at cuddling</li>
<li>Chews wires</li>
</ol>
Lists Need An Outer Tag
Unordered lists use the
<ul> tag.
<ul>
<li>Loves food</li>
<li>Good at cuddling</li>
<li>Chews wires</li>
</ul>
Introduction to HTML
Introduction to HTML
Comments
The comment tag is useful
for making notes in HTML.
<!-- comment here -->
Further Learning
W3Schools (free)
Android App (HTML Prog)
https://play.google.com/store/apps/details?id=learn.apps.htmlprogramming
Thanks You
1 von 43

Recomendados

(Fast) Introduction to HTML & CSS von
(Fast) Introduction to HTML & CSS (Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS Dave Kelly
3.4K views23 Folien
Introduction to HTML and CSS von
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSSMario Hernandez
4.2K views39 Folien
Intro to HTML and CSS basics von
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basicsEliran Eliassy
2.3K views133 Folien
HTML, CSS And JAVASCRIPT! von
HTML, CSS And JAVASCRIPT!HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!Syahmi RH
656 views19 Folien
HTML and CSS crash course! von
HTML and CSS crash course!HTML and CSS crash course!
HTML and CSS crash course!Ana Cidre
2.7K views29 Folien
Basic Html Notes von
Basic Html NotesBasic Html Notes
Basic Html NotesNextGenr
1.9K views19 Folien

Más contenido relacionado

Was ist angesagt?

Introduction of Html/css/js von
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/jsKnoldus Inc.
22.5K views36 Folien
HTML (Web) basics for a beginner von
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginnerJayapal Reddy Nimmakayala
1.7K views37 Folien
CSS Basics von
CSS BasicsCSS Basics
CSS BasicsSanjeev Kumar
1.5K views23 Folien
Html / CSS Presentation von
Html / CSS PresentationHtml / CSS Presentation
Html / CSS PresentationShawn Calvert
78.9K views96 Folien
CSS von
CSSCSS
CSSvenkatachalam84
1.8K views30 Folien
Css von
CssCss
Cssshanmuga rajan
2.2K views20 Folien

Was ist angesagt?(20)

Introduction of Html/css/js von Knoldus Inc.
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
Knoldus Inc.22.5K views
Html / CSS Presentation von Shawn Calvert
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
Shawn Calvert78.9K views
Intro to HTML & CSS von Syed Sami
Intro to HTML & CSSIntro to HTML & CSS
Intro to HTML & CSS
Syed Sami1.1K views
Cascading Style Sheets (CSS) help von casestudyhelp
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
casestudyhelp1.8K views
Cascading style sheets (CSS) von Harshita Yadav
Cascading style sheets (CSS)Cascading style sheets (CSS)
Cascading style sheets (CSS)
Harshita Yadav3.9K views
HTML, CSS and Java Scripts Basics von Sun Technlogies
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts Basics
Sun Technlogies4.7K views
HTML CSS JS in Nut shell von Ashwin Shiv
HTML  CSS JS in Nut shellHTML  CSS JS in Nut shell
HTML CSS JS in Nut shell
Ashwin Shiv252 views
Presentation on html, css von Aamir Sohail
Presentation on html, cssPresentation on html, css
Presentation on html, css
Aamir Sohail584 views

Similar a Introduction to HTML

Intro to HTML von
Intro to HTMLIntro to HTML
Intro to HTMLRandy Oest II
13.5K views55 Folien
Learning html. (Part- 1) von
Learning html. (Part- 1)Learning html. (Part- 1)
Learning html. (Part- 1)manya abrol
74 views14 Folien
Html Workshop von
Html WorkshopHtml Workshop
Html Workshopvardanyan99
1.8K views47 Folien
Html basics von
Html basicsHtml basics
Html basicsVjay Vijju
2.8K views18 Folien
Html introduction von
Html introductionHtml introduction
Html introductionvishnu murthy
396 views27 Folien
Html notes von
Html notesHtml notes
Html notesIsmail Mukiibi
48.9K views47 Folien

Más de Ajay Khatri

Ajay khatri resume august 2021 von
Ajay khatri resume august 2021Ajay khatri resume august 2021
Ajay khatri resume august 2021Ajay Khatri
42 views2 Folien
Lecture 1 Introduction C++ von
Lecture 1 Introduction C++Lecture 1 Introduction C++
Lecture 1 Introduction C++Ajay Khatri
210 views167 Folien
Competitive Programming Guide von
Competitive Programming GuideCompetitive Programming Guide
Competitive Programming GuideAjay Khatri
356 views53 Folien
Zotero : Personal Research Assistant von
Zotero : Personal Research AssistantZotero : Personal Research Assistant
Zotero : Personal Research AssistantAjay Khatri
85 views26 Folien
Basics of C programming - day 2 von
Basics of C programming - day 2Basics of C programming - day 2
Basics of C programming - day 2Ajay Khatri
151 views38 Folien
Introduction To MySQL Lecture 1 von
Introduction To MySQL Lecture 1Introduction To MySQL Lecture 1
Introduction To MySQL Lecture 1Ajay Khatri
142 views60 Folien

Más de Ajay Khatri(9)

Ajay khatri resume august 2021 von Ajay Khatri
Ajay khatri resume august 2021Ajay khatri resume august 2021
Ajay khatri resume august 2021
Ajay Khatri42 views
Lecture 1 Introduction C++ von Ajay Khatri
Lecture 1 Introduction C++Lecture 1 Introduction C++
Lecture 1 Introduction C++
Ajay Khatri210 views
Competitive Programming Guide von Ajay Khatri
Competitive Programming GuideCompetitive Programming Guide
Competitive Programming Guide
Ajay Khatri356 views
Zotero : Personal Research Assistant von Ajay Khatri
Zotero : Personal Research AssistantZotero : Personal Research Assistant
Zotero : Personal Research Assistant
Ajay Khatri85 views
Basics of C programming - day 2 von Ajay Khatri
Basics of C programming - day 2Basics of C programming - day 2
Basics of C programming - day 2
Ajay Khatri151 views
Introduction To MySQL Lecture 1 von Ajay Khatri
Introduction To MySQL Lecture 1Introduction To MySQL Lecture 1
Introduction To MySQL Lecture 1
Ajay Khatri142 views
Introduction to PHP Lecture 1 von Ajay Khatri
Introduction to PHP Lecture 1Introduction to PHP Lecture 1
Introduction to PHP Lecture 1
Ajay Khatri150 views
Basics of Java Script (JS) von Ajay Khatri
Basics of Java Script (JS)Basics of Java Script (JS)
Basics of Java Script (JS)
Ajay Khatri541 views
CSS Basics (Cascading Style Sheet) von Ajay Khatri
CSS Basics (Cascading Style Sheet)CSS Basics (Cascading Style Sheet)
CSS Basics (Cascading Style Sheet)
Ajay Khatri353 views

Último

Class 9 lesson plans von
Class 9 lesson plansClass 9 lesson plans
Class 9 lesson plansTARIQ KHAN
68 views34 Folien
MIXING OF PHARMACEUTICALS.pptx von
MIXING OF PHARMACEUTICALS.pptxMIXING OF PHARMACEUTICALS.pptx
MIXING OF PHARMACEUTICALS.pptxAnupkumar Sharma
117 views35 Folien
Meet the Bible von
Meet the BibleMeet the Bible
Meet the BibleSteve Thomason
76 views80 Folien
Education of marginalized and socially disadvantages segments.pptx von
Education of marginalized and socially disadvantages segments.pptxEducation of marginalized and socially disadvantages segments.pptx
Education of marginalized and socially disadvantages segments.pptxGarimaBhati5
40 views36 Folien
The Future of Micro-credentials: Is Small Really Beautiful? von
The Future of Micro-credentials:  Is Small Really Beautiful?The Future of Micro-credentials:  Is Small Really Beautiful?
The Future of Micro-credentials: Is Small Really Beautiful?Mark Brown
48 views35 Folien
Papal.pdf von
Papal.pdfPapal.pdf
Papal.pdfMariaKenney3
57 views24 Folien

Último(20)

Class 9 lesson plans von TARIQ KHAN
Class 9 lesson plansClass 9 lesson plans
Class 9 lesson plans
TARIQ KHAN68 views
Education of marginalized and socially disadvantages segments.pptx von GarimaBhati5
Education of marginalized and socially disadvantages segments.pptxEducation of marginalized and socially disadvantages segments.pptx
Education of marginalized and socially disadvantages segments.pptx
GarimaBhati540 views
The Future of Micro-credentials: Is Small Really Beautiful? von Mark Brown
The Future of Micro-credentials:  Is Small Really Beautiful?The Future of Micro-credentials:  Is Small Really Beautiful?
The Future of Micro-credentials: Is Small Really Beautiful?
Mark Brown48 views
EILO EXCURSION PROGRAMME 2023 von info33492
EILO EXCURSION PROGRAMME 2023EILO EXCURSION PROGRAMME 2023
EILO EXCURSION PROGRAMME 2023
info33492181 views
JRN 362 - Lecture Twenty-Three (Epilogue) von Rich Hanley
JRN 362 - Lecture Twenty-Three (Epilogue)JRN 362 - Lecture Twenty-Three (Epilogue)
JRN 362 - Lecture Twenty-Three (Epilogue)
Rich Hanley41 views
NodeJS and ExpressJS.pdf von ArthyR3
NodeJS and ExpressJS.pdfNodeJS and ExpressJS.pdf
NodeJS and ExpressJS.pdf
ArthyR347 views
Parts of Speech (1).pptx von mhkpreet001
Parts of Speech (1).pptxParts of Speech (1).pptx
Parts of Speech (1).pptx
mhkpreet00143 views
Guess Papers ADC 1, Karachi University von Khalid Aziz
Guess Papers ADC 1, Karachi UniversityGuess Papers ADC 1, Karachi University
Guess Papers ADC 1, Karachi University
Khalid Aziz83 views
Career Building in AI - Technologies, Trends and Opportunities von WebStackAcademy
Career Building in AI - Technologies, Trends and OpportunitiesCareer Building in AI - Technologies, Trends and Opportunities
Career Building in AI - Technologies, Trends and Opportunities
WebStackAcademy41 views
CUNY IT Picciano.pptx von apicciano
CUNY IT Picciano.pptxCUNY IT Picciano.pptx
CUNY IT Picciano.pptx
apicciano60 views

Introduction to HTML