Web Engineering: Internet
Web Engineering: Internet
Internet
• The Internet is a massive network of networks, a
networking infrastructure.
Web Engineering • It connects millions of computers together globally.
• Forming a network in which any computer can
communicate with any other computer.
• Information that travels over the Internet through
protocols.
Hassan Khan
Difference
World Wide Web
z Internet z WWW
• A system of internet servers that support specially
formatted documents. The documents are formatted in a Network of networks, in WWW is a way of
markup language called HTML that supports links to which millions of accessing information
other documents, as well as graphics, audio, and video computers are connects over the medium of the
files.
files together globally,
globally forming Internet.
e e
• Web Browser like “Netscape Navigator” and “Microsoft's a network in which any The Web uses the HTTP
Internet Explorer” make it easy to access the World Wide computer can protocol.
Web. communicate with other
computer.
1
12/22/2010
The idea of markup languages was apparently first Another major publishing standard is “TeX”, created and
presented by publishing executive William W. Tunnicliffe continuously refined by Donald Knuth.
at a conference in 1967, although he preferred to call it
"generic coding." Tunnicliffe would later lead the
• TeX concentrated on detailed layout of text and font
descriptions.
development of a standard called GenCode for the
publishing industry. • This required Knuth to spend considerable time
investigating the art of “Typesetting”.
• TeX requires considerable skill from the user.
• A TeX macro package known as “LaTeX”.
2
12/22/2010
The first language to make a clear and clean distinction A metalanguage in which one can define markup
languages for documents.
between structure and presentation, developed by Brian
Reid. SGML itself does not specify any particular formatting,
but it specifies the rules for tagging elements.
• It introduced the idea of styles separated from the
z SGML was originally designed to enable the sharing of
marked up document . machine-readable documents in large projects in
• Scribe influenced the development of Generalized government, legal and industry.
Markup Language (later SGML). z It has also been used extensively in the printing and
publishing industries.
z HTML, which is one way of defining and interpreting tags
according to SGML rule.
z Because it is a large and complex system, it is not yet
12/22/2010 Hassan Khan 9
widely used on personal Hassan
12/22/2010
computers.
Khan 10
HTML (Hyper Text Markup Language) 1991 XML (Extensible Markup Language)
z HTML was originally designed based on SGML tagging z XML is a simplified rework of SGML, which is designed
but without SGML's emphasis on rigorous markup. so to make the XML parser much easier to implement,
compared to an SGML parser.
z XML is used for general-purpose applications, such as
th XHTML,
the XHTML SOAP and d etc.
t
3
12/22/2010
Note: If you want to follow the latest web standards, you <body> This is my first homepage.
should always use lowercase tags. <b>This text is bold</b>
</body>
4
12/22/2010
Headings Paragraphs
Headings are defined with the <h1> to <h6> tags. Paragraphs are defined with the <p> tag.
<h1> defines the largest heading. <h6> defines the
smallest heading.
<p>This is a paragraph</p>
<h1>This is a heading</h1>
<p>This
p is another paragraph</p>
p g p p
<h2>This is a heading</h2>
<h3>This is a heading</h3>
<h4>This is a heading</h4> HTML automatically adds an extra blank line before and
<h5>This is a heading</h5> after a paragraph.
<h6>This is a heading</h6>
HTML automatically adds an extra blank line before and
after a heading.
12/22/2010 Hassan Khan 17 12/22/2010 Hassan Khan 18
5
12/22/2010
Anchor Tag and target attribute Anchor Tag and Name attribute
With the target attribute, you can define where the linked The name attribute is used to create a named anchor.
document will be opened. When using named anchors we can create links that can
The line below will open the document in a new browser jjump p directly
y into a specific
p section on a p
page,
g , instead of
window: letting the user scroll around to find what he/she is
looking for.
<a href="http://www.google.com/" target="_blank">
Visit Google
</a>
6
12/22/2010
7
12/22/2010
8
12/22/2010
z Tables are defined with the <table> tag. A table is divided into
rows (with the <tr> tag), and each row is divided into data cells
(with the <td> tag). The letters td stands for "table data," which is
the content of a data cell. A data cell can contain text, images,
lists, paragraphs, forms, horizontal rules, tables, etc.
9
12/22/2010
10
12/22/2010
</form>
12/22/2010 Hassan Khan 43 12/22/2010 Hassan Khan 44
11
12/22/2010
12
12/22/2010
Button
<form >
<input type=“button" value="Submit!">
<input type=“submit" value="Submit!">
</form>
13