You are on page 1of 5

Introduction to web page design

Every day new websites are appearing and existing ones are being updated and modified. There are specific application
programs, such as: Microsoft FrontPage, Microsoft word and notepad that provide the tools for you to design and
create your own web pages and to edit existing ones.

HyperText Markup Language (HTML) is a universal language that all web browsers can interpret. The most common
browsers are Microsoft Internet Explorer and FireFox. Browsers let you view HTML files, but not create them.

The use of HTML helps in two major ways:

⮚ To share documents – HTML was created to help users share documents on the Internet, so that a browser
can read a basic HTML document.
⮚ To link to other documents - Hyperlinks use an Internet address for the related document s in the HTML code
for the page. Clicking on the hyperlink either downloads the related material or views the document.

Planning your web pages

Your first task is to decide what you are going to put on your web pages. This task will be easier if you spend some time
planning your website. You should consider the following features that make a good web page.

Content

The messages of your website should be presented in a manner to capture the attention of those who visit it. The
initial screens should attract visitors’ interest so that they want to browse the site. The main screens and connecting
web pages should supply enough information and maintain a visitors’ interest enough to encourage repeat visits. The
use of one or more combinations of colour, images, sound, video and tone of language can capture or lose a visitor’s
attention.

Organization

Web pages should be well organized, with information arranged in categories and subcategories. This helps the user to
browse through information in a sequential and logical manner, so that interesting sub-topics can be selected for
further reading.

Navigation

Navigational links can include pull-down and pop-up menus or links to other pages or documents. Any visitor to a
website should be able to move through the main categories or pages in a logical manner or go directly to an area of
interest. Many websites also use breadcrumbs. These are navigational links that are seen in a single line below the
page header (breadcrumbs show the path that a visitor has taken to access the current page). Breadcrumbs show the
path a visitor would have to access the current page. An example of a breadcrumb is:

Home > Furniture > Chairs > Leather Chairs

The visitor should be able to go directly back to the opening screen or main web page from the current web page. This
can be done by clicking on the Home link or on the breadcrumbs. Also, it is useful to provide the option for users to
see other web pages that are related to your web page content.
Economy

You should be aware of the number of web pages a visitor must view before seeing the page of interest. Also, not all
users have the same Internet connection so modem speeds for dial-up customers may increase the time taken to view
a page that has many images or video.

Security

A website should have ample security features to assure confidence if users are providing sensitive data, such as credit
card or personal information. These security features should include measures to prevent hackers and viruses from
compromising the integrity of data, information, and hardware.

Useful information on web pages:

Tags

Tags are used to label headings, paragraphs, numbered lists, quotations, tables, hyperlinks, forms and frames. Some
tags simply give important information to the browser – that is, these tags do not make any visible changes that you
can see in your browser.

There are many pairs of tags. The beginning tag has brackets < > around the letter or word, while the ending tag
contains a forward slash in it such as </ >. These codes around a tag indicate that it is not normal text but an
instruction that needs to be executed. You therefore do not see these codes on web page. The beginning tag tells your
browser to execute the code, while the end tag tells the browser to stop executing the code. You can write tags in
upper case, lower case, or both.

HTML Skeleton:

<HTML>

<Head>

<Title> </Title>

</Head>

<Body>

</Body>

</HTML>

Table showing examples of hidden tags and their explanation

Tags Explanation

HTML tags Usually found at the beginning and end of your document

<HTML> <?HTML>
Head tags Instructions that will not be printed directly on your web page.

<Head> </Head>

Title tags Belong within the HEAD tags. Any text typed between these tags is shown at the
top of the browser. Note that this text does not name your web page but serves as
<Title> </Title> a guide to the purpose of the web page

Body tags Most of the HTML code is written between these tags. It is this content that we see
on a web page.
<Body> </Body>

Examples of tags that format the content in a webpage

Tag Example Explanation

Heading <h1>text</h1> Identifies major headings and subheadings. H1 is a major heading ,


while h2 and h3 are subheadings

Paragraph <p1>text</p1> Identifies normal text in the web page

Bold <b>text</b> Makes the text between the tags bold

Underline <u>text</u> Underlines the text between the tags

Italic <i>text</i> Italicises the text between the tags.

Hyperlinks

Visitors to a website use hyperlinks to move from web page to web page. A hyperlink can be an icon, image, or word
that automatically opens another file or document for viewing. You should therefore have a table of contents or home
area to allow visitors to select specific areas of interest. Be sure to create a link from each page that will return the user
to that home page. You click on a hyperlink to:

⮚ Be directed to the other web page, file or document

⮚ Be directed to another position within the web page

⮚ Send an e-mail message using contact details given on the website.

Naming your Home page

You should save each document as a web page, but it is important to save your home page as “index.html” since this
name denotes the first page on any website. Also, try to keep your files, images and documents organized by creating a
folder just for your web pages.
Html Codes

Purpose Codes

Headings <h1>Text </h1> (largest heading)

<h2> Text </h2>

<h3> Text </h3>

<h4> Text </h4>

<h5> Text </h5>

<h6> Text </h6> (Smallest heading)

Paragraph <p> This is a paragraph </p>

Line break <br /> or <br> Text </br>

Styles style="background-color:yellow"

style="font-size:10px"

style="font-family:Times"

style="text-align:center"

Link <a href="url"> Link text </a>

Open link in a new <a href="http://www.w3schools.com/"


window target="_blank">Visit W3Schools!</a>
Image <img src="url" />

Unordered List <ul>


<li>Coffee</li>
<li>Milk</li>
</ul>

Ordered List <ol> to change the order of listing use (type=”A” or “a” or “i” or “I”)
<li>Coffee</li>
<li>Milk</li>
</ol>

Definition List <dl> (Defnition list)


<dt>Coffee</dt> (dt- definition term)
<dd>Black hot drink</dd> (dd- definition description)
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>

Table <table border="1">


<tr>
<th>Tableheader</th>
Tr – Table row <th>Tableheader</th>
</tr>
<tr>
<td>sometext</td>
Th – Table heading <td>sometext</td>
</tr>
</table>
Td – Table data

You might also like