SlideShare une entreprise Scribd logo
1  sur  23
1
Web Engineering
Lecture 1-2
HTML
<html>
<head>
<title>Title of page</title>
</head>
<body>
This is my first homepage.
</body>
</html>
HEAD ELEMENT
 The HEAD section of an HTML document is like a front
matter of a book.
 HEAD tag always keep behind the HTML tag.
 Things are going in the HEAD section, consider to be
META data content model these includes TITLE, META,
LINK, STYLE, SCRIPT and BASE elements.
EXAMPLE
<!DOCTYPE html>
<html lang=‘en’>
<head>
<meta charset=“UTF-8” />
<title>Title of page</title>
<link rel=“stylesheet” type=“text/css” href=“main.css” />
</head>
<body>
This is my first homepage.
<b>This text is bold</b>
</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 used to add external style sheet.
Link is also used to place a small image at title portion of
the web page.
 Example:
<head>
<title>Title of page</title>
<link rel=“stylesheet” type=“text/css”
href=“main.css” />
<link href="scissors-small.png" type="image/gif"
rel="shortcut icon" />
</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 {
line-height: 1.2;
}
p.first:first-line {
font-variant: small-caps;
}
</style>
</head> 7
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.
 The data that can not be display on web page, but can be
used by various process. Like web server deliver it or
user web browsers.
8
EXAMPLE
 <head>
<meta charset=“UTF-8” />
<meta http-equiv=“refresh” content=“5;
url=http://sites.google.com/site/cs1113webprog” />
<title>Title of page</title>
<link rel=“stylesheet” type=“text/css” href=“main.css” />
</head>
 It describes the character being used by this document. So
browser can display properly.
 Second META tag will wait for 5 seconds and then redirect
to this course web page. 9
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.
10
EXAMPLE
 <meta name=“keywords” content=“Amazing, New, Bill,
Page Web site, C++ Tutorials bla bla” />
 <meta name=“description” content=“Amazing, New, Bill,
Page Web site, C++ Tutorials bla bla” />
 Keywords meta tag is originally designed to help the search
engine by allowing content authors to categorize their
contents.
 But this feature is abused so badly, that search engine have
stopped using it. So its largely ignored today by major
search engines.
11
EXAMPLE
 <title>
Bill’s Amazing New Page!
- * - * - * -
Amazing, New, Bill, Page, Web site,
C++ Tutorials, blah blah blah
</title>
 So, SEO focus start abusing the title tag by putting the
same garbage in the title tag. Now search engine
algorithms of course ignore this too.
12
 The goal of search engine is to provide useful results to
users. They want to categorize your page correctly and
want to rank it according to its actual popularity.
 The HTML5 have good set of tags for making it easier for
search engines to read and understand your page.
13
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>
14
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.
15
 <b> Bold </b>
 <i> Italic </i>
 <u> Underline </u>
 This is a <sub> subscript </sub>
 This is a <sup> superscript </sup>
 This is a <small> small </small>
16
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>
17
EXAMPLE
 Example:
<p>
The attackers set about acquiring the control over the
computers to be used in the attack.
<mark style=“background-color: green; color: white;”>
By 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>
18
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>
19
QUOTATIONS AND QUOTE MARKS
 Example:
<blockquote>
The attackers set about acquiring the control over the
computers to be used in the attack.
&quot;By scanning using &apos;Sscan&apos; SW&quot;,
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.
</blockquote>
20
PRE-FORMATTED TEXT
 PRE tag is used for pre-formatting text and it is useful to display
text in its natural format.
 Example:
<pre>
This text is
preformatted
and should be
displayed in a
particular way
and shape without any
reformatting
by
the
browser.
</pre>
21
EXAMPLE
 Example:
<pre>
int main (int argc, char ** argv ) {
printf(&quot;Hello World!n&quot;);
return 0;
}
</pre>
22
EXAMPLE
 Example:
<pre>
&lt;html &gt;
&lt;head &gt;
&lt;meta charset=&quot;UTF-8&quot; /&gt;
&lt;title &gt;
HTML preformatted Text
&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt; HTML Preformatted Text &lt;/h1&gt;
&lt;/body &gt;
&lt;/html &gt;
</pre> 23

Contenu connexe

Tendances

Lukasz Zelezny - LAC 2017 - Optimising site structure for indexing
Lukasz Zelezny - LAC 2017 - Optimising site structure for indexingLukasz Zelezny - LAC 2017 - Optimising site structure for indexing
Lukasz Zelezny - LAC 2017 - Optimising site structure for indexingiGB Affiliate
 
Real-World AJAX with ASP.NET
Real-World AJAX with ASP.NETReal-World AJAX with ASP.NET
Real-World AJAX with ASP.NETgoodfriday
 
What's Next for Page Experience - SMX Next 2021 - Patrick Stox
What's Next for Page Experience - SMX Next 2021 - Patrick StoxWhat's Next for Page Experience - SMX Next 2021 - Patrick Stox
What's Next for Page Experience - SMX Next 2021 - Patrick StoxAhrefs
 
Search Engine Optimisation for Beginners
Search Engine Optimisation for BeginnersSearch Engine Optimisation for Beginners
Search Engine Optimisation for BeginnersMark O'Leary
 
The 5 most common reasons for a slow WordPress site and how to fix them
The 5 most common reasons for a slow WordPress site and how to fix themThe 5 most common reasons for a slow WordPress site and how to fix them
The 5 most common reasons for a slow WordPress site and how to fix themOtto Kekäläinen
 
How to update HTML files
How to update HTML filesHow to update HTML files
How to update HTML filesJadeMagnet
 
HTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LAB
HTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LABHTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LAB
HTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LABpriya Nithya
 
Rendering SEO (explained by Google's Martin Splitt)
Rendering SEO (explained by Google's Martin Splitt)Rendering SEO (explained by Google's Martin Splitt)
Rendering SEO (explained by Google's Martin Splitt)Anton Shulke
 
Quality Content at Scale Through Automated Text Summarization of UGC
Quality Content at Scale Through Automated Text Summarization of UGCQuality Content at Scale Through Automated Text Summarization of UGC
Quality Content at Scale Through Automated Text Summarization of UGCHamlet Batista
 
A Holistic View of Website Performance
A Holistic View of Website PerformanceA Holistic View of Website Performance
A Holistic View of Website PerformanceRene Churchill
 
rel=alternate, hreflang=x - International Duplicate Content Issues
rel=alternate, hreflang=x - International Duplicate Content Issuesrel=alternate, hreflang=x - International Duplicate Content Issues
rel=alternate, hreflang=x - International Duplicate Content IssuesPeter Handley
 
49871004 url
49871004 url49871004 url
49871004 urlhongru
 
How to get top ranking search engines
How to get top ranking search enginesHow to get top ranking search engines
How to get top ranking search enginesPhenom People
 

Tendances (18)

Lukasz Zelezny - LAC 2017 - Optimising site structure for indexing
Lukasz Zelezny - LAC 2017 - Optimising site structure for indexingLukasz Zelezny - LAC 2017 - Optimising site structure for indexing
Lukasz Zelezny - LAC 2017 - Optimising site structure for indexing
 
Real-World AJAX with ASP.NET
Real-World AJAX with ASP.NETReal-World AJAX with ASP.NET
Real-World AJAX with ASP.NET
 
What's Next for Page Experience - SMX Next 2021 - Patrick Stox
What's Next for Page Experience - SMX Next 2021 - Patrick StoxWhat's Next for Page Experience - SMX Next 2021 - Patrick Stox
What's Next for Page Experience - SMX Next 2021 - Patrick Stox
 
Search Engine Optimisation for Beginners
Search Engine Optimisation for BeginnersSearch Engine Optimisation for Beginners
Search Engine Optimisation for Beginners
 
Html
HtmlHtml
Html
 
The 5 most common reasons for a slow WordPress site and how to fix them
The 5 most common reasons for a slow WordPress site and how to fix themThe 5 most common reasons for a slow WordPress site and how to fix them
The 5 most common reasons for a slow WordPress site and how to fix them
 
How to update HTML files
How to update HTML filesHow to update HTML files
How to update HTML files
 
HTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LAB
HTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LABHTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LAB
HTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LAB
 
Seo Cheat Sheet
Seo Cheat SheetSeo Cheat Sheet
Seo Cheat Sheet
 
Rendering SEO (explained by Google's Martin Splitt)
Rendering SEO (explained by Google's Martin Splitt)Rendering SEO (explained by Google's Martin Splitt)
Rendering SEO (explained by Google's Martin Splitt)
 
Quality Content at Scale Through Automated Text Summarization of UGC
Quality Content at Scale Through Automated Text Summarization of UGCQuality Content at Scale Through Automated Text Summarization of UGC
Quality Content at Scale Through Automated Text Summarization of UGC
 
Html and html5 cheat sheets
Html and html5 cheat sheetsHtml and html5 cheat sheets
Html and html5 cheat sheets
 
A Holistic View of Website Performance
A Holistic View of Website PerformanceA Holistic View of Website Performance
A Holistic View of Website Performance
 
rel=alternate, hreflang=x - International Duplicate Content Issues
rel=alternate, hreflang=x - International Duplicate Content Issuesrel=alternate, hreflang=x - International Duplicate Content Issues
rel=alternate, hreflang=x - International Duplicate Content Issues
 
News Specific Crawl Errors
News Specific Crawl ErrorsNews Specific Crawl Errors
News Specific Crawl Errors
 
49871004 url
49871004 url49871004 url
49871004 url
 
Html Optimization for SEO
Html Optimization for SEOHtml Optimization for SEO
Html Optimization for SEO
 
How to get top ranking search engines
How to get top ranking search enginesHow to get top ranking search engines
How to get top ranking search engines
 

Similaire à 01. 02. html web engineering html &amp; introduction

Web Engineering Lec01-02 - Introduction to Web.pptx
Web Engineering Lec01-02 - Introduction to Web.pptxWeb Engineering Lec01-02 - Introduction to Web.pptx
Web Engineering Lec01-02 - Introduction to Web.pptxJavaid Iqbal
 
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
 
HTML (Basic to Advance)
HTML (Basic to Advance)HTML (Basic to Advance)
HTML (Basic to Advance)Coder Tech
 
Class 1 handout (2) html exercises
Class 1 handout (2) html exercisesClass 1 handout (2) html exercises
Class 1 handout (2) html exercisesErin M. Kidwell
 
Introduction to Web Technologies PPT.pptx
Introduction to Web Technologies PPT.pptxIntroduction to Web Technologies PPT.pptx
Introduction to Web Technologies PPT.pptxKunal Kalamkar
 
Industrial training report
Industrial training report Industrial training report
Industrial training report Akash Kr Sinha
 
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateBlog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateSean Burgess
 
HTML - hypertext markup language
HTML - hypertext markup languageHTML - hypertext markup language
HTML - hypertext markup languageBasmaa Mostafa
 
HTML Foundations, part 1
HTML Foundations, part 1HTML Foundations, part 1
HTML Foundations, part 1Shawn Calvert
 
The complete-html-cheat-sheet
The complete-html-cheat-sheetThe complete-html-cheat-sheet
The complete-html-cheat-sheetHARUN PEHLIVAN
 
wd project.pptx
wd project.pptxwd project.pptx
wd project.pptxdsffsdf1
 

Similaire à 01. 02. html web engineering html &amp; introduction (20)

Web Engineering Lec01-02 - Introduction to Web.pptx
Web Engineering Lec01-02 - Introduction to Web.pptxWeb Engineering Lec01-02 - Introduction to Web.pptx
Web Engineering Lec01-02 - Introduction to Web.pptx
 
Web technologies part-2
Web technologies part-2Web technologies part-2
Web technologies part-2
 
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
 
HTML (Basic to Advance)
HTML (Basic to Advance)HTML (Basic to Advance)
HTML (Basic to Advance)
 
Class 1 handout (2) html exercises
Class 1 handout (2) html exercisesClass 1 handout (2) html exercises
Class 1 handout (2) html exercises
 
Introduction to Web Technologies PPT.pptx
Introduction to Web Technologies PPT.pptxIntroduction to Web Technologies PPT.pptx
Introduction to Web Technologies PPT.pptx
 
Industrial training report
Industrial training report Industrial training report
Industrial training report
 
Advance HTML
Advance HTMLAdvance HTML
Advance HTML
 
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateBlog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
 
HTML - hypertext markup language
HTML - hypertext markup languageHTML - hypertext markup language
HTML - hypertext markup language
 
HTML Foundations, part 1
HTML Foundations, part 1HTML Foundations, part 1
HTML Foundations, part 1
 
Master page
Master pageMaster page
Master page
 
Seo and analytics basics
Seo and analytics basicsSeo and analytics basics
Seo and analytics basics
 
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
 
Html.ppt
Html.pptHtml.ppt
Html.ppt
 
Please dont touch-3.6-jsday
Please dont touch-3.6-jsdayPlease dont touch-3.6-jsday
Please dont touch-3.6-jsday
 
wd project.pptx
wd project.pptxwd project.pptx
wd project.pptx
 
Day1
Day1Day1
Day1
 

Dernier

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 

Dernier (20)

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 

01. 02. html web engineering html &amp; introduction

  • 3. HEAD ELEMENT  The HEAD section of an HTML document is like a front matter of a book.  HEAD tag always keep behind the HTML tag.  Things are going in the HEAD section, consider to be META data content model these includes TITLE, META, LINK, STYLE, SCRIPT and BASE elements.
  • 4. EXAMPLE <!DOCTYPE html> <html lang=‘en’> <head> <meta charset=“UTF-8” /> <title>Title of page</title> <link rel=“stylesheet” type=“text/css” href=“main.css” /> </head> <body> This is my first homepage. <b>This text is bold</b> </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 used to add external style sheet. Link is also used to place a small image at title portion of the web page.  Example: <head> <title>Title of page</title> <link rel=“stylesheet” type=“text/css” href=“main.css” /> <link href="scissors-small.png" type="image/gif" rel="shortcut icon" /> </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 { line-height: 1.2; } p.first:first-line { font-variant: small-caps; } </style> </head> 7
  • 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.  The data that can not be display on web page, but can be used by various process. Like web server deliver it or user web browsers. 8
  • 9. EXAMPLE  <head> <meta charset=“UTF-8” /> <meta http-equiv=“refresh” content=“5; url=http://sites.google.com/site/cs1113webprog” /> <title>Title of page</title> <link rel=“stylesheet” type=“text/css” href=“main.css” /> </head>  It describes the character being used by this document. So browser can display properly.  Second META tag will wait for 5 seconds and then redirect to this course web page. 9
  • 10. 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. 10
  • 11. EXAMPLE  <meta name=“keywords” content=“Amazing, New, Bill, Page Web site, C++ Tutorials bla bla” />  <meta name=“description” content=“Amazing, New, Bill, Page Web site, C++ Tutorials bla bla” />  Keywords meta tag is originally designed to help the search engine by allowing content authors to categorize their contents.  But this feature is abused so badly, that search engine have stopped using it. So its largely ignored today by major search engines. 11
  • 12. EXAMPLE  <title> Bill’s Amazing New Page! - * - * - * - Amazing, New, Bill, Page, Web site, C++ Tutorials, blah blah blah </title>  So, SEO focus start abusing the title tag by putting the same garbage in the title tag. Now search engine algorithms of course ignore this too. 12
  • 13.  The goal of search engine is to provide useful results to users. They want to categorize your page correctly and want to rank it according to its actual popularity.  The HTML5 have good set of tags for making it easier for search engines to read and understand your page. 13
  • 14. 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> 14
  • 15. 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. 15
  • 16.  <b> Bold </b>  <i> Italic </i>  <u> Underline </u>  This is a <sub> subscript </sub>  This is a <sup> superscript </sup>  This is a <small> small </small> 16
  • 17. 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> 17
  • 18. EXAMPLE  Example: <p> The attackers set about acquiring the control over the computers to be used in the attack. <mark style=“background-color: green; color: white;”> By 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> 18
  • 19. 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> 19
  • 20. QUOTATIONS AND QUOTE MARKS  Example: <blockquote> The attackers set about acquiring the control over the computers to be used in the attack. &quot;By scanning using &apos;Sscan&apos; SW&quot;, 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. </blockquote> 20
  • 21. PRE-FORMATTED TEXT  PRE tag is used for pre-formatting text and it is useful to display text in its natural format.  Example: <pre> This text is preformatted and should be displayed in a particular way and shape without any reformatting by the browser. </pre> 21
  • 22. EXAMPLE  Example: <pre> int main (int argc, char ** argv ) { printf(&quot;Hello World!n&quot;); return 0; } </pre> 22
  • 23. EXAMPLE  Example: <pre> &lt;html &gt; &lt;head &gt; &lt;meta charset=&quot;UTF-8&quot; /&gt; &lt;title &gt; HTML preformatted Text &lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;h1&gt; HTML Preformatted Text &lt;/h1&gt; &lt;/body &gt; &lt;/html &gt; </pre> 23