Z
Week 7:
How the Web Works
Using HTML
Subject Code: COMP121
By: Marlon Jamera
Email: mbjamera@ama.edu.ph
Z
How the Web Works
Using HTML
Z
Review: Website Basics
and Categories
• It is a presentation tool; a way to
communicate; learning and teaching tool
and a marketing tool.
a. Website
b. Search Engine
c. Web Browser
d. Website Application
Z
Review: Website Basics
and Categories
• It is an application on the WWW that run
on the user’s server or computer and are
executed by the browser installed on the
user’s computer.
a. Client-Side Application
b. Server-Side Application
c. Browser Application
d. Website Application
Z
Review: Website Basics
and Categories
• A web based application that runs on the
web or host server.
a. Client-Side Application
b. Server-Side Application
c. Browser Application
d. Website Application
Z
Review: Website Basics
and Categories
• A collection of information organized in
to records of information so a computer
program can quickly access and select
desired pieces of data.
a. CGI
b. Database
c. Web Apps
d. Storage
Z
Review: Website Basics
and Categories
• A set of tags are used to mark up plain
text so that a browser application knows
how to display the text.
a. XHTML
b. HTML
c. CSS
d. CGI
Z
Scope of the Lesson
• Introduction to HTML
• HTML elements and tags
• Code with HTML
• Types of HTML tags
• Headings and Paragraphs
• Comments in HTML
• Text Formatting tags
• Background and Text Color tags
Z
Scope of the Lesson
• Introduction to HTML
• HTML elements and tags
• Code with HTML
• Types of HTML tags
• Headings and Paragraphs
• Comments in HTML
• Text Formatting tags
• Background and Text Color tags
Z
Learning Outcomes
By the end of the lesson, you will be
familiar and know how the website works
using HTML.
• Discuss the basic coding of HTML.
• Understand the coding syntax of HTML.
• Explain thoroughly the coding styles and
techniques of the HTML.
Z
How the Web Works?
• WWW use classical client / server
architecture
• HTTP is a text based request-response
protocol.
Z
How the Web Works?
Page request
Client running a
Web Browser
Server running Web
Server Software
(IIS, Apache, etc.)
Server response
HTTP
HTTP
Z
What is a Web Page?
• Web Pages are text files containing
HTML.
• HTML – Hyper Text Markup Language
• A notation describing document structure
(semantic markup) and formatting
(presentation markup)
• The markup tags provide information
about the page content structure.
Z
Creating HTML Pages
• An html file must have an .htm or .html
file extension.
• HTML files can be created with text
editors: Notepad, Notepad++ and PSPad.
• Or HTML editors: Microsoft FrontPage,
Mcrodmedia Dreamweaver, Netscape
Composer and Expression Web.
Z
Introduction to HTML
• With HTML, we can create our own
website.
• HTML is not a programming language, it
is a markup language
• A markup language is a set of markup
tags.
• HTML uses markup tags to describe web
pages.
• HTML is not case sensitive language.
Z
HTML Elements and Tags
• A tag is always enclosed in angle
brackets (<>) like <html>
• HTML tags normally come in pairs like
<html> and </html>.
• Start tag = <html>
• End tag = </html>
• Start tags and closing tags are also called
opening tags and closing tags.
Z
About the Main Tags
• <html>
• Describe html web page that is to be
viewed by a web browser.
• <head>
• This defines the header section of the
page.
• <title>
• This shows the caption at the title bar of
the page.
• <body>
• This tag show contents of the web page.
Z
How to Start?
• Write html code in notepad.
• Save the File with (.html) extension.
• View the page in any browsers like
google chrome, mozilla firefox or safari.
• The purpose of these browsers is to read
html documents and display them as web
pages.
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>
<p>This is some text...</p>
</body>
</html>
test.html
First HTML Page
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>
<p>This is some text...</p>
</body>
</html>
Opening tag
Closing tag
An HTML element consists of an opening tag, a closing tag and the content inside.
First HTML Page: tags
First HTML Page: header
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>
<p>This is some text...</p>
</body>
</html>
HTML header
Types of HTML Tags
• Hyperlink Tags
• Image Tags
• Text Formatting Tags
<a href="http://www.ama.edu.ph/"
title=“AMA University">Link to AMA Website</a>
<img src="logo.jpeg" alt="logo" />
This text is <em>emphasized.</em>
<br />new line<br />
This one is <strong>more emphasized.</strong>
Some Simple Tags: Example
<html>
<head>
<title>Simple Tags Demo</title>
</head>
<body>
<a href="http://www.ama.edu.ph/" title=
“AMA University">This is a link.</a>
<br />
<img src="logo.gif" alt="logo" />
<br />
<strong>Bold</strong> and <em>italic</em>
text.
</body>
</html>
Headings and Paragraphs
• Heading Tags (h1 – h6)
• Paragraph Tags
• Sections: div and span
<p>This is my first paragraph</p>
<p>This is my second paragraph</p>
<h1>Heading 1</h1>
<h2>Sub heading 2</h2>
<h3>Sub heading 3</h3>
<div style="background: skyblue;">
This is a div</div>
Headings and Paragraphs
Example<html>
<head><title>Headings and
paragraphs</title></head>
<body>
<h1>Heading 1</h1>
<h2>Sub heading 2</h2>
<h3>Sub heading 3</h3>
<p>This is my first paragraph</p>
<p>This is my second paragraph</p>
<div style="background:skyblue">
This is a div</div>
</body>
</html>
<head>Section: <title> tag
• Title should be placed between <head> and
</head> tags
• Used to specify a title in the window title bar
• Search engines and people rely on titles
<title>AMA University – 1st Trimester 2015
</title>
Comments: <!-- --> tag
• Comments can exist anywhere between the
<html></html> tags
• Comments start with <!-- and end with -->
<!–- AMA University Logo (a JPG file) -->
<img src="logo.jpg" alt=“AMA Logo">
<!–- Hyperlink to the web site -->
<a href="http://ama.edu.ph/">AMA
University</a>
<body> Section: Introduction
• The <body> section describes the viewable
portion of the page
• Starts after the <head> </head> section
• Begins with <body> and ends with </body>
<html>
<head><title>Test page</title></head>
<body>
<!-- This is the Web page body -->
</body>
</html>
Text Formatting
• Text formatting tags modify the text
between the opening tag and the closing
tag
• Ex. <b> Hello </b> makes “Hello” bold
• EX. <i> Hello </i> makes “Hello” italicized
• Ex. <u> Hello </u> makes “Hello” underlined
Text Formatting
<b></b> bold
<i></i> italicized
<u></u> underlined
<sup></sup> Samplesuperscript
<sub></sub> Samplesubscript
<strong></strong> strong
<em></em> emphasized
<pre></pre> Preformatted text
<blockquote></blockquote> Quoted text block
<del></del> Deleted text – strike through
Text Formatting: Example<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Notice</h1>
<p>This is a <em>sample</em> Web page.</p>
<p><pre>Next paragraph:
preformatted.</pre></p>
<h2>More Info</h2>
<p>Specifically, we’re using XHMTL 1.0
transitional.<br />
Next line.</p>
</body>
</html>
Background and Text Color Tag
• The attribute bgcolor is used for changing the back
ground color of the page.
• <body bgcolor=“Green” >
• Text is use to change the color of the enclosed text.
• <body text=“White”>
<html>
<head><title>Test page</title></head>
<body bgcolor=“Green”>
<h2 style="color:red">I am Red</h2>
</body>
</html>
Z
Let’s call it a day,
Thank you!

More Related Content

PPTX
Hyper text markup Language
PPTX
Images and Lists in HTML
PPTX
uptu web technology unit 2 html
PDF
What is HTML - An Introduction to HTML (Hypertext Markup Language)
PPTX
PPTX
Web1O1 - Intro to HTML/CSS
PDF
Introduction to WEB HTML, CSS
PPTX
Web Development
Hyper text markup Language
Images and Lists in HTML
uptu web technology unit 2 html
What is HTML - An Introduction to HTML (Hypertext Markup Language)
Web1O1 - Intro to HTML/CSS
Introduction to WEB HTML, CSS
Web Development

What's hot (20)

KEY
HTML/CSS Lecture 1
PPT
Lesson 2: Getting To Know HTML
PDF
Lecture-3: Introduction to html - Basic Structure & Block Building
PPTX
Html introduction by ikram niaz
PDF
Introduction to XML, XHTML and CSS
PPTX
Web page concept final ppt
PPTX
PPT
Origins and evolution of HTML and XHTML
PDF
PPTX
Web design - HTML (Hypertext Markup Language) introduction
PDF
Html css workshop, lesson 0, how browsers work
PPTX
HTML Start Up - Introduction to HTML
PPT
Introduction to HTML
PPTX
PPTX
HTML CSS and Web Development
PDF
Intro to HTML, CSS & JS - Internship Presentation Week-3
PDF
Introduction to Web Technology
PPT
html
PPT
php 1
HTML/CSS Lecture 1
Lesson 2: Getting To Know HTML
Lecture-3: Introduction to html - Basic Structure & Block Building
Html introduction by ikram niaz
Introduction to XML, XHTML and CSS
Web page concept final ppt
Origins and evolution of HTML and XHTML
Web design - HTML (Hypertext Markup Language) introduction
Html css workshop, lesson 0, how browsers work
HTML Start Up - Introduction to HTML
Introduction to HTML
HTML CSS and Web Development
Intro to HTML, CSS & JS - Internship Presentation Week-3
Introduction to Web Technology
html
php 1
Ad

Similar to How the Web Works Using HTML (20)

PPTX
KEY
Class1slides
PDF
Girl Develop It Cincinnati: Intro to HTML/CSS Class 1
PPTX
3 1-html-fundamentals-110302100520-phpapp02
PPTX
HTML Fundamentals
PPT
Html basics
PDF
Slides 2 - HTML
PDF
Let me design
PPTX
Html (hypertext markup language)
PDF
Html - Tutorial
PPTX
Web_Devp_HTML_CSS00jfhfghhdf0000000.pptx
PDF
"Innovative Web Design & Development Hub
PDF
Html tutorial
PDF
PDF
Html tutorial
PPT
Introduction to html
PPTX
001-Hyper-Text-Markup-Language-Lesson.pptx
PDF
HTML_Training_101
PPTX
Introduction to HTML
Class1slides
Girl Develop It Cincinnati: Intro to HTML/CSS Class 1
3 1-html-fundamentals-110302100520-phpapp02
HTML Fundamentals
Html basics
Slides 2 - HTML
Let me design
Html (hypertext markup language)
Html - Tutorial
Web_Devp_HTML_CSS00jfhfghhdf0000000.pptx
"Innovative Web Design & Development Hub
Html tutorial
Html tutorial
Introduction to html
001-Hyper-Text-Markup-Language-Lesson.pptx
HTML_Training_101
Introduction to HTML
Ad

More from Marlon Jamera (16)

PPTX
JavaScript Conditional Statements
PPTX
Tables and Forms in HTML
PPTX
Introduction to JavaScript
PPTX
ICT in Society
PPTX
ICT in Business
PPTX
The Future of ICT
PPTX
Trends in the Database
PPTX
Trends in Database Management
PPTX
Basic Concept of Database
PPTX
Website Basics and Categories
PPTX
Trends In Telecommunications
PPTX
Software Trends
PPTX
Hardware Technology Trends
PPTX
Familiarization with Web Tools
PPTX
Internet Applications
PPTX
Introduction to World Wide Web
JavaScript Conditional Statements
Tables and Forms in HTML
Introduction to JavaScript
ICT in Society
ICT in Business
The Future of ICT
Trends in the Database
Trends in Database Management
Basic Concept of Database
Website Basics and Categories
Trends In Telecommunications
Software Trends
Hardware Technology Trends
Familiarization with Web Tools
Internet Applications
Introduction to World Wide Web

Recently uploaded (20)

PDF
Paper: The World Game (s) Great Redesign.pdf
PPTX
Networking2-LECTURE2 this is our lessons
PPTX
IoT Lecture IoT Lecture IoT Lecture IoT Lecture
PDF
JuanConnect E-Wallet Guide for new users.pdf
PDF
How D365 Business Central is Powering the Modern SMB CFO.pdf
PPTX
Unguided-Transmission-Media-Wireless-Communication-Explained.pptx
PDF
ilide.info-huawei-odn-solution-introduction-pdf-pr_a17152ead66ea2617ffbd01e8c...
PPTX
北安普顿大学毕业证UoN成绩单GPA修改北安普顿大学i20学历认证文凭
PPTX
National-Historical-Commission-of-the-PhilippinesNHCP.pptx
PPTX
FreePBX_Project_Presentation_With_Gantt.pptx
PPTX
WEEK 15.pptx WEEK 15.pptx WEEK 15.pptx WEEK 15.pptx
PPT
Comparison of 2 Population Kuch toh bhadwa chodi karwa raha
PPTX
Chapter 1_Overview hhhhhhhhhhhhhhhhhhhhhhhhhh
PDF
AGENT SLOT TERPERCAYA INDONESIA – MAIN MUDAH, WD CEPAT, HANYA DI KANCA4D
PDF
Toolkit of the MultiCloud DevOps Professional.pdf
PPTX
Basic_of_Computer_System.pptx class-8 com
DOCX
MLS 113 Medical Parasitology (LECTURE).docx
PPTX
Data Flows presentation hubspot crm.pptx
PDF
Technical SEO Explained: How To Make Your Website Search-Friendly
PDF
Cybersecurity: Understanding Threats, Attacks, and Protective Measures in the...
Paper: The World Game (s) Great Redesign.pdf
Networking2-LECTURE2 this is our lessons
IoT Lecture IoT Lecture IoT Lecture IoT Lecture
JuanConnect E-Wallet Guide for new users.pdf
How D365 Business Central is Powering the Modern SMB CFO.pdf
Unguided-Transmission-Media-Wireless-Communication-Explained.pptx
ilide.info-huawei-odn-solution-introduction-pdf-pr_a17152ead66ea2617ffbd01e8c...
北安普顿大学毕业证UoN成绩单GPA修改北安普顿大学i20学历认证文凭
National-Historical-Commission-of-the-PhilippinesNHCP.pptx
FreePBX_Project_Presentation_With_Gantt.pptx
WEEK 15.pptx WEEK 15.pptx WEEK 15.pptx WEEK 15.pptx
Comparison of 2 Population Kuch toh bhadwa chodi karwa raha
Chapter 1_Overview hhhhhhhhhhhhhhhhhhhhhhhhhh
AGENT SLOT TERPERCAYA INDONESIA – MAIN MUDAH, WD CEPAT, HANYA DI KANCA4D
Toolkit of the MultiCloud DevOps Professional.pdf
Basic_of_Computer_System.pptx class-8 com
MLS 113 Medical Parasitology (LECTURE).docx
Data Flows presentation hubspot crm.pptx
Technical SEO Explained: How To Make Your Website Search-Friendly
Cybersecurity: Understanding Threats, Attacks, and Protective Measures in the...

How the Web Works Using HTML

  • 1. Z Week 7: How the Web Works Using HTML Subject Code: COMP121 By: Marlon Jamera Email: [email protected]
  • 2. Z How the Web Works Using HTML
  • 3. Z Review: Website Basics and Categories • It is a presentation tool; a way to communicate; learning and teaching tool and a marketing tool. a. Website b. Search Engine c. Web Browser d. Website Application
  • 4. Z Review: Website Basics and Categories • It is an application on the WWW that run on the user’s server or computer and are executed by the browser installed on the user’s computer. a. Client-Side Application b. Server-Side Application c. Browser Application d. Website Application
  • 5. Z Review: Website Basics and Categories • A web based application that runs on the web or host server. a. Client-Side Application b. Server-Side Application c. Browser Application d. Website Application
  • 6. Z Review: Website Basics and Categories • A collection of information organized in to records of information so a computer program can quickly access and select desired pieces of data. a. CGI b. Database c. Web Apps d. Storage
  • 7. Z Review: Website Basics and Categories • A set of tags are used to mark up plain text so that a browser application knows how to display the text. a. XHTML b. HTML c. CSS d. CGI
  • 8. Z Scope of the Lesson • Introduction to HTML • HTML elements and tags • Code with HTML • Types of HTML tags • Headings and Paragraphs • Comments in HTML • Text Formatting tags • Background and Text Color tags
  • 9. Z Scope of the Lesson • Introduction to HTML • HTML elements and tags • Code with HTML • Types of HTML tags • Headings and Paragraphs • Comments in HTML • Text Formatting tags • Background and Text Color tags
  • 10. Z Learning Outcomes By the end of the lesson, you will be familiar and know how the website works using HTML. • Discuss the basic coding of HTML. • Understand the coding syntax of HTML. • Explain thoroughly the coding styles and techniques of the HTML.
  • 11. Z How the Web Works? • WWW use classical client / server architecture • HTTP is a text based request-response protocol.
  • 12. Z How the Web Works? Page request Client running a Web Browser Server running Web Server Software (IIS, Apache, etc.) Server response HTTP HTTP
  • 13. Z What is a Web Page? • Web Pages are text files containing HTML. • HTML – Hyper Text Markup Language • A notation describing document structure (semantic markup) and formatting (presentation markup) • The markup tags provide information about the page content structure.
  • 14. Z Creating HTML Pages • An html file must have an .htm or .html file extension. • HTML files can be created with text editors: Notepad, Notepad++ and PSPad. • Or HTML editors: Microsoft FrontPage, Mcrodmedia Dreamweaver, Netscape Composer and Expression Web.
  • 15. Z Introduction to HTML • With HTML, we can create our own website. • HTML is not a programming language, it is a markup language • A markup language is a set of markup tags. • HTML uses markup tags to describe web pages. • HTML is not case sensitive language.
  • 16. Z HTML Elements and Tags • A tag is always enclosed in angle brackets (<>) like <html> • HTML tags normally come in pairs like <html> and </html>. • Start tag = <html> • End tag = </html> • Start tags and closing tags are also called opening tags and closing tags.
  • 17. Z About the Main Tags • <html> • Describe html web page that is to be viewed by a web browser. • <head> • This defines the header section of the page. • <title> • This shows the caption at the title bar of the page. • <body> • This tag show contents of the web page.
  • 18. Z How to Start? • Write html code in notepad. • Save the File with (.html) extension. • View the page in any browsers like google chrome, mozilla firefox or safari. • The purpose of these browsers is to read html documents and display them as web pages.
  • 19. <html> <head> <title>My First HTML Page</title> </head> <body> <p>This is some text...</p> </body> </html> test.html First HTML Page
  • 20. <html> <head> <title>My First HTML Page</title> </head> <body> <p>This is some text...</p> </body> </html> Opening tag Closing tag An HTML element consists of an opening tag, a closing tag and the content inside. First HTML Page: tags
  • 21. First HTML Page: header <html> <head> <title>My First HTML Page</title> </head> <body> <p>This is some text...</p> </body> </html> HTML header
  • 22. Types of HTML Tags • Hyperlink Tags • Image Tags • Text Formatting Tags <a href="http://www.ama.edu.ph/" title=“AMA University">Link to AMA Website</a> <img src="logo.jpeg" alt="logo" /> This text is <em>emphasized.</em> <br />new line<br /> This one is <strong>more emphasized.</strong>
  • 23. Some Simple Tags: Example <html> <head> <title>Simple Tags Demo</title> </head> <body> <a href="http://www.ama.edu.ph/" title= “AMA University">This is a link.</a> <br /> <img src="logo.gif" alt="logo" /> <br /> <strong>Bold</strong> and <em>italic</em> text. </body> </html>
  • 24. Headings and Paragraphs • Heading Tags (h1 – h6) • Paragraph Tags • Sections: div and span <p>This is my first paragraph</p> <p>This is my second paragraph</p> <h1>Heading 1</h1> <h2>Sub heading 2</h2> <h3>Sub heading 3</h3> <div style="background: skyblue;"> This is a div</div>
  • 25. Headings and Paragraphs Example<html> <head><title>Headings and paragraphs</title></head> <body> <h1>Heading 1</h1> <h2>Sub heading 2</h2> <h3>Sub heading 3</h3> <p>This is my first paragraph</p> <p>This is my second paragraph</p> <div style="background:skyblue"> This is a div</div> </body> </html>
  • 26. <head>Section: <title> tag • Title should be placed between <head> and </head> tags • Used to specify a title in the window title bar • Search engines and people rely on titles <title>AMA University – 1st Trimester 2015 </title>
  • 27. Comments: <!-- --> tag • Comments can exist anywhere between the <html></html> tags • Comments start with <!-- and end with --> <!–- AMA University Logo (a JPG file) --> <img src="logo.jpg" alt=“AMA Logo"> <!–- Hyperlink to the web site --> <a href="http://ama.edu.ph/">AMA University</a>
  • 28. <body> Section: Introduction • The <body> section describes the viewable portion of the page • Starts after the <head> </head> section • Begins with <body> and ends with </body> <html> <head><title>Test page</title></head> <body> <!-- This is the Web page body --> </body> </html>
  • 29. Text Formatting • Text formatting tags modify the text between the opening tag and the closing tag • Ex. <b> Hello </b> makes “Hello” bold • EX. <i> Hello </i> makes “Hello” italicized • Ex. <u> Hello </u> makes “Hello” underlined
  • 30. Text Formatting <b></b> bold <i></i> italicized <u></u> underlined <sup></sup> Samplesuperscript <sub></sub> Samplesubscript <strong></strong> strong <em></em> emphasized <pre></pre> Preformatted text <blockquote></blockquote> Quoted text block <del></del> Deleted text – strike through
  • 31. Text Formatting: Example<html> <head> <title>Page Title</title> </head> <body> <h1>Notice</h1> <p>This is a <em>sample</em> Web page.</p> <p><pre>Next paragraph: preformatted.</pre></p> <h2>More Info</h2> <p>Specifically, we’re using XHMTL 1.0 transitional.<br /> Next line.</p> </body> </html>
  • 32. Background and Text Color Tag • The attribute bgcolor is used for changing the back ground color of the page. • <body bgcolor=“Green” > • Text is use to change the color of the enclosed text. • <body text=“White”> <html> <head><title>Test page</title></head> <body bgcolor=“Green”> <h2 style="color:red">I am Red</h2> </body> </html>
  • 33. Z Let’s call it a day, Thank you!

Editor's Notes