Thursday, June 29, 2006

Welcome to the „WWW Examples“!

This blog will be about creating web pages and other related topics. Examples and explanations for the beginners, but also useful tips for experienced.

It should enable a total beginner to create a web page compliant with internet standards; which is something than many commercially made webs fail to do. However, I think that also a webmaster with a few years of experience may sometimes find here a clever hack or a useful tool – though obviously not in each article.

I will often use the „mysterious“ words like HTML, XHTML, CSS, JavaScript, PHP, and a few others. If anything is unclear, just ask in the discussion below the article. I will try to publish new articles regularly, if possible one article per day; but I cannot promise that.

Enough talking. Let's quickly make out first web page. Create a text file containing the following text, and then save it as for example „test.html“. And open it in an internet browser:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" lang="en">
<head>
<meta equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>My first web page</title>
<style type="text/css">
h1 {
 color: blue;
}
</style>
</head>
<body>

<h1>My first web page</h1>
<p>I have created this web page in a few seconds.</p>

</body>
</html>

If everything succeeded, this is how your page could look like:

My first web page

I have created this web page in a few seconds.

Next time we will talk about the meaning of all those symbols.

0 Comments:

Post a Comment

<< Home