SlideShare a Scribd company logo
HTMLL E S S O N T W O : S T A R T I N G W I T H T H E
B A S I C S
B Y : L L OY D C H R I S TO P H E R M . E S T E B A N
STRUCTURE OF AN HTML
DOCUMENT
Elements
• The fundamental components of the structure of
a text document
Tags
• Commands written between less than (<) and
greater than (>) signs, also known as angle
brackets
• There are opening and closing tags and the
affected text is contained within the two tags
STRUCTURE OF AN HTML
DOCUMENT
• Opening tags that do not have closing tags are
referred to as EMPTY TAGS
Attributes
• Additional information included inside the
opening tag
Values
• Defines how an attribute would affect a tag
ANATOMY OF AN HTML ELEMENT
<h1 align=“center”> this is my text </h1>
Opening
tag
Value Contained text Closing tagAttribute
• An equal sign ( = ) comes after the attribute then followed
by a compatible value
• According to theWorld Wide Web Consortium (W3C), all
values should be enclosed in single ( ‘ ) or double ( “ )
quotation marks
• The contained text is the only part that would appear when
viewing the finished webpage document
• The closing tag should be preceded by a forward slash ( / )
STARTING AND FINISHING HTML
<html>
<head>
<title>
</title>
</head>
<body>
</body>
</html>
STARTING AND FINISHING HTML
<html> - indicates that you are creating an HTML document
<head> - provides information which is not displayed on the actual
webpage
<title> - the text that would appear on the browser’s title bar
</title>
</head>
<body> - everything that you want to appear on the
webpage itself should be placed here
</body>
</html>
• *Notice that the tags were indented in
order keep everything organized and to
avoid confusion.
*HTML follows the First In, Last Out
(FILO) principle.The first tag used
should be closed last and vice versa.
STARTING AND FINISHING HTML
Here is a list of BODYTag attributes:
ATTRIBUTE VALUES DESCRIPTION
1.bgcolor
• word color values (ex: blue,
red, black)
• Hexadecimal color values (ex:
#000000)
Sets the background
color of the webpage
2.background
• URL of the background
image
(ex:
http://www.images.com/pic1.j
pg)
Sets a background
image on the webpage
3.text
• word color values
• Hexadecimal color values
Sets the default font
color of all body text
STARTING AND FINISHING HTML
<html>
<head>
<title> SAMPLE FILE </title>
</head>
<body>
Hello! This is my sample
document.
</body>
</html
*The file was saved as
“SAMPLElessons.html”

More Related Content

What's hot

HTML Introduction
HTML IntroductionHTML Introduction
HTML Introductionc525600
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
Jussi Pohjolainen
 
Html 5
Html 5Html 5
HTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageHTML- Hyper Text Markup Language
HTML- Hyper Text Markup Language
Trinity Dwarka
 
Xhtml
XhtmlXhtml
Xhtml
Abdul Khan
 
Notes4
Notes4Notes4
What is html xml and xhtml
What is html xml and xhtmlWhat is html xml and xhtml
What is html xml and xhtml
FkdiMl
 
Html vs xhtml
Html vs xhtmlHtml vs xhtml
Html vs xhtml
Yastee Shah
 
Unit ii java script and xhtml documents and dynamic documents with javascript
Unit ii java script and xhtml documents and dynamic documents with javascriptUnit ii java script and xhtml documents and dynamic documents with javascript
Unit ii java script and xhtml documents and dynamic documents with javascript
zahid7578
 
Html
HtmlHtml
Xml 215-presentation
Xml 215-presentationXml 215-presentation
Xml 215-presentation
Manish Chaurasia
 
HTML
HTMLHTML
Html grade 11
Html grade 11Html grade 11
Html grade 11
Nelly Mofokeng
 
Html notes
Html notesHtml notes
Html notes
Ismail Mukiibi
 
Html5
Html5 Html5
Html5
Shiva RamDam
 
215077679 introduction to HTML
215077679  introduction to HTML215077679  introduction to HTML
215077679 introduction to HTML
Xolani Madlopha
 

What's hot (20)

HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
Html
HtmlHtml
Html
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Html 5
Html 5Html 5
Html 5
 
HTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageHTML- Hyper Text Markup Language
HTML- Hyper Text Markup Language
 
Html
HtmlHtml
Html
 
Xhtml
XhtmlXhtml
Xhtml
 
Notes4
Notes4Notes4
Notes4
 
What is html xml and xhtml
What is html xml and xhtmlWhat is html xml and xhtml
What is html xml and xhtml
 
Html vs xhtml
Html vs xhtmlHtml vs xhtml
Html vs xhtml
 
XHTML
XHTMLXHTML
XHTML
 
Unit ii java script and xhtml documents and dynamic documents with javascript
Unit ii java script and xhtml documents and dynamic documents with javascriptUnit ii java script and xhtml documents and dynamic documents with javascript
Unit ii java script and xhtml documents and dynamic documents with javascript
 
Html
HtmlHtml
Html
 
Xml 215-presentation
Xml 215-presentationXml 215-presentation
Xml 215-presentation
 
HTML
HTMLHTML
HTML
 
Html grade 11
Html grade 11Html grade 11
Html grade 11
 
Html notes
Html notesHtml notes
Html notes
 
Html
HtmlHtml
Html
 
Html5
Html5 Html5
Html5
 
215077679 introduction to HTML
215077679  introduction to HTML215077679  introduction to HTML
215077679 introduction to HTML
 

Similar to Lesson 2 Starting with the basics

Html (hyper text markup language)
Html (hyper text markup language)Html (hyper text markup language)
Html (hyper text markup language)Denni Domingo
 
Computer fundamentals-internet p2
Computer fundamentals-internet p2Computer fundamentals-internet p2
Computer fundamentals-internet p2
Leo Mark Villar
 
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 - R.D.Sivakumar
HTML - R.D.SivakumarHTML - R.D.Sivakumar
HTML - R.D.Sivakumar
Sivakumar R D .
 
Basic tags in html
Basic tags in htmlBasic tags in html
Basic tags in html
Rita Gokani
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
Sayan De
 
web development.pdf
web development.pdfweb development.pdf
web development.pdf
BagHarki
 
Ankit (221348051) BCA-Aiml.pptx
Ankit (221348051) BCA-Aiml.pptxAnkit (221348051) BCA-Aiml.pptx
Ankit (221348051) BCA-Aiml.pptx
HKShab
 
Learning html. (Part- 1)
Learning html. (Part- 1)Learning html. (Part- 1)
Learning html. (Part- 1)
manya abrol
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
Himanshu Pathak
 
Html
HtmlHtml
Html for beginners part I
Html for beginners part IHtml for beginners part I
Html for beginners part I
Unaib Aslam
 
html complete notes
html complete noteshtml complete notes
html complete notes
onactiontv
 
html compete notes basic to advanced
html compete notes basic to advancedhtml compete notes basic to advanced
html compete notes basic to advanced
virtualworld14
 
Learn html Basics
Learn html BasicsLearn html Basics
Learn html Basics
McSoftsis
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
palhaftab
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Shehzad Yaqoob
 
How to learn HTML in 10 Days
How to learn HTML in 10 DaysHow to learn HTML in 10 Days
How to learn HTML in 10 Days
Manoj kumar Deswal
 
learnhtmlbyvipuladissanayake-170516061515 (1).pptx
learnhtmlbyvipuladissanayake-170516061515 (1).pptxlearnhtmlbyvipuladissanayake-170516061515 (1).pptx
learnhtmlbyvipuladissanayake-170516061515 (1).pptx
ManuAbraham17
 

Similar to Lesson 2 Starting with the basics (20)

Html (hyper text markup language)
Html (hyper text markup language)Html (hyper text markup language)
Html (hyper text markup language)
 
Computer fundamentals-internet p2
Computer fundamentals-internet p2Computer fundamentals-internet p2
Computer fundamentals-internet p2
 
Hyper Text Mark-up Language
Hyper Text Mark-up Language Hyper Text Mark-up Language
Hyper Text Mark-up Language
 
HTML - R.D.Sivakumar
HTML - R.D.SivakumarHTML - R.D.Sivakumar
HTML - R.D.Sivakumar
 
Basic tags in html
Basic tags in htmlBasic tags in html
Basic tags in html
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
web development.pdf
web development.pdfweb development.pdf
web development.pdf
 
Html
HtmlHtml
Html
 
Ankit (221348051) BCA-Aiml.pptx
Ankit (221348051) BCA-Aiml.pptxAnkit (221348051) BCA-Aiml.pptx
Ankit (221348051) BCA-Aiml.pptx
 
Learning html. (Part- 1)
Learning html. (Part- 1)Learning html. (Part- 1)
Learning html. (Part- 1)
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Html
HtmlHtml
Html
 
Html for beginners part I
Html for beginners part IHtml for beginners part I
Html for beginners part I
 
html complete notes
html complete noteshtml complete notes
html complete notes
 
html compete notes basic to advanced
html compete notes basic to advancedhtml compete notes basic to advanced
html compete notes basic to advanced
 
Learn html Basics
Learn html BasicsLearn html Basics
Learn html Basics
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
How to learn HTML in 10 Days
How to learn HTML in 10 DaysHow to learn HTML in 10 Days
How to learn HTML in 10 Days
 
learnhtmlbyvipuladissanayake-170516061515 (1).pptx
learnhtmlbyvipuladissanayake-170516061515 (1).pptxlearnhtmlbyvipuladissanayake-170516061515 (1).pptx
learnhtmlbyvipuladissanayake-170516061515 (1).pptx
 

More from ChristopherEsteban2

ICT CONTENT DEVELOPMENT
ICT CONTENT DEVELOPMENTICT CONTENT DEVELOPMENT
ICT CONTENT DEVELOPMENT
ChristopherEsteban2
 
MIL Evolution of media to new media
MIL Evolution of media to new mediaMIL Evolution of media to new media
MIL Evolution of media to new media
ChristopherEsteban2
 
Adobe ps selection tools
Adobe ps selection toolsAdobe ps selection tools
Adobe ps selection tools
ChristopherEsteban2
 
Adobe ps color palettes
Adobe ps color palettesAdobe ps color palettes
Adobe ps color palettes
ChristopherEsteban2
 
Adobe ps common file types
Adobe ps common file typesAdobe ps common file types
Adobe ps common file types
ChristopherEsteban2
 
M.I.L Characteristics of a good media practitioner
M.I.L Characteristics of a good media practitionerM.I.L Characteristics of a good media practitioner
M.I.L Characteristics of a good media practitioner
ChristopherEsteban2
 
introduction to layers
introduction to layersintroduction to layers
introduction to layers
ChristopherEsteban2
 
Media, information and technology literacy
Media, information and technology literacy Media, information and technology literacy
Media, information and technology literacy
ChristopherEsteban2
 
introduction to media and information literacy
introduction to media and information literacy introduction to media and information literacy
introduction to media and information literacy
ChristopherEsteban2
 
Introduction to information and communication technologies
Introduction to information and communication technologiesIntroduction to information and communication technologies
Introduction to information and communication technologies
ChristopherEsteban2
 
Adobe PS raster image
Adobe PS raster imageAdobe PS raster image
Adobe PS raster image
ChristopherEsteban2
 
Adobe Photoshop intro to interface
Adobe Photoshop intro to interfaceAdobe Photoshop intro to interface
Adobe Photoshop intro to interface
ChristopherEsteban2
 
Introduction to adobe Photoshop
Introduction to adobe PhotoshopIntroduction to adobe Photoshop
Introduction to adobe Photoshop
ChristopherEsteban2
 
Characteristics of a good media practitioner
Characteristics of a good media practitioner Characteristics of a good media practitioner
Characteristics of a good media practitioner
ChristopherEsteban2
 
Introduction to Media and Information Literacy
Introduction to Media and Information LiteracyIntroduction to Media and Information Literacy
Introduction to Media and Information Literacy
ChristopherEsteban2
 
Three Literacy: Media, Information, Technology Literacy.
Three Literacy: Media, Information, Technology Literacy. Three Literacy: Media, Information, Technology Literacy.
Three Literacy: Media, Information, Technology Literacy.
ChristopherEsteban2
 
HTML Fundamentals
HTML FundamentalsHTML Fundamentals
HTML Fundamentals
ChristopherEsteban2
 
Data and Operators
Data and OperatorsData and Operators
Data and Operators
ChristopherEsteban2
 
Introduction to Flowchart
Introduction to FlowchartIntroduction to Flowchart
Introduction to Flowchart
ChristopherEsteban2
 
Introduction to Algorithm
Introduction to AlgorithmIntroduction to Algorithm
Introduction to Algorithm
ChristopherEsteban2
 

More from ChristopherEsteban2 (20)

ICT CONTENT DEVELOPMENT
ICT CONTENT DEVELOPMENTICT CONTENT DEVELOPMENT
ICT CONTENT DEVELOPMENT
 
MIL Evolution of media to new media
MIL Evolution of media to new mediaMIL Evolution of media to new media
MIL Evolution of media to new media
 
Adobe ps selection tools
Adobe ps selection toolsAdobe ps selection tools
Adobe ps selection tools
 
Adobe ps color palettes
Adobe ps color palettesAdobe ps color palettes
Adobe ps color palettes
 
Adobe ps common file types
Adobe ps common file typesAdobe ps common file types
Adobe ps common file types
 
M.I.L Characteristics of a good media practitioner
M.I.L Characteristics of a good media practitionerM.I.L Characteristics of a good media practitioner
M.I.L Characteristics of a good media practitioner
 
introduction to layers
introduction to layersintroduction to layers
introduction to layers
 
Media, information and technology literacy
Media, information and technology literacy Media, information and technology literacy
Media, information and technology literacy
 
introduction to media and information literacy
introduction to media and information literacy introduction to media and information literacy
introduction to media and information literacy
 
Introduction to information and communication technologies
Introduction to information and communication technologiesIntroduction to information and communication technologies
Introduction to information and communication technologies
 
Adobe PS raster image
Adobe PS raster imageAdobe PS raster image
Adobe PS raster image
 
Adobe Photoshop intro to interface
Adobe Photoshop intro to interfaceAdobe Photoshop intro to interface
Adobe Photoshop intro to interface
 
Introduction to adobe Photoshop
Introduction to adobe PhotoshopIntroduction to adobe Photoshop
Introduction to adobe Photoshop
 
Characteristics of a good media practitioner
Characteristics of a good media practitioner Characteristics of a good media practitioner
Characteristics of a good media practitioner
 
Introduction to Media and Information Literacy
Introduction to Media and Information LiteracyIntroduction to Media and Information Literacy
Introduction to Media and Information Literacy
 
Three Literacy: Media, Information, Technology Literacy.
Three Literacy: Media, Information, Technology Literacy. Three Literacy: Media, Information, Technology Literacy.
Three Literacy: Media, Information, Technology Literacy.
 
HTML Fundamentals
HTML FundamentalsHTML Fundamentals
HTML Fundamentals
 
Data and Operators
Data and OperatorsData and Operators
Data and Operators
 
Introduction to Flowchart
Introduction to FlowchartIntroduction to Flowchart
Introduction to Flowchart
 
Introduction to Algorithm
Introduction to AlgorithmIntroduction to Algorithm
Introduction to Algorithm
 

Recently uploaded

Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
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
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
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
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
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
 
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
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
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
 
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
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
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
 
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
 
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
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 

Recently uploaded (20)

Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
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
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
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
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
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
 
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
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
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
 
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
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
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...
 
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
 
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
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 

Lesson 2 Starting with the basics

  • 1. HTMLL E S S O N T W O : S T A R T I N G W I T H T H E B A S I C S B Y : L L OY D C H R I S TO P H E R M . E S T E B A N
  • 2. STRUCTURE OF AN HTML DOCUMENT Elements • The fundamental components of the structure of a text document Tags • Commands written between less than (<) and greater than (>) signs, also known as angle brackets • There are opening and closing tags and the affected text is contained within the two tags
  • 3. STRUCTURE OF AN HTML DOCUMENT • Opening tags that do not have closing tags are referred to as EMPTY TAGS Attributes • Additional information included inside the opening tag Values • Defines how an attribute would affect a tag
  • 4. ANATOMY OF AN HTML ELEMENT <h1 align=“center”> this is my text </h1> Opening tag Value Contained text Closing tagAttribute • An equal sign ( = ) comes after the attribute then followed by a compatible value • According to theWorld Wide Web Consortium (W3C), all values should be enclosed in single ( ‘ ) or double ( “ ) quotation marks • The contained text is the only part that would appear when viewing the finished webpage document • The closing tag should be preceded by a forward slash ( / )
  • 5. STARTING AND FINISHING HTML <html> <head> <title> </title> </head> <body> </body> </html>
  • 6. STARTING AND FINISHING HTML <html> - indicates that you are creating an HTML document <head> - provides information which is not displayed on the actual webpage <title> - the text that would appear on the browser’s title bar </title> </head> <body> - everything that you want to appear on the webpage itself should be placed here </body> </html> • *Notice that the tags were indented in order keep everything organized and to avoid confusion. *HTML follows the First In, Last Out (FILO) principle.The first tag used should be closed last and vice versa.
  • 7. STARTING AND FINISHING HTML Here is a list of BODYTag attributes: ATTRIBUTE VALUES DESCRIPTION 1.bgcolor • word color values (ex: blue, red, black) • Hexadecimal color values (ex: #000000) Sets the background color of the webpage 2.background • URL of the background image (ex: http://www.images.com/pic1.j pg) Sets a background image on the webpage 3.text • word color values • Hexadecimal color values Sets the default font color of all body text
  • 8. STARTING AND FINISHING HTML <html> <head> <title> SAMPLE FILE </title> </head> <body> Hello! This is my sample document. </body> </html *The file was saved as “SAMPLElessons.html”