SlideShare a Scribd company logo
1
Introduction to Web/HTML
HTML
Head part is to communicate information with other web pages/search
engines etc. In short, we can say that head part is to communicate with
machines.
Body part is to communicate information with users/humans.
<html>
<head>
<title>Title of page</title>
</head>
<body>
This is my first homepage.
</body>
</html>
HEAD ELEMENT
 HEAD tag always keep behind the HTML tag.
 Head part is to communicate information with other web
pages/search engines etc. In short, we can say that head
part is to communicate with machines.
 Things are going in the HEAD section, consider to be
META data content model these includes
 TITLE,
 META,
 LINK, STYLE, SCRIPT.
EXAMPLE
<!DOCTYPE html>
<html>
<head>
<meta charset=“UTF-8” />
<title>Title of page</title>
<link rel=“stylesheet” type=“text/css” href=“main.css” /> // To
link stylesheet
</head>
<body>
This is my first homepage.
</body>
</html> 4
TITLE ELEMENT
 The TITLE element is used for setting title of a document.
 Title element is required in HTML even its empty. There
may be only one TITLE element in a web page.
 Example:
<head>
<title>Title of page</title>
</head>
5
LINK ELEMENT
 LINK element is used to have relationship with other
documents. LINK tag is mostly used to add external style
sheet
 Example:
<head>
<title>Title of page</title>
<link rel=“stylesheet” type=“text/css”
href=“main.css” />
<script src="myscripts.js“ rel=“javascript”
type=“javascript/text”> </script>
</head>
6
STYLE ELEMENT
 STYLE element is used to embed style sheet on a same web
page.
 Example:
<head>
<title>Title of page</title>
<style>
p {
color:black;
}
</style>
<script>
document.getElementById("demo").innerHTML = "Hello
JavaScript!";
</script>
</head>
7
SEARCH ENGINE OPTIMIZATION
 The concept of search engine optimization is interesting
widely misunderstood subject.
 There are people who tell you that they can increase
search ranking of your page. So your page show higher
in search engine listing. But most part this is not true.
 Any technique that can effectively submit search engine
today will not work tomorrow because the engineers at
search engine company update their algorithms to defeat
those technique.
8
META TAG
 META tag is used to describe various aspects of your
HTML page. META means its data about data. It helps
search engine to categorize your page.
 <meta name=“keywords” content=“Amazing, New, Bill,
Page Web site, C++ Tutorials bla bla” />
 <meta name=“description” content=“Small paragraph
with 250 words about introduction of the page.” />
9
LINE BREAK TAG
 Normally your browser will decide, where to break the
line and paragraphs. You may force a line to break using
the <BR> tag.
 Example:
<p>
The attackers set about acquiring the control over the
computers to be used in the attack. <br /> By scanning
using Sscan SW, a large numbers of computers attached
to the Internet.&nbsp;&nbsp; Once a computer with a
weak security scheme is identified, the attackers try a
break-in.
</p>
10
FONT ELEMENT
 Sometimes you tell browser to show text something in a
different way. Can of course use CSS for this often as
best choice.
 HTML does however provide few simple elements, case
where you need something just simple.
 <b> Bold </b>
 <i> Italic </i>
 <u> Underline </u>
 This is a <sub> subscript </sub>
 This is a <sup> superscript </sup>
11
HIGHLIGHTING TEXT
 HTML provides new inline element called MARK to
highlighting text.
 Example:
<p>
The attackers set about acquiring the control over the
computers to be used in the attack. By <mark>scanning
using Sscan SW,</mark> a large numbers of computers
attached to the Internet. Once a computer with a weak
security scheme is identified, the attackers try a break-in.
</p>
12
HEADING TAGS
 Heading elements are available at six level. Heading is
block level element.
 <h1> Heading 1 </h1>
 <h2> Heading 2 </h2>
 <h3> Heading 3 </h3>
 <h4> Heading 4 </h4>
 <h5> Heading 5 </h5>
 <h6> Heading 6 </h6>
13
HYPER LINK
 In HTML, you create a hyper link with Anchor tag.
 Example:
<body>
<p>
Here is a link to
<a href=“http://www.uol.edu.pk/” target=“_blank” title
=“SEO friendly keyword for link” >my home page</a>.
</p>
</body>
IMAGE TAG
 It is very common to use images as links.
 Example:
<p>
<img src="uol.png" width="100px"
height="100px">
</p>
USING IMAGE AS LINK
 It is very common to use images as links.
 Example:
<p>
Here is a link to <a href=“”><img src=“abc.png"
width="100px" height="100px">
</a>.
</p>
16
HTTP, WEB SERVER, WEB BROWSER
 Http – Hypertext transport protocol
 Web Browser - A web browser (commonly referred to as
a browser) is a software application for retrieving,
presenting, and traversing information resources on
the World Wide Web for example IE, Firefox, Chrome etc.
 Web Server - Web servers are computers that deliver
(serves up) Web pages. Every Web server has an IP
address and possibly a domain name. For example, if you
enter the URL http://www.webopedia.com/index.html in your
browser, this sends a request to the Web server whose
domain name is webopedia.com.
ISP, DNS, FTP
 ISP - An Internet service provider (ISP) is an
organization that provides services for accessing,
using, or participating in the Internet.
 DNS - (Domain Name System) The Internet's
system for converting alphabetic names into
numeric IP addresses. For example, when a Web
address (URL) is typed into a browser, DNS servers
return the IP address of the Web server associated
with that name.
 FTP - The File Transfer Protocol (FTP) is a
standard network protocol used to transfer
computer files between a client and server on a
computer network.
URI, URN, URL
 URI - Uniform Resource Identifier
 URN - Uniform Resource Name
 URL - Uniform Resource Locator

More Related Content

Similar to Web Engineering Lec01-02 - Introduction to Web.pptx

HTML (Basic to Advance)
HTML (Basic to Advance)HTML (Basic to Advance)
HTML (Basic to Advance)
Coder Tech
 
belajar HTML
belajar HTML belajar HTML
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Ajay Khatri
 
Basic of web design
Basic of web designBasic of web design
Basic of web design
Singsys Pte Ltd
 
Lesson 8 Computer Creating your Website.pdf
Lesson 8 Computer Creating your Website.pdfLesson 8 Computer Creating your Website.pdf
Lesson 8 Computer Creating your Website.pdf
AshleyJovelClavecill
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.docbutest
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.docbutest
 
Web technologies part-2
Web technologies part-2Web technologies part-2
Web technologies part-2
Michael Anthony
 
Advance HTML
Advance HTMLAdvance HTML
Advance HTML
VijaySingh790398
 
The complete-html-cheat-sheet
The complete-html-cheat-sheetThe complete-html-cheat-sheet
The complete-html-cheat-sheet
HARUN PEHLIVAN
 
The complete-html-cheat-sheet
The complete-html-cheat-sheetThe complete-html-cheat-sheet
The complete-html-cheat-sheet
Zafer Galip Ozberk
 
Let me design
Let me designLet me design
Let me design
Anurag Deb
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
malrad1
 
(SEO) Search Engine Optimization
(SEO) Search Engine Optimization(SEO) Search Engine Optimization
(SEO) Search Engine Optimization
Digital Marketing Team Lead @ Startappz
 
html for beginners
html for beginnershtml for beginners
html for beginners
KIIZAPHILIP
 
Html and html5 cheat sheets
Html and html5 cheat sheetsHtml and html5 cheat sheets
Html and html5 cheat sheets
Zafer Galip Ozberk
 
Class Intro / HTML Basics
Class Intro / HTML BasicsClass Intro / HTML Basics
Class Intro / HTML BasicsShawn Calvert
 
HTML practical file
HTML practical fileHTML practical file
HTML practical file
Kuldeep Sharma
 

Similar to Web Engineering Lec01-02 - Introduction to Web.pptx (20)

HTML (Basic to Advance)
HTML (Basic to Advance)HTML (Basic to Advance)
HTML (Basic to Advance)
 
belajar HTML
belajar HTML belajar HTML
belajar HTML
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Day1
Day1Day1
Day1
 
Basic of web design
Basic of web designBasic of web design
Basic of web design
 
Lesson 8 Computer Creating your Website.pdf
Lesson 8 Computer Creating your Website.pdfLesson 8 Computer Creating your Website.pdf
Lesson 8 Computer Creating your Website.pdf
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
 
Web technologies part-2
Web technologies part-2Web technologies part-2
Web technologies part-2
 
Advance HTML
Advance HTMLAdvance HTML
Advance HTML
 
The complete-html-cheat-sheet
The complete-html-cheat-sheetThe complete-html-cheat-sheet
The complete-html-cheat-sheet
 
The complete-html-cheat-sheet
The complete-html-cheat-sheetThe complete-html-cheat-sheet
The complete-html-cheat-sheet
 
Let me design
Let me designLet me design
Let me design
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
 
Web development basics
Web development basicsWeb development basics
Web development basics
 
(SEO) Search Engine Optimization
(SEO) Search Engine Optimization(SEO) Search Engine Optimization
(SEO) Search Engine Optimization
 
html for beginners
html for beginnershtml for beginners
html for beginners
 
Html and html5 cheat sheets
Html and html5 cheat sheetsHtml and html5 cheat sheets
Html and html5 cheat sheets
 
Class Intro / HTML Basics
Class Intro / HTML BasicsClass Intro / HTML Basics
Class Intro / HTML Basics
 
HTML practical file
HTML practical fileHTML practical file
HTML practical file
 

More from Javaid Iqbal

Introduction to Tools and Techniques in the Data Sceicne
Introduction to Tools and Techniques in the Data SceicneIntroduction to Tools and Techniques in the Data Sceicne
Introduction to Tools and Techniques in the Data Sceicne
Javaid Iqbal
 
lecture5.ppt
lecture5.pptlecture5.ppt
lecture5.ppt
Javaid Iqbal
 
W2_Lec03_Lec04_Agents.pptx
W2_Lec03_Lec04_Agents.pptxW2_Lec03_Lec04_Agents.pptx
W2_Lec03_Lec04_Agents.pptx
Javaid Iqbal
 
W1_Lec01_Lec02_Introduction.pptx
W1_Lec01_Lec02_Introduction.pptxW1_Lec01_Lec02_Introduction.pptx
W1_Lec01_Lec02_Introduction.pptx
Javaid Iqbal
 
Lecture 10.pptx
Lecture 10.pptxLecture 10.pptx
Lecture 10.pptx
Javaid Iqbal
 
W16_Lec_31_Lec_32_Widgets.pptx
W16_Lec_31_Lec_32_Widgets.pptxW16_Lec_31_Lec_32_Widgets.pptx
W16_Lec_31_Lec_32_Widgets.pptx
Javaid Iqbal
 
W14_Lec_27_Lec_28_Services.pptx
W14_Lec_27_Lec_28_Services.pptxW14_Lec_27_Lec_28_Services.pptx
W14_Lec_27_Lec_28_Services.pptx
Javaid Iqbal
 

More from Javaid Iqbal (7)

Introduction to Tools and Techniques in the Data Sceicne
Introduction to Tools and Techniques in the Data SceicneIntroduction to Tools and Techniques in the Data Sceicne
Introduction to Tools and Techniques in the Data Sceicne
 
lecture5.ppt
lecture5.pptlecture5.ppt
lecture5.ppt
 
W2_Lec03_Lec04_Agents.pptx
W2_Lec03_Lec04_Agents.pptxW2_Lec03_Lec04_Agents.pptx
W2_Lec03_Lec04_Agents.pptx
 
W1_Lec01_Lec02_Introduction.pptx
W1_Lec01_Lec02_Introduction.pptxW1_Lec01_Lec02_Introduction.pptx
W1_Lec01_Lec02_Introduction.pptx
 
Lecture 10.pptx
Lecture 10.pptxLecture 10.pptx
Lecture 10.pptx
 
W16_Lec_31_Lec_32_Widgets.pptx
W16_Lec_31_Lec_32_Widgets.pptxW16_Lec_31_Lec_32_Widgets.pptx
W16_Lec_31_Lec_32_Widgets.pptx
 
W14_Lec_27_Lec_28_Services.pptx
W14_Lec_27_Lec_28_Services.pptxW14_Lec_27_Lec_28_Services.pptx
W14_Lec_27_Lec_28_Services.pptx
 

Recently uploaded

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)
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
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.
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
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
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
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
 
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
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
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
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
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
 

Recently uploaded (20)

Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
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
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
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
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
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
 
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
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
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
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
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...
 

Web Engineering Lec01-02 - Introduction to Web.pptx

  • 2. HTML Head part is to communicate information with other web pages/search engines etc. In short, we can say that head part is to communicate with machines. Body part is to communicate information with users/humans. <html> <head> <title>Title of page</title> </head> <body> This is my first homepage. </body> </html>
  • 3. HEAD ELEMENT  HEAD tag always keep behind the HTML tag.  Head part is to communicate information with other web pages/search engines etc. In short, we can say that head part is to communicate with machines.  Things are going in the HEAD section, consider to be META data content model these includes  TITLE,  META,  LINK, STYLE, SCRIPT.
  • 4. EXAMPLE <!DOCTYPE html> <html> <head> <meta charset=“UTF-8” /> <title>Title of page</title> <link rel=“stylesheet” type=“text/css” href=“main.css” /> // To link stylesheet </head> <body> This is my first homepage. </body> </html> 4
  • 5. TITLE ELEMENT  The TITLE element is used for setting title of a document.  Title element is required in HTML even its empty. There may be only one TITLE element in a web page.  Example: <head> <title>Title of page</title> </head> 5
  • 6. LINK ELEMENT  LINK element is used to have relationship with other documents. LINK tag is mostly used to add external style sheet  Example: <head> <title>Title of page</title> <link rel=“stylesheet” type=“text/css” href=“main.css” /> <script src="myscripts.js“ rel=“javascript” type=“javascript/text”> </script> </head> 6
  • 7. STYLE ELEMENT  STYLE element is used to embed style sheet on a same web page.  Example: <head> <title>Title of page</title> <style> p { color:black; } </style> <script> document.getElementById("demo").innerHTML = "Hello JavaScript!"; </script> </head> 7
  • 8. SEARCH ENGINE OPTIMIZATION  The concept of search engine optimization is interesting widely misunderstood subject.  There are people who tell you that they can increase search ranking of your page. So your page show higher in search engine listing. But most part this is not true.  Any technique that can effectively submit search engine today will not work tomorrow because the engineers at search engine company update their algorithms to defeat those technique. 8
  • 9. META TAG  META tag is used to describe various aspects of your HTML page. META means its data about data. It helps search engine to categorize your page.  <meta name=“keywords” content=“Amazing, New, Bill, Page Web site, C++ Tutorials bla bla” />  <meta name=“description” content=“Small paragraph with 250 words about introduction of the page.” /> 9
  • 10. LINE BREAK TAG  Normally your browser will decide, where to break the line and paragraphs. You may force a line to break using the <BR> tag.  Example: <p> The attackers set about acquiring the control over the computers to be used in the attack. <br /> By scanning using Sscan SW, a large numbers of computers attached to the Internet.&nbsp;&nbsp; Once a computer with a weak security scheme is identified, the attackers try a break-in. </p> 10
  • 11. FONT ELEMENT  Sometimes you tell browser to show text something in a different way. Can of course use CSS for this often as best choice.  HTML does however provide few simple elements, case where you need something just simple.  <b> Bold </b>  <i> Italic </i>  <u> Underline </u>  This is a <sub> subscript </sub>  This is a <sup> superscript </sup> 11
  • 12. HIGHLIGHTING TEXT  HTML provides new inline element called MARK to highlighting text.  Example: <p> The attackers set about acquiring the control over the computers to be used in the attack. By <mark>scanning using Sscan SW,</mark> a large numbers of computers attached to the Internet. Once a computer with a weak security scheme is identified, the attackers try a break-in. </p> 12
  • 13. HEADING TAGS  Heading elements are available at six level. Heading is block level element.  <h1> Heading 1 </h1>  <h2> Heading 2 </h2>  <h3> Heading 3 </h3>  <h4> Heading 4 </h4>  <h5> Heading 5 </h5>  <h6> Heading 6 </h6> 13
  • 14. HYPER LINK  In HTML, you create a hyper link with Anchor tag.  Example: <body> <p> Here is a link to <a href=“http://www.uol.edu.pk/” target=“_blank” title =“SEO friendly keyword for link” >my home page</a>. </p> </body>
  • 15. IMAGE TAG  It is very common to use images as links.  Example: <p> <img src="uol.png" width="100px" height="100px"> </p>
  • 16. USING IMAGE AS LINK  It is very common to use images as links.  Example: <p> Here is a link to <a href=“”><img src=“abc.png" width="100px" height="100px"> </a>. </p> 16
  • 17. HTTP, WEB SERVER, WEB BROWSER  Http – Hypertext transport protocol  Web Browser - A web browser (commonly referred to as a browser) is a software application for retrieving, presenting, and traversing information resources on the World Wide Web for example IE, Firefox, Chrome etc.  Web Server - Web servers are computers that deliver (serves up) Web pages. Every Web server has an IP address and possibly a domain name. For example, if you enter the URL http://www.webopedia.com/index.html in your browser, this sends a request to the Web server whose domain name is webopedia.com.
  • 18. ISP, DNS, FTP  ISP - An Internet service provider (ISP) is an organization that provides services for accessing, using, or participating in the Internet.  DNS - (Domain Name System) The Internet's system for converting alphabetic names into numeric IP addresses. For example, when a Web address (URL) is typed into a browser, DNS servers return the IP address of the Web server associated with that name.  FTP - The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files between a client and server on a computer network.
  • 19. URI, URN, URL  URI - Uniform Resource Identifier  URN - Uniform Resource Name  URL - Uniform Resource Locator