APLIKASI kOMPUTER
Web Site Development
Objectives
Identify the hardware and software required to write, test, and execute a web page Describe how HTML tags are used to format Web pages Discuss the benefits of using Web page authoring software Describe how FrontPage can be used to write a web page.
Contents
World Wide Web Preparing a Web Page HTML Authoring Software FrontPage Frames
Writing vehicle Programming in HTML Authoring software Browser Test the code locally Test the code on the server Server Test links to other sites Store your published site
Programming in HTML
Type tags into a text file (Notepad) HTML editor HTML code must be saved with .html extension
<head> <title>BusyBox</title> <style type="text/css"> body { background-color: #DEE2DE; color: #000000; }
:link { color: #660000 } :visited { color: #660000 } :active { color: #660000 } td.c2 {font-family: arial, helvetica, sans-serif; font-size: 80%} td.c1 {font-family: lucida, helvetica; font-size: 248%} </style> </head> <body> <basefont face="lucida, helvetica, arial" size="3"> CE1353 :: Aplikasi Komputer 7
Authoring Software
WYSIWYG (What You See Is What You Get) Create web page visually HTML code is generated automatically
Use writing vehicle to create web site Test locally using the browser Connect to Internet using your browser Test the links to other sites Publish the site to your server Test the site by accessing from the server
Tag tells browser how to display the information provided Enclosed in angle brackets < > Generally used in pairs Open tag Closing tag same tag with / in front Can nest tags Tags cannot overlap
10
<HTML> </HTML> Beginning and end of every HTML document <HEAD> </HEAD> Contains information about the document including the title that is to appear in the title bar <BODY> </BODY> All content for the page is placed between these tags
11
If you view this from the browser, you will see a blank page
CE1353 :: Aplikasi Komputer 12
13
14
Open text editor Enter basic document tags <HTML> <HEAD> </HEAD> <BODY> >/BODY> </HTML> Save as .html Do not close text editor
15
16
Return to the open file in the text editor Add a <TITLE> tag inside <HEAD> Save Return to the browser Click refresh or reload button Check the title bar
17
Adding content
Add one tag at a time to create content After each addition Save the file in the text editor Refresh/reload the file in the browser Verify that your entry is correct
18
Smallest heading
19
<P> </P> Blank line inserted before the start of the paragraph One space between adjacent words regardless of the number of spaces in the source Extra spaces and lines are ignored <P>Learning HTML is fun!</P>
20
21
Make page more attractive Make page more functional Style Tags Logical Physical
23
24
25
26
Images
Use images that are appropriate and attractive Use sparingly since they effect download time
27
Obtaining Images
Download from a site that offers free images Pay to use an image Scan an image/document that you own or have permission to use Digital camera Create original graphics using software
28
Acceptable image formats vary by browser Generally acceptable formats are GIF Graphics Interchange Format Use for graphics JPG Joint Photographic Experts Group Use for photographs PNG Portable Network Graphics Expected to replace GIF
CE1353 :: Aplikasi Komputer 29
31
32
WYSIWYG Generates HTML code Benefits Non-technical users can create their own web pages Technical users can insert HTML inside the generated HTML
33
Window similar to Office 2000 Windows Process to create a web page Select the type of page you wish to create Enter content Format content Add a title Add links and graphics View
34
Navigation View
Shows structure of web site Visual clue showing how the subpages relate to the main page
35
Other Views
Folders Lists the files in detail Reports Provides information of interest to site manager Hyperlinks Graphics picture of link relationships Tasks List of items that need to be completed and who is responsible Useful for collaboration
36
Page Tabs
Normal tab Viewing the page in WYSIWYG HTML tab The HTML code for the page Add your own HTML code to this page Preview Page as it will appear viewed by a browser Switch between HTML tab and Preview tab to see the effect of changes as you make them
37
Listed at the bottom of the page Try to keep loading time low Can be changed to show loading time using different modem speeds
38
Themes
Unified set of design elements and color schemes that you can apply to a page to give it a consistent and attractive appearance
39
Themes
Using a theme is a quick and easy way to make sure your Web pages are visually consistent and appealing. Microsoft FrontPage includes many complete themes that you can use right away. You can also change those themes or create new ones.
40
Examples of Themes
41
Examples of Themes
The following example shows a plain Web page, and then shows how the same page would look with different themes applied: 1. A plain Web page. 2. The same page with three different themes applied.
42
Page Templates
A Template is a set of predesigned formats for text and graphics on which new Web pages and sites can be based. After a page or site is created using a template, you can customize it. Columns Table of contents Searches Guest book Bibliography FAQ Forms for visitors Forms for customers
43
44
Frames
Divides the page into sections Each section displays a different web page Each section can be updated individually Frameset collection of frames displayed in a single page
45
Process
46