World Wide Web and Developing Web Sites: By: Ms. Kalpani Manatunga
World Wide Web and Developing Web Sites: By: Ms. Kalpani Manatunga
And
Developing Web Sites
News
news.lk, cnn.com
Commercial sites
ebay.com, amazon.com
Educational sites
wikipedia.org, howstuffworks.com
Entertainment sites
youtube.com
Web Portal
A web portal, apart from the standard search
engine feature offers other services such as
emails, news, stock prices, information,
databases and entertainment.
Examples of public web portals are Yahoo, MSN,
and iGoogle.
Sri Lankan government portal is www.news.lk.
What is HTML???
HTML is HyperText Markup Language which is
used to create web pages.
Web page is nothing more than a HTML file with
the extension of .htm or .html
HTML is highly used to create fancy looking front
ends with properly structured content and visual
formatting.
HTML is a markup tags based language that
uses set of HTML tags to generate web pages.
Example
<html>
<title>
<head>
My Home Page
</head>
</title>
<body>
<p> This is My First Web Page!! </p>
It is very exciting!!!
<br>
HyperText Markup Language
</body>
</html>
Example
<html>
<body>
<h2> <u> Images and Sounds!! </u> </h2>
<img src = "spazzman.gif"> <br> <br>
<embed src="musicFile.wma"> </embed>
</body>
</html>
<a href=file>
o
<embed>
Example Lists.html
Lists
Ordered Lists Vs. Unordered Lists
Can create lists with bullet points (unordered
lists) by using <ul></ul>
o Numbered lists (ordered lists) are created using
<ol></ol>
o
CSS
Web style sheets are a form of separating
presentation and content of a web page. It
describes about the visual layout (style).
Cascading Style Sheets (CSS) is a style sheet
language used to describe the presentation(the
look and formatting) of a document written in
HTML.
Eg: <style type="text/css">
body
{
background-color:#b0c4de;
}
</style>
CSS Syntax
body {
background: #eeeeee;
font-family: Verdana;
}
Hyperlinks
A hyperlink (or link) is a reference to a
document that the reader can directly follow, or
that is followed automatically.
The document containing a hyperlink is known as
its source document.
The target of a hyperlink is the document, or
location within a document, to which the
hyperlink leads.
Eg: <a href=one .gif>
Session
o
o
XML
XML - eXtensible Markup Language.
XML is designed to transport and store data.
XML is important to know, and very easy to
learn.
XML's design goals emphasize simplicity,
generality, and usability over the internet.
No predefined set of tags.