Essay preview
Basic Web Development
Module
Department of ICT
Centre for Foundation Studies
International Islamic University Malaysia
Page 1
Table of Contents
1.0
HTML Codes............................................................................................................... 4
1.1
Introduction to HTML ............................................................................................. 4
1.2
Basic HTML Document Code Structure ................................................................. 4
1.3
HTML Tags ............................................................................................................. 5
1.4
Table Tags ............................................................................................................... 8
1.4.1
Table Borders ....................................................................................................... 8
1.4.2
Background and Border Colors ........................................................................... 8
1.4.3
Cell Spacing and Cell Padding ............................................................................ 8
1.4.4
Table Width ......................................................................................................... 9
1.4.5
Column Widths .................................................................................................... 9
1.4.6
Table Height....................................................................................................... 10
1.5
Form Tags .............................................................................................................. 10
1.5.1
Text Box............................................................................................................. 10
1.5.2
Radio Button ...................................................................................................... 11
1.5.3
Checkbox ........................................................................................................... 11
1.5.4
Drop Down List ................................................................................................. 11
1.5.5
Submit Button .................................................................................................... 11
1.6
2.0
HTML Background Music Code ........................................................................... 11 Microsoft Frontpage 2003 ......................................................................................... 13
2.1
Getting Started ....................................................................................................... 13
2.1.1
FrontPage Preview ............................................................................................. 14
2.1.2
Local Web Browser File .................................................................................... 14
2.1.3
Browser Versions and Screen Resolution .......................................................... 14
2.2
Creating a Web Page Title ..................................................................................... 15
2.3
Adding a Theme .................................................................................................... 16
2.4
Setting Page Colors ............................................................................................... 16
2.4.1
Color Palette....................................................................................................... 17
2.5
Adding Wallpaper .................................................................................................. 18
2.6
Adding and Formatting Text ................................................................................. 18
2.6.1
Style ................................................................................................................... 18
2.6.2
Font Face ............................................................................................................ 19
2.6.3
Font Size ............................................................................................................ 19
2.6.4
Font Attributes ................................................................................................... 19
2.6.5
Alignment .......................................................................................................... 19
2.6.6
Numbers & Bullets ............................................................................................ 19
2.6.7
More Indent/Less Indent .................................................................................... 20
Page 2
2.6.8
2.7
Font Color .......................................................................................................... 20 Using Hyperlinks ................................................................................................... 20
2.7.1
Inserting a Hyperlink ......................................................................................... 20
2.7.2
Removing a Hyperlink ....................................................................................... 22
2.7.3
Editing a Hyperlink ............................................................................................ 22
2.8
Using Bookmarks .................................................................................................. 22
2.8.1
Creating a Bookmark ......................................................................................... 22
2.8.2
Inserting a Hyperlink to a Bookmarked Destination ......................................... 23
2.9
Using Images ......................................................................................................... 24
2.9.1
Image Types ....................................................................................................... 24
2.9.2
Inserting Clip Art ............................................................................................... 24
2.9.3
Converting Clip Art ........................................................................................... 25
2.9.4
Sizing and Placing Images ................................................................................. 26
2.10
Using Bulleted and Numbered Lists .................................................................. 27
2.11
Using Tables ...................................................................................................... 30
2.11.1
Creating a Table ................................................................................................. 30
2.11.2
Working with Tables.......................................................................................... 30
2.11.3
Table Toolbar ..................................................................................................... 32
2.11.4
Table & Cell Properties ..................................................................................... 32
2.12
Saving Your Work ............................................................................................. 35
3.0
Hosting Server ........................................................................................................... 36
Page 3
1.0
HTML Codes
1.1
Introduction to HTML
A web page is created using a language called Hypertext Markup Language (HTML). You can write HTML codes with a plain text editor (Notepad, Word, WordPad, etc), or use a HTML editor (Frontpage, Dreamweaver, etc), which will write the codes for you. HTML codes, also referred to as HTML tags, are enclosed within pointed brackets () and may be written in capital or lower case letters. The opening bracket is ().
< font size = “2” >
element
attribute
value
An element may also be followed by attributes, which are words describing the properties of the element, and further instruct the browser. Attributes are only contained in the opening HTML tags to the right of the element and are separated by a space and followed by an equal (=) sign. The value follows the equal sign and is enclosed in double quotes “ ”. 1.2
Basic HTML Document Code Structure
Begin writing your HTML tags by creating your document's basic layout. Write this code into your text or HTML editor.
Your page title
This area will contain everything that will be visible through a web browser, such as text and graphics. All of the information will be html coded. For a complete list of html codes, tags and examples, see the HTML table below.
The blank lines/spaces are not necessary; browsers ignore blank spaces in HTML documents. However, this makes your HTML documents easier to read.
Page 4
1.3
HTML Tags
The one-sided tag is an empty tag that has opening tag but NO ending tag Tags
Description
Onesided
to indicate that the file is an HTML document
heading of HTML documents
includes general information about the document (keywords for search engines)
Twosided
OR
Example:
identifies the title of the Web page
wi...