SlideShare a Scribd company logo
1 of 12
What is HTML?
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 documents are described by HTML tags
Each HTML tag describes different document
content
HTML Example
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
The DOCTYPE declaration defines the document type
The text between <html> and </html> describes the web document
The text between <body> and </body> describes the visible page content
The text between <h1> and </h1> describes a heading
The text between <p> and </p> describes paragraph
HTML Tags
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
the end tag
• The end tag is written like the start tag, but with a slash
before the tag name
HTML Page Structure
Write HTML Using Notepad or TextEdit
HTML can be edited by using a professional
HTML editor like:
• Adobe Dreamweaver
• Microsoft Expression Web
• CoffeeCup 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.
Follow the 4 steps below to create
your first web page with Notepad.
 Step 1: Open Notepad
• To open Notepad in Windows 7 or earlier:
 Step 2: Write Some HTML
 Step 3: 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.
 Step 4: View HTML Page in Your Browser
• Double-click your saved HTML file.
HTML Headings
HTML headings are defined with the <h1> to <h6> tags:
HTML Paragraphs
HTML paragraphs are defined with the <p> text </p> tag:
HTML Links
HTML links are defined with the <a> tag:
Example: <a href="http://www.w3schools.com">This is a link</a>
HTML Images
HTML images are defined with the <img> tag.
The source file (src), alternative text (alt), and size (width and
height) are provided as attributes:
Example: <img src=“pic.jpg" alt=“google.com" width="104"
height="142“>
HTML Basic Tags Examples
HTML documents are made up by HTML
elements.
HTML Elements
HTML elements are written with a start tag, with
an end tag, with the content in between:
<tagname>content</tagname>
Empty HTML Elements
HTML elements with no content are called empty
elements.
<br> is an empty element without a closing tag
(the <br> tag defines a line break).
Empty element can be "closed" in the opening tag
like this: <br>
Exercise!!! 1
Save as
MyProfile.htmPERSONAL INFORMATION
..
..
ACADEMIC FORMATION
..
..
PERSONAL SKILLS
..
..
INFORMATIC SKILLS
..
..
PROFESSIONAL EXPERIENCE
..
..
 <table border=“1” style= “width:100%”> BEGIN OF THE TABLE
<tr>
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Points</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>
</tr>
<tr>
<td>Eve</td>
<td>Jackson</td>
<td>94</td>
</tr>
</table> END OF THE TABLE
Defining HTML Tables
`
1st Row w/Heading
2nd Row
3rd Row
Example explained:
•Tables are defined with the <table>
tag.
•Tables are divided into table rows
with the <tr> tag.
•Table rows are divided into table
data with the <td> tag.
•A table row can also be divided into
table headings with the <th> tag.
HTML Table Example (output)
Numbe
r
First
Name
Last
Name
Point
s
1 EVE JACKSO
N
94
Add another row….
Another row…
In your html code….
Exercise!!! 2 Save as
MySched.htm
Time Days Subject Teache
r
Room Units
MWF
TTH
Time Days Subject Teache
r
Room Units
SAT
Time Days Subject Teache
r
Room Units

More Related Content

What's hot

What's hot (20)

Basic Html Knowledge for students
Basic Html Knowledge for studentsBasic Html Knowledge for students
Basic Html Knowledge for students
 
HTML
HTMLHTML
HTML
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
basic introduction of html tags
basic introduction  of html tagsbasic introduction  of html tags
basic introduction of html tags
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Hyper Text Mark-up Language
Hyper Text Mark-up Language Hyper Text Mark-up Language
Hyper Text Mark-up Language
 
Html
HtmlHtml
Html
 
Html Slide Part-1
Html Slide Part-1Html Slide Part-1
Html Slide Part-1
 
Learn html Basics
Learn html BasicsLearn html Basics
Learn html Basics
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
Html (hyper text markup language)
Html (hyper text markup language)Html (hyper text markup language)
Html (hyper text markup language)
 
Crash Course Web - HTML Presentation
Crash Course Web - HTML PresentationCrash Course Web - HTML Presentation
Crash Course Web - HTML Presentation
 
An introduction to html
An introduction to htmlAn introduction to html
An introduction to html
 
[Basic HTML/CSS] 1. html - basic tags
[Basic HTML/CSS] 1. html - basic tags[Basic HTML/CSS] 1. html - basic tags
[Basic HTML/CSS] 1. html - basic tags
 
Html
HtmlHtml
Html
 
Css
CssCss
Css
 
Html training part1
Html training part1Html training part1
Html training part1
 
Html and its tags
Html and its tagsHtml and its tags
Html and its tags
 
Web designing using html
Web designing using htmlWeb designing using html
Web designing using html
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 

Viewers also liked

PS CH 10 matter properties and changes edited
PS CH 10 matter properties and changes editedPS CH 10 matter properties and changes edited
PS CH 10 matter properties and changes editedEsther Herrera
 
Chapter36a
Chapter36aChapter36a
Chapter36aYing Liu
 
Test for equal variances
Test for equal variancesTest for equal variances
Test for equal variancesJohn Smith
 
NFL 2013 Combine Data Multivariate Analysis
NFL 2013 Combine Data Multivariate AnalysisNFL 2013 Combine Data Multivariate Analysis
NFL 2013 Combine Data Multivariate AnalysisJohn Michael Croft
 
Pm m23 & pmnm06 week 3 lectures 2015
Pm m23 & pmnm06 week 3 lectures 2015Pm m23 & pmnm06 week 3 lectures 2015
Pm m23 & pmnm06 week 3 lectures 2015pdiddyboy2
 
PMM23 Week 3 Lectures
PMM23 Week 3 LecturesPMM23 Week 3 Lectures
PMM23 Week 3 Lecturespdiddyboy2
 
Dte Energy Grant
Dte Energy GrantDte Energy Grant
Dte Energy Grantshoffma5
 
Univariate, bivariate analysis, hypothesis testing, chi square
Univariate, bivariate analysis, hypothesis testing, chi squareUnivariate, bivariate analysis, hypothesis testing, chi square
Univariate, bivariate analysis, hypothesis testing, chi squarekongara
 
One Way Anova
One Way AnovaOne Way Anova
One Way Anovashoffma5
 
Analysis of data in research
Analysis of data in researchAnalysis of data in research
Analysis of data in researchAbhijeet Birari
 

Viewers also liked (20)

Understanding Subroutines and Functions in VB6
Understanding Subroutines and Functions in VB6Understanding Subroutines and Functions in VB6
Understanding Subroutines and Functions in VB6
 
Ch 2 data analysis
Ch 2 data analysisCh 2 data analysis
Ch 2 data analysis
 
PS CH 10 matter properties and changes edited
PS CH 10 matter properties and changes editedPS CH 10 matter properties and changes edited
PS CH 10 matter properties and changes edited
 
Chap017
Chap017Chap017
Chap017
 
Chapter36a
Chapter36aChapter36a
Chapter36a
 
121 vhgfhg
121 vhgfhg121 vhgfhg
121 vhgfhg
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Test for equal variances
Test for equal variancesTest for equal variances
Test for equal variances
 
NFL 2013 Combine Data Multivariate Analysis
NFL 2013 Combine Data Multivariate AnalysisNFL 2013 Combine Data Multivariate Analysis
NFL 2013 Combine Data Multivariate Analysis
 
Pm m23 & pmnm06 week 3 lectures 2015
Pm m23 & pmnm06 week 3 lectures 2015Pm m23 & pmnm06 week 3 lectures 2015
Pm m23 & pmnm06 week 3 lectures 2015
 
PMM23 Week 3 Lectures
PMM23 Week 3 LecturesPMM23 Week 3 Lectures
PMM23 Week 3 Lectures
 
Introduction of matrices
Introduction of matricesIntroduction of matrices
Introduction of matrices
 
Stat topics
Stat topicsStat topics
Stat topics
 
Dte Energy Grant
Dte Energy GrantDte Energy Grant
Dte Energy Grant
 
Statistical learning intro
Statistical learning introStatistical learning intro
Statistical learning intro
 
Univariate, bivariate analysis, hypothesis testing, chi square
Univariate, bivariate analysis, hypothesis testing, chi squareUnivariate, bivariate analysis, hypothesis testing, chi square
Univariate, bivariate analysis, hypothesis testing, chi square
 
Course Catalog 2016 - 17
Course Catalog 2016 - 17Course Catalog 2016 - 17
Course Catalog 2016 - 17
 
One Way Anova
One Way AnovaOne Way Anova
One Way Anova
 
T test and ANOVA
T test and ANOVAT test and ANOVA
T test and ANOVA
 
Analysis of data in research
Analysis of data in researchAnalysis of data in research
Analysis of data in research
 

Similar to HTML for Education (20)

Learn html from www
Learn html from wwwLearn html from www
Learn html from www
 
Html
HtmlHtml
Html
 
Html notes
Html notesHtml notes
Html notes
 
Html basics NOTE
Html basics NOTEHtml basics NOTE
Html basics NOTE
 
Html basics
Html basicsHtml basics
Html basics
 
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
 
SEO Training in Noida- Skyinfotech.in
SEO Training in Noida- Skyinfotech.inSEO Training in Noida- Skyinfotech.in
SEO Training in Noida- Skyinfotech.in
 
Computer fundamentals-internet p2
Computer fundamentals-internet p2Computer fundamentals-internet p2
Computer fundamentals-internet p2
 
Learning html. (Part- 1)
Learning html. (Part- 1)Learning html. (Part- 1)
Learning html. (Part- 1)
 
Presentation on HTML
Presentation on HTMLPresentation on HTML
Presentation on HTML
 
Html basics
Html basicsHtml basics
Html basics
 
Html basic file
Html basic fileHtml basic file
Html basic file
 
Html basics
Html basicsHtml basics
Html basics
 
Html BASICS
Html BASICSHtml BASICS
Html BASICS
 
Html basics 1
Html basics 1Html basics 1
Html basics 1
 
Html basics
Html basicsHtml basics
Html basics
 
Html basics
Html basicsHtml basics
Html basics
 
HTML_Basics.pdf
HTML_Basics.pdfHTML_Basics.pdf
HTML_Basics.pdf
 

More from Notre Dame of Midsayap College (13)

Creating Reports in VB6 using MS Access
Creating Reports in VB6 using MS AccessCreating Reports in VB6 using MS Access
Creating Reports in VB6 using MS Access
 
Is 21 -_databases
Is 21 -_databasesIs 21 -_databases
Is 21 -_databases
 
Arrays
ArraysArrays
Arrays
 
Educational technology final
Educational technology finalEducational technology final
Educational technology final
 
Systems Analysis and Design for BSA
Systems Analysis and Design for BSASystems Analysis and Design for BSA
Systems Analysis and Design for BSA
 
Learning session on research
Learning session on researchLearning session on research
Learning session on research
 
CSE 312 web programming
CSE 312 web programmingCSE 312 web programming
CSE 312 web programming
 
Email Gmail
Email GmailEmail Gmail
Email Gmail
 
Introduction to Computer
Introduction to ComputerIntroduction to Computer
Introduction to Computer
 
What is Internet
What is InternetWhat is Internet
What is Internet
 
Cont ADO Data Control
Cont ADO Data ControlCont ADO Data Control
Cont ADO Data Control
 
Using ADO Data Control
Using ADO Data ControlUsing ADO Data Control
Using ADO Data Control
 
VB6 Using ADO Data Control
VB6 Using ADO Data ControlVB6 Using ADO Data Control
VB6 Using ADO Data Control
 

Recently uploaded

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 

Recently uploaded (20)

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 

HTML for Education

  • 1. What is HTML? 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 documents are described by HTML tags Each HTML tag describes different document content
  • 2. HTML Example <!DOCTYPE html> <html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html> The DOCTYPE declaration defines the document type The text between <html> and </html> describes the web document The text between <body> and </body> describes the visible page content The text between <h1> and </h1> describes a heading The text between <p> and </p> describes paragraph
  • 3. HTML Tags 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 the end tag • The end tag is written like the start tag, but with a slash before the tag name
  • 5. Write HTML Using Notepad or TextEdit HTML can be edited by using a professional HTML editor like: • Adobe Dreamweaver • Microsoft Expression Web • CoffeeCup 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.
  • 6. Follow the 4 steps below to create your first web page with Notepad.  Step 1: Open Notepad • To open Notepad in Windows 7 or earlier:  Step 2: Write Some HTML  Step 3: 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.  Step 4: View HTML Page in Your Browser • Double-click your saved HTML file.
  • 7. HTML Headings HTML headings are defined with the <h1> to <h6> tags: HTML Paragraphs HTML paragraphs are defined with the <p> text </p> tag: HTML Links HTML links are defined with the <a> tag: Example: <a href="http://www.w3schools.com">This is a link</a> HTML Images HTML images are defined with the <img> tag. The source file (src), alternative text (alt), and size (width and height) are provided as attributes: Example: <img src=“pic.jpg" alt=“google.com" width="104" height="142“> HTML Basic Tags Examples
  • 8. HTML documents are made up by HTML elements. HTML Elements HTML elements are written with a start tag, with an end tag, with the content in between: <tagname>content</tagname> Empty HTML Elements HTML elements with no content are called empty elements. <br> is an empty element without a closing tag (the <br> tag defines a line break). Empty element can be "closed" in the opening tag like this: <br>
  • 9. Exercise!!! 1 Save as MyProfile.htmPERSONAL INFORMATION .. .. ACADEMIC FORMATION .. .. PERSONAL SKILLS .. .. INFORMATIC SKILLS .. .. PROFESSIONAL EXPERIENCE .. ..
  • 10.  <table border=“1” style= “width:100%”> BEGIN OF THE TABLE <tr> <tr> <th>Firstname</th> <th>Lastname</th> <th>Points</th> </tr> <tr> <td>Jill</td> <td>Smith</td> <td>50</td> </tr> <tr> <td>Eve</td> <td>Jackson</td> <td>94</td> </tr> </table> END OF THE TABLE Defining HTML Tables ` 1st Row w/Heading 2nd Row 3rd Row Example explained: •Tables are defined with the <table> tag. •Tables are divided into table rows with the <tr> tag. •Table rows are divided into table data with the <td> tag. •A table row can also be divided into table headings with the <th> tag.
  • 11. HTML Table Example (output) Numbe r First Name Last Name Point s 1 EVE JACKSO N 94 Add another row…. Another row… In your html code….
  • 12. Exercise!!! 2 Save as MySched.htm Time Days Subject Teache r Room Units MWF TTH Time Days Subject Teache r Room Units SAT Time Days Subject Teache r Room Units