Download presentation
Presentation is loading. Please wait.
1
Exploring the Internet Creating web pages with Nvu a WYSIWYG web editor 91.113-021 Instructor: Michael Krolak 91.113-031 Instructor: Patrick Krolak See also http://www.cs.uml.edu/~pkrolak/lab4/lab4.htmlhttp://www.cs.uml.edu/~pkrolak/lab4/lab4.html Authors: P. D. & M. S. Krolak Copyright 2005
2
Tonight Creating a web page using a WYSIWYG web editor Source: http://www.arteffectsni.co.uk/web_design/cartoon_web_design.gif http://www.arteffectsni.co.uk/web_design/cartoon_web_design.gif
3
Class Announcements Class Notes Have been posted on class blog.
4
Nvu Nvu (pronounced New View) is an open source editor, i.e. the source and the program are freeware.
5
Instructions for Downloading The Web Editor V|NU Directions: 1.To download VNU, go to http://cvs.nvu.com/download/nvu- 1.0-win32-installer-full.exe. http://cvs.nvu.com/download/nvu- 1.0-win32-installer-full.exe 2.Depending on your computer settings, you may get the following warning: –Press Run. –When prompted click "Next" or "I accept the agreement". Finally click on Install.
6
Using Nvu to set up and edit your website
7
Goals of the tutorial Goals of the tutorial: The goals of this are centered around creating interesting, attractive, and compelling web documents in an efficient and productive manner. To learn the Nvu web editor an editor that makes creating web pages only slightly more difficult than creating word processing documents. To learn how to design tables and to use the table tags to create attractive two dimensional layouts. To learn how to find and create a web resource page to keep track of sites that contain free and shareware resources to make creating more attractive web pages easier.
8
WYSIWYG editor Writing Web Pages using the Nvu Web Editor. Nvu works like a What You See Is What You Get (WYSIWYG) word processor, e.g. MS Word.. In the previous lab we actually used some of the HTML tags and created HTML documents. To use Nvu one only needs to: –select the appropriate button in the composition toolbar, –answer the questions in the resulting dialog box and fill in the appropriate text boxes, and –click the [Apply] button to see what the change looks like and the [Close].
9
WYSIWYG editor (more) As we move into the era of dynamic documents, this becomes harder and harder to do. In newer Web page editors, much of the action is also buried in the source code. Thus, it is hidden from the viewer. As a result, Nvu and other similar editors use tags to indicate how the content behaves at the source code level. This hidden layer could include: Java applets, Javascript and other scripts, Forms, Frames, and XML.
10
Nvu’s Site Management
11
Opening your web page on N|VU
12
Enter the location of your web page
13
Opening your Publishing Settings
14
Site Settings Remember: Your username is your first initial and last name and 113. So JohnSmith would have a http address of http://ceweb.uml.edu/jsmith113, a ftp site of ftp://ceweb.uml.edu and a username of jsmith113
15
Adding a link to a file on your webserver Add the text that you want to display Then copy the name of the file into the lower field. Click OK.
16
Opening your web page on N|VU
17
Enter the location of your web page
18
Opening your Publishing Settings
19
Nvu -- a WYSIWYG HTML Editor: To open Nvu Select
20
The Toolbar The toolbar has the standard functions File, Edit, View on the left side, Help Insert, Format, Table, and Tools contain detailed HTML functions.
21
[Insert]
22
[Insert]/NamedAnchor
23
[Insert]/HorizontalLine
24
The Composition Bar The Composition Bar offers one button tools for rapidly carrying out common tasks.
25
Composition bar The one button tools are the most frequently used editing operations, and offer assistance with the more complex HTML tags for creating links, targets, images, horizontal rules, and, most importantly, setting up tables. Dialog boxes request user preferences and other information necessary to create the containers for the tag(s). The most common examples are the image and the table tags. Table tags are really containers within containers that denote colors or backgrounds, captions, horizontal and vertical alignment of text and table, and the borders of the table and each cell. Thus, the dialog box involves specifying many items.
26
Composition bar Composition bar contains frequently used functions, New, Open, Save file operations Publish - allows publishing the document to the web, Browse - view the it in the browser, Anchor Link -- Link HTML documents, named anchors, audio and multimedia. Image – Add an inline image to the document Table – Create a table Form – Create a form and add actions to interact with the server. Spell check the document Print
27
New Button
28
Open Button
29
Save Button
30
Publish Button
31
First Step -- Publish button 1.Click [Publish] 2.Click Setting Tab 1.Site Name – Ceweb.uml.edu 2.Pub address – ftp://ceweb.uml.edu/ ftp://ceweb.uml.edu/ 3.Http address (URL) -- http://ceweb.uml.edu/User _id http://ceweb.uml.edu/User _id 4.Fill in the User_id and Password
32
Before Publishing After the Web page has been: 1. Created, 2. Edited, 3. Checked for grammar, spelling, content, and appearance, and 4. Finally validated [Tools]/Validate HTML then it is ready to be uploaded to your website (Published).
33
Page is ready to Publish 1.Click [Publish] button 2.Click Publish tab 3.Site Name – ceweb.uml.edu 4.Make sure the page has a title and a file name with a “.html” extension 5.Use the defaults and click publish button (see arrow)
34
Browse Button
35
Print Button
36
Using Images in your web page
37
Image possibilities The Image Button allows you to add images to your page. The images placed on a page are known as inline images. Clickable images that link the image to a URL are called buttons. A button can link to another location on the page, another external page, or a sound or video. An image used as a background upon which the text and inline images are placed is called, naturally, a background image. An image with defined clickable regions that point to URLs, or cause an action when a mouse event occurs (onMouseOver, onMouseOut) is called an image map.
38
Image Button
39
Fill out the image dialog box Image Location Tab: Image Location – use the location on the web, i.e. its URL or use the [Choose File..] to locate the image on your computer. The image is saved with the HTML file in the same directory unless the URL is relative to page location check box is checked (clicked on), in which case it leaves it where it is.. Use the Alternative text (short title or description for visually impaired). Note after the Image location is chosen a thumb nail of the image will appear. Advanced Edit – normally used by advanced web designer.
40
Image Dimensions Tab Image Dimensions tab: Optional if Actual size If you need to resize, click Custom Size. Constrained check leaves the ratio of height to width the same. Select the new width (and height if not constrained) The size can be either in pixels or % of window size
41
Image Appearance tag The Appearance tab allows the user to chose: 1.Spacing around the image and whether to use a solid border. 2.The Align text option tells the browser how to flow the text around the image.
42
Image Link tab The Image Link Tab is used to create a button. 1.After a suitable image that makes clear the action of the link is chosen then a URL that carries out the action is inserted in the text window. 2.If the link is to a local file in the directory, then use the Choose File.. Option.
43
Table Button Tables allow the author to create a two dimensional layout for the document. This control is necessary for a professional and pleasing appearance.
44
The Table Button
45
Initial Table Dialog Click the Table button Fill in the number of rows and columns Fill in width either in Pixels or % of window. Border 0 is none, 1-2 is flat, 5- 10 is a 3-d boarder Click [Advanced Edit..] and fill in the table attributes When done click [OK]
46
Advanced Edit – set the attributes The Advanced Properties Edits the Table attributes Click Selector arrow Select the attribute from the list and double click on it. Set the value in the Value window. When done click [OK]
47
After the table appears – Modify cells, rows, columns In the table click your mouse on the object to change (cell, row, col). Click [Table] Cell dialog box appears fill in changes and use [Advance Edit] to modify object’s attributes As an example in the attributes select bgcolor to change the table’s color. Use value to get color, then click [OK]
48
Mistakes, Modification, and Redesign of Tables: How do I delete a table, row, column, or cell? You may create too many rows or columns, and want to delete some. This is done in the following manner: Click the Edit button in the Toolbar: Undo maybe used right after creating the table to delete it and start again. Otherwise, you can use the Delete Table sub-menu: –Table -- Deletes the selected Table. –Row -- Deletes the selected Row. –Column --Deletes the selected Column. –Cell -- Deletes the selected Cell. The Select Table allows the selected Table to be modified
49
Examples
50
Spell Button
51
Linking materials
52
Link Button
53
The Link Properties Dialog The URL can be an absolute URL, in which case: Type it in the "Link to" window in the dialog box. Copy from the Netscape Location: window and paste in the second window. Place the mouse on the text link and click the right mouse button; then select the Copy Link to Clipboard option. Finally, paste it in the "Link to" window. The URL can be a file in the current system's directory, (i.e. a relative URL). A simpler method is to click [Choose file..] and use the usual Window's directory dialog box to find the correct file, highlight it, and click [Open]. After the link's text and URL are completed and click [OK].
54
Linking to Special URLs Linking to Special URLs including Mailto to setup Email LinksMailto Review the material on special URLs such as: ftp, etc. The Mailto link is of major interest to most authors. Simply fill in the text as in a general link in the second window: Mailto:Author's_Email_Address Where Author's_Email_Address is your usual email address, e.g. pkrolak@cs.uml.edu
55
The style bar (Formatting Bar) Creating the look and feel of the document.
56
Formatting Tool bar -- Style bar The style bar allows the author to create the html text containers, i.e. physical, logical, and font. Lists – ordered and unordered Alignment –Left –Center –Right –Justified Tab right and left
57
Style
59
Text and Background Color Selection
60
Selecting colors
61
Highlighting
62
Physical Text
63
Lists Simple lists breaks down into two main types: –Unordered lists with each item denoted by a printer's bullet or other symbol, orUnordered –Ordered lists (those that use a number or letter)Ordered Other list types that require the use of the Format button on the tool bar are: –Definition, andDefinition –DictionaryDictionary –MenuMenu Note that the Unordered List will select the style of the bullet (disk) for you based on rules of nesting or indentation. Similarly, for Ordered Lists, it will select order element type (numbers or alphabetic characters). If this offends your sense of layout, use the HTML editor to override Nvu's selection. You can achieve almost all the control needed for any list layout -- select the [Format] button/Character Properties/Paragraph, then select the correct options to determine list style, type of character or disc to display, and the starting value. This is tedious, but necessary for greater control over the details.
64
Text Alignment
65
Unordered List
66
Ordered List
67
Align the text element
68
FAQs Q: How do I begin to use Nvu: Ans: It is recommended that the reader start by reading the Nvu Users Guide: http://www.nvudev.org/guide/1.0PR/nvuug10.p df Q: How do I open Nvu to begin editing? Ans.: Click on Nvu icon on your desktop.
69
FAQs (more) Q: How do I set the background color, image, or the default colors of the text, link, alink (active link), or the vlink (visited link)? Ans.: Click [Format]/Page Colors and Backgrounds... Q: How do I get special characters, for instance the copyright symbol, into my text? Ans.: Click [Insert]/Characters and Symbols... For more information see.see Q: How do I get the Nvu plugins? Ans: The plugins and instructions for using them --
70
FAQs (more) Q: How do I find out what plug-ins are available on my copy of Nvu? Ans.: Click on the [Tools] menu. Q: How do I stop the Link operator from "linking the text following the text that was specified"? Ans.: Nvu still thinks that the container for the link text is open. Highlight the text that you don't want to be part of the Link, click [Format] and select "Remove Links". Q; How do I insert tags not supported by the current Nvu editor? Ans: Nvu does not support the full set of HTML tags --,,. To overcome this one can insert the non-supported tags one at a time using [Insert]/HTML Tag.. See the discussion on the [Insert] Also by clicking on the Source tab on the bottom of the Nvu window one can edit the source code directly.[Insert]
71
The tag Use the tags when you need a plugin or other helper that is not part of the browser original programs. Basic attributes are: –SRC=“URL_of_Media_file” can be sound or video, etc. –Controls to set volume, start, loop, etc.
72
Attributes for the Controls Control AttributeValue ControlsTrue|False Heightinteger Widthinteger AutostartTrue|False LoopTrue|False
73
Adding Audio and Video Use the [Insert]/HTML In the dialog box window insert Then your Text message Note the attributes should allow for a controller so the user can correct volume, on/off etc.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.