Professional Documents
Culture Documents
Web Dev Part I 1
Web Dev Part I 1
Development!
Part I
Introduction to Internet
The Internet is simply “network of computers that are connected to each
other”
Server
The computers that make up the Internet. Because they “serve up”
documents upon request, these computers are known as servers. More
accurately, the server is the software (not the computer itself) that
allows the computer to communicate with other computers.
• Apache
• Microsoft Internet Information Server(IIS)
• Domain Name System(DNS)
Web Application development
Introduction
Client
The software that does the requesting is called the client. On the Web,
the browser is the client software that makes requests for documents
• Internet Explorer
• Firefox
• Safari
• Opera
• Netscape
Web Application development
Introduction
Web page
A web page is a data file with the extension .html. And like any other
data file it can be edited, moved around between folders, renamed and
so on. It usually contain text, graphics, multimedia components.
Web Site
A website, then, is a collection of web pages, or several HTML files. A
site will usually (but not always) have a coherent theme, and probably a
consistent visual style.
Web Application development
Introduction
<element attribute-name="value">Content</element>
<element attribute-name="value" />
Web Application development
Attributes
• Attributes go after the element name in the opening tag only, never
in the end tag.
• There may be several attributes applied to an element, separated
by spaces in the opening tag. Their order is not important.
• Attributes take values, which follow an equals sign (=). A value
might be a number, a word, a string of text, a URL, or a
measurement depending on the purpose of the attribute.
• Always put values within quotation marks. Although quotation
marks aren’t required around all values in HTML, they are required
in XHTML.
• Some attributes are required, such as the src and alt attributes in
the img element.
• The attribute names available for each element are defined in the
(X)HTML specifications; in other words, you can’t make up an
attribute for an element.
Web Application development
XHTML Text Element
• Block-level elements for text content
Web Application development
XHTML Text Element
• Block-level elements for text content
Paragraphs
Paragraphs are the most rudimentary elements of a text document.
You indicate a paragraph with the p element. Simply insert an
opening <p> tag at the beginning of the paragraph and a closing
</p> tag after it, as shown in this example.
<p>Serif typefaces have small slabs at the ends of letter strokes. In general,
serif fonts can make large amounts of text easier to read.</p>
<p>Sans-serif fonts do not have serif slabs; their strokes are square on the
end. Helvetica and Arial are examples of sans-serif fonts. In general, sans-
serif fonts appear sleeker and more modern.</p>
Web Application development
XHTML Text Element
• Block-level elements for text content
Headings
Web Application development
XHTML Text Element
• Block-level elements for text content
Long quotations
If you have a long quotation, a testimonial, or a section of copy from another source, particularly
one that spans four lines or more, you should mark it up as a blockquote element. It is
recommended that content within blockquotes be contained in other elements, such as paragraphs,
headings, or lists, as shown in this example.
<p>Renowned type designer, Matthew Carter, has this to say about his profession:</p>
<blockquote>
<p>Our alphabet hasn't changed in eons; there isn't much latitude in what a designer can do with
the individual letters.</p>
<p>Much like a piece of classical music, the score is written down – it’s not something that is
tampered with – and yet, each conductor interprets that score differently. There is tension in the
interpretation.</p>
</blockquote>
Web Application development
XHTML Text Element
• Block-level elements for text content
Preformatted text
<h3>Times</h3>
<p>Description and history of the Times typeface.</p>
<hr />
<h3>Georgia</h3>
<p>Description and history of the Georgia typeface.</p>
Web Application development
XHTML Text Element
• Block-level elements for text content
Addresses
The address element that is used to provide contact information for the author or
maintainer of the document. It is generally placed at the beginning or end of a
document or a large section of a document. You shouldn’t use the address
element for all types of addresses, such as mailing addresses, so its use is fairly
limited.
<address>
Contributed by <a href="../authors/robbins/">Jennifer Robbins</a>,
<a href="http://www.w3schools.com/">Basic Learning media</a>
</address>
Web Application development
XHTML Text Element
• Block-level elements for text content
Lists
<ul>
<li>Serif</li>
<li>Sans-serif</li>
<li>Script</li>
<li>Display</li>
<li>Dingbats</li>
</ul>
Web Application development
XHTML Text Element
• Block-level elements for text content
Lists
Ordered lists
<ol>
<li>Gutenburg develops moveable type (1450s)</li>
<li>Linotype is introduced (1890s)</li>
<li>Photocomposition catches on (1950s)</li>
<li>Type goes digital (1980s)</li>
</ol>
Web Application development
XHTML Text Element
• Block-level elements for text content
Lists
Definition lists
<dl>
<dt>Linotype</dt>
<dd>Line-casting allowed type to be selected, used,...</dd>
<dt>Digital type</dt>
<dd><p>Digital typefaces store the outline of…..</p>
<p>Postscript emerged as a standard due to…..</p>
</dd>
</dl>
Web Application development
XHTML Text Element
• Block-level elements for text content
Line Breaks
<p>
So much depends <br />upon <br /><br />a red wheel <br />barrow
</p>
Web Application development
XHTML Text Element
• Block-level elements for text content
Assignment
Web Application development
XHTML Text Element
• Inline Text Element
Emphasis
<p>Garamond is a <em>really</em>
popular typeface, but Times is a
<strong>really really</strong> popular
typeface.</p>
Web Application development
XHTML Text Element
• Inline Text Element
Short quotations
Citations
Defining terms