Sunday, February 28, 2010

Basic HTML Series 1

HTML stands for Hyper Text Markup Language and is the language of the web. Like humans, the browser will also need a standardization of language in order to understand and display the web interface as desired.

Html itself is a collection of tags. You can control how your page looks by using HTML elements mixed in with your text. An element is usually made up of two tags, a start tag and an end tag.

<h1>This is Heading 1</h1>

html files usually end with the extention. html or. htm, you are free to use, html or. htm html when saving your file.

You only need a notepad or a plain text editor to create a html file. I do not recommend you to use html editor like frontpage or Dreamweaver when learning html. with the intention that you fully understand the structure of a web html.

Why is that? because the majority of cases found in the beginners usually is when designing their web pages, they have difficulty when setting up the layout, because they do not know the markup tags to organize.

Most web applications offer the ease of use like microsoft word. This is why beginners often forget and do not want to know about html code, because just click and drag to place the content.

Let's look at the basic structure of an html page

the basic structure of an html page at least has the structure tags like this:

<html>
<head>
<title>This is a basic structure of a html page</title>
</head>
<body>
<h1>This is my heading</h1>
<p>This is my content</p>
</body>
</html>

Let us try to practice
  1. open notepad
  2. write the basic structure code above
  3. save with the name index.html ( remember use File Save As and for Save As Type choose All Files)
  4. double-click the new index.html file created earlier
congratulations! you've just created your first web page.

No comments:

Post a Comment