DREAMWEAVER 1
Introduction, Background, Interface
SUNNY is the name of the UNI server. Sunny is a secure FTP, you have to use
SFTP, or ÒsecureÓ FTP
1.
Make a folder (File/New Folder).
And in that
folder, make 3 other folders.
Lower case: images
documents
flash
2.
Launch Dreamweaver. Go to Dreamweaver Site, select Dreamweaver SiteÉ
3.
Find the folder that you just created
on your Desktop (in this case, the folderÕs name is ÒtimmillerÓ:
4.
Twirl down ÒAdvanced SettingsÓ and
select ÒLocal InfoÓ
5.
Leave first dialog box blank. In second dialog box type in the UNI
URL + your user name (IÕm using my own as an example: my username is ÒfabosÓ and this is
the address of my website.
6.
Select ÒServersÓ from the left column
menu.
7.
Click on the Ò+Ó sign at the bottom
of the dialog window:
8. Add the
following information (put in YOUR USER NAME instead of ÒfabosÓ
and YOUR PASSWORD. Test your
password. Hopefully it should work!
8. Create a New
HTML page.
index.html- every student has a placeholder if
they already created public space
You
can edit this placeholder
You
can replace this placeholder.
HereÕs a good
discussion of index pages:
http://www.mtholyoke.edu/help/creating-pages/indexes.shtml
.
FETCH IS ONE FOR MAC.
CYBERDUCK
á
A UNI SUNNY account (or an account from a private firm/cable
provider, etc)
á
Your User name
Hit connect
IT asks for your password and youÕre connected.
JUST MAKE SURE your FTP program ITÕS AN SFTP.
PREPLANNING YOUR
WEBSITE:
á
DRAW YOUR DESIGN OUT ON PAPER FIRST
á
STORYBOARD YOUR WEBSITE FIRST
á
VIDEOS SHOULD TO BE SHORT AND SMALL
(160X121 is a good size.)
á
SUNNY IS A WEBSERVER AND NOT INTENDED
TO HOLD LOTS OF VIDEO.
á
UNI HAS A STREAMING SERVER, WHERE
STUDENTS CAN STREAM STUFF AND ITS CAN PROVIDE A LINK AND WORK WITH EMBEDDED
CODE.
á
GO TO PRODUCTION HOUSE FOR HELP WITH
THE STREAMING SERVER IF YOU WANT TO UPLOAD LARGER VIDEOS.
Work Locally
upload after youÕre done working locally.
Watch for slow
networking: work locallyÉ.create folder on desktopÉand
then move to Public_wwwÉat completionÉ.or create
folder on UDS, NETDISK,Éand then move into public_www
space.
Make sure you
understand what it means to move content into a PUBLIC folder.
Once public, the
whole world can access it and see it.
You page can be harvested by a search engine. It is NOT private information
anymore.
A huge School of
Business fiasco at a certain university happened recently when someone placed thousdands of confidential social security numbers in a
Public WWW folder. There was a huge
security breach; anyone could find those numbers and download them. So itÕs VERY IMPORTANT to understand
that a Public folder is a PUBLIC folder.
Problems
If problems exist
with student account, go to ITS (Room 36 in ITTC building). Problems with building your webpage, go to the Production House.
Extra help
http://proquest.safaribooksonline.com/0672327600/ch02
entire book - http://proquest.safaribooksonline.com/0672327600
Dreamweaver Workspace
The
Start page
This is the first page that comes up when
you enter DW8. Go over 3 columns:
1. Open a Recent Item: open up a recent DW8 document youÕve
been working with.
2. Create New: quick link for creating new pages. Can click any of these items (HTML, ColdFusion,
PHP, etc) and you can make that type of page. IF you donÕt see the type of page listed here you can click
MORE and you can get more types of pages DW can create.
3. Create from Samples. Create new pages based on
a variety of templates. You can
select a CSS page designsÉgood way to learn CSS by examining the code behind
these pages. You can start with some Starter pages to work on some layouts based
on tables. You can customize them to suit your needs. Bottom of Start page you
can take an interactive tour. = A useful springboard. If you end up getting good at DW you can get rid of DW and
go to Edit/Preferences (or Mac/Dreamweaver/Preferences)
and select General/ShowStartpage to deselect.
HTML
vs. XHTML
HyperText Markup Language: for
many years the only code you could use to create webpages. ASP, JSP, Javascript,
CSS, these are add-ons to HTML.
Every webpage at its heart was made in HTML. But in late 2001, the WWWeb
consortium, which determines worldwide standards on the web, decided to
discontinue HTML and replace with XHTML Extensible Hypertext Markup Language is
almost identical to HTML. Their
syntax is a little different.
XHTML places stricter rules on the way its code is written, and is more
universally compatiable. XHTML is a cleaned up version of HTML. DW works just as well with HTML than
with XHTML. The point of DW was to
take the coding out of the designers hands and lets designers concentrate on
the designers. DonÕt need to know
how to code at all. Code DW writes
is clean, and DW8 all write their code based on XHTML standards. DW handles all this for you. If youÕre serious about getting into
web design professionally, youÕll have to learn how to code a bit in XHTML and
fix up code manually. If you want
to learn more about XHTML, visit the WWW consortium page and find the link on
XHTML, the standard, the recommendation for using it
lots of other things.
ItÕs helpful to learn the specifics about
the standard.
What
is CSS?
CSS is an increasingly important concept in
Web Design: Cascading stylesheets.
Provides and controls the appearance of
multiple pages in your website. Instead of formatting style on each indiv.
Page, CSS helps you create a collection of stylesheets,
and if you change something, the change ripples through all your changes. Once a stylesheet
is linked to you pages, any change you have in style will conform across all
your related webpages. ItÕs a big time saver.
ItÕs a powerful tool that can be used to control text and images and
layout entire page. CSS helps you
separate presentation of page from its structure. Structure of the page is something like the text of a
heading and the text of the content.
The Style of that heading and the style of that text is the kind of
thing we adjust in DW8. The most
important reason for separating structure and prestentation
is that it makes it so easy to change your website.
This site is dedicated for the promotion of
CSS in design layout.
Go to the page, you can see the nice layout.
Then go to the link (in lavender on that
page) that says Òhtml codeÓ and you can see the page without any CSS
implementation on. They ask people
to write their own CSS styles to reformat the code. The links to the CSS styles is on the link, Òcss fileÓ so anyone can change the styles. Take a look at the various styles that
people have changed the page with.
This is neat. You can see
all these different presentations of the same content.
DW has always had great CSS support in the
past and itÕs getting so much better.
Even if you just type a few lines and make the text bold or italicized,
DW will automatically make a CSS stylesheet for you.
What
is DHTML?
Dynamic HTML: essentially a collection of different technology that can
include any combo of XHTML, Javscript, CSS, and DOM
(document Object model). Combine
these technologies and create more dynamic contentÉ.something
made possible include animated objects on page, letting user drag things around
on page, and complicated rollovers.
DHTML has the most serious cross platform and browser issues, which
result in undesired effects. ItÕs
a little risky, but DW8 can help you sample DHTML across various browsers.
What
is JavaScript?
Was developed by Netscape in 1996,
increasingly popular and useful. Interacts with HTML and allows you to add
dynamic content like rollover buttons or you can automatically resize a browser
window. You donÕt need to know how
to write javascript in the DW8 interface. The Behaviors panel is where a lot of javascript happens. There are tons of other behaviors
available online that you can get (Behaviors/Get More Behaviors). Further extend DWÕs
capabilities.
DonÕt confuse Javascript
with Java. Java is a high-level
programming language developed by Sun Microsystems. Netscape licensed the name from Sun in the hopes of
increasing the acceptance of Javascript. No other real relation. The Name seemed to have worked b/c javascript is in heavy use today.
File
naming conventions
Your website consists of individual files
linked together. Naming them
properly is really good web design practice. A lot of todayÕs web browsers and servers will allow you to
fudge, but itÕs REALLY important to have proper naming strategies.
1. DonÕt use spaces in file names. Most browsers will be able to bring up
page names this way. But it can
complicate things. Take the
webpage nameÓ about my company.html.Ó
Any time you add a space, itÕll be represented in the url as %20
e.g.: http://www.teacloud.com/about%20my%20company.html
in a browser. ItÕs
ugly, but imagine trying to tell someone your address if itÕs listed like
this. If you really need to
separate words in a fileÕs name, try using a hypen or
an underscore, looks nicer. You
also might want to consider using as short a name as possible
(Òabout_us.htmlÓ). AboutTheCompany can also be a solution.
2. Avoid using capital letters. OK in most situations but some unix sensors are case
sensitive. ItÕs much easier to
just avoid capital letters.
3. DonÕt use special characters: .Ó,!?/\~*&$#@( )
dots are reserved for placing before the filesÕ extension
(.html). And slashes are used to
indicate that a file is in a nested diretory. DonÕt use anything other than letters
and numbers.
4. File name extensions: .html or .htm
These
are the extensions appearing at the end of all webpages. Both are acceptable. .htm
was initially used b/c early dos servers didnÕt allow for extension longer than
3 characccters
Pickk one and stick with it. ItÕll cause confusion. In DW you can set your default
preferences to either pick one or the other.
What
is an index page?
Show the folders behind an existing
Website.
Notice it contains folders and files with
the .html extension. A website is
essentially a collection of files and folders. Main folder is the site folder. This is also sometimes referred to as the ROOT folder. Open a site window and if you donÕt see
any of these folders—a Windows issue—go to Tools/Folder
Option/View/ and make sure that ÒHide extensions for know file typesÓ is not
checked. If you check it and apply it, the .html extensions have all been
removed. ItÕs good to see the file
extensions b/c itÕs important to know what file youÕre working with. Files that
end with .html or .htm are the actual webpages for the site. Folders contain additional webpages
as well as additional folders and images that are used throughout the
site. NOTICE file labeled
Òindex.htmlÓ. this
is a very important file name. For
the most part youÕre free to name your webpage whatever you want. But by naming your page index youÕre basically
saying Òthis is the default goto
page for the entire folder.Ó If
you fire up:
http://www.uni.edu/fabos
When you type this in youÕre telling the
browser to find the folder containing the default site, index. If you type /index.html and enter, it
takes you to the exact same page.
(http://www.uni.edu/fabos/index.html)
The
Insert bar
Essential DW interface item. Create New HTML. Insert bar contains a row of icons and
each of the icons represent an element that you can add to the Webpage. And a lot more icons exist that you
canÕt even see here.
For convenience the insert bar is broken up
in several categories that you can access from this menu:
If you want to build a form on your webpage
you select ÒformÓ category, and youÕll find all the tools (represented by
icons) to build a form. If you
select ÒCommonÓ youÕll see the most common tools, such as adding tables,
inserting images, adding email link.
You can customize the insert bar to some extent, when you selet Show As Tabs (at the bottom of the menu). A different way to
work if you prefer it that way.
You can also choose ÒFavorites,Ó Customize your favorite objects. Right Click anywhere in the Insert bar,
and itÕll take you to the Favorites window. Select each icon you commonly use, and add it to your
favorites. Much easier to use the icons than to pull down a menu (all tools are
located in pulldown menusÉInsert/Image, etc)
The
Properties Inspector
Probably the most important panel to have
open at all times. ItÕs a
contextual panel, meaning the context of the panel will change depending on
whatever you have on your webpage.
SHOW how the properties panel changes depending on whether you have a
text panel up, or a table selected, etc.
YouÕll want it open all the time; the settings that appear here donÕt
appear elsewhere in DW. Make sure
panel is expanded the whole way.
The
Document toolbar
Runs across window. Contains several buttons and
menus.
Code/Split/Design.
Default it opens
in Design view. Displays your page
in wysiwyg mode (what you
see is what you get.) Gives you a pretty accurate depiction of what your page
will look in web browser. Code
button displays code. Even what
appears to be a blank page will have code behind it. Split=you can see both windows. Window/Code Inspector allows
you to look at the code in a smaller window off to the side.
Title: make sure you give page a good name.
Browser target check button:
Lets you validate your pagesÕ code to see
how itÕs going to stand up in different browsers. If you select the ÒsettingsÓ
option you can choose various browsers in which you want to test your page
against.
Validate Markup Button:
Lets you check your code for tag or syntax
errors. Settings: itÕll take you
to your DW preferences, so you could make sure youÕre following strict XHTML
code.
File management button:
Allows you to upload and download files from your computer to the web
server and vice versa.
Preview in Browser button:
Launches a browser and allows you to view
your page in the browser of your choice.
Refresh Design View button.
Allows you to Refresh design you just did.
View Options button:
If youÕre in Design view, you can look at
Head content, show or hide guidelines, rulers, grid, and so on. If youÕre in Code view the menu
changes. Split view, you have both
Design and Code options.
Design view options Code
view options Split
view options
Visual aid button:
where you can show or hide various options youÕll be working with.
The
Document window
Where most of the action in your
webpage freation will occur. LetÕs look at
features. Tab above the file: youÕll see the name of the page itself. DonÕt confuse page name with page
title. The Title is what a user will see in the browser. The file name is the name of the
document itself, the one that has to end in .html or .htm The *
next to the file name means that it hasnÕt been savedÉthere are things on there
that hasnÕt been saved. Play
around w/ * appearing or disappearing, depending on whether the page is saved.
If you have more than one tab, up at the top
of the menu, it makes it really easy to switch back and forth.
Look at the bottom of the Document
Window: <body> tag. If thereÕs more
content on the page, youÕd see more tags (such as <table>. You can also click the tags themselves
to select whatever they represent.
TheyÕre good for selecting things when elements are difficult to select.
Next across:
Selection tool (itÕs selected by default, you want
to have it selected most of the time); hand tool (lets you drag page around
instead of scrolling); magnifying glass (sometimes youÕll want to select really
small items like tiny table cells). When you use the zoom tool, the space
bar quickly changes the zoom tool to the hand tool, so you can use zoom/hand
interchangeablyÉvery convenient.
Also, when zoom tool is selected, pressing option/Mac and Alt/windows
you can automatically change to a zoom minus sign.
PRACTICE USING ZOOM TOOL.
100%, etc. allows
you to change Document Window size.
Fit Selection, Fit AllÉ
Fit Selection represents whatever is selected so
that you can see it really well in the window. Fit All: shows your entire webpage comfortably
in the document window.
Finally, Window Size menu allows you to select among various pre-selected
window sizes. Not everyone will be
able to see your page in the same way depending on what browser theyÕre
using. With the Window Size menu you can approximate
what size your windows will be.
All it does to resize your window to make you see how your material
might look in a browser window that size.
LAST, the 1K/1 sec is showing you how big your file size is and the
approximate download speed. ItÕs
set to assume a 56K connection.
Panel
and panel groups
Each panel serves a different purpose. TheyÕre collected in panel groups. All
the bars that have these little triangles next to them are panel groups. Some youÕll use a whole lot, some hardly
ever. If you click on little
skinny button, all the panels shove off to the side of the screen.
Can also drag button from left to right.
Skinny buttons donÕt exist on the mac. (Properties panel also has a skinny
button, but again, keep property inspector opens all the time). F4 will show and hide panels as well.
Each panels group has a little options menu
that gives you options within that panel group. Experiment looking at the different option menus associated
with different panels.
You can also grab the gripper area and drag
the panel to make it a floating panel.
It allows you to customize the workspace. You can also group them
together (the panels). You may
also just want to detach it and close it to get it out of the way completely
(or by clicking on Options/Close Panel
Group.
Saving
Workspace Layouts
Once you spend all this time setting up your
workspace the way you like it, you can save it so you can recall it later. Window/Workspace Layout/Save
Current. Can find it
later, by going to Window/Workspace
Layout/Title (you can save as many workspace layouts as you want)
How to
Define your Browser of Choice
If you want to reach the broadest audience possible, you
should have the most current version of IE, Firefox
and Netscape browsers. If youÕre
really serious, you should test them cross platform: Mac and Windows. Checking
out your pages in various browsers:
you should do it at every step as you go along.
Preferences/Preview in Browser If you need to add more, click
the plus button. You can assign
primary and secondary browsers, which will be linkable by buttonsÉF12 and control F12. (Mac=option F12 and Control F12). Also button in toolbar (the globe button) in the document
window will connect you to the primary and secondary browsers.
Defining
a site
Very important process, defining
site. You could just jump into start page and
start building your webpage. But
that would be foolish. In order to
properly manage your site, you need to let DW know where on your Hardrive where all of your sites, files, folders, etc. will
be located. This all-inclusive
folder is called your site folder or local root folder. The folder that
resides locally on your hard drive. Telling DW where this is located is called Defining your Site.
Once DW knows where it is itÕll be able to keep track of your site. Without knowing, moving an image from
one folder to another may end up in broken links.
Homework
1. Site Map: Print out a Site map of the Tea Cloud site (to be handed in)
2. Site Management and Document Basics
Defining a Site
Use the Exercise file:
04_site_control for this exercise.
In this folder there is Òteacloud04Ó. ItÕ the nearly
completed version of the site.
YouÕre going to want to to work with this site
in DW, therefore you need to tell DW where this site
is. In many cases you probably
wonÕt be defining a preexisting site, youÕll probably be defining a site from
scratch. (next
session). But if
you end up inheriting the job of managing an existing site, or if you want to
move a site from another program into DW.
1. To define the site, come back to DW, start
page, and click on Dreamweaver Site link under the
Òcreate NewÓ column.
At top of window you see basic tab and advanced tab. Use
advanced tab (donÕt let advanced scare you). When you define a site, youÕll be working with it on your
own computer. When you work on
your own computer, youÕre working Òlocally.Ó When youÕre working with files on your web server, youÕre
working Òremotely.Ó Make sure your
Local Info category is selected. 2 very important fields. Site name and Local Root folder.
Site Name: the name you enter here is for your computer only. DoesnÕt have anything to do with
website; give site a name that makes sense to you. Type in TeaCloud04. If you were working on a site about New
Jersey waste management, youÕd name it NJwaste.
So you have to tell DW where the site
is. Browse for it by clicking the
folder icon. Find the folder. Make sure you select the entire Teacloud (root) folder. ThatÕs all you have to do to get
started.
Other things in local info category: Have refresh Local file list
automatically. Unchecking
it may speed DW up when youÕre copying files, but itÕs best to have it
checked.
Default images folder field. This is where DW automatically copies images if you specify
a folder here. If you donÕt have
it already, itÕs good to have an Images folder.
Http:// field: leave it blank right nowÉnot that important at the moment.
Case-sensitive links field: you should know ONLY TO USE lower case
letters, so this shouldnÕt be a problem.
Cache: Enable cacheÉ..address this later.
DW becomes a conduit through which you can interacting with
the folder on your desk top.
File and folder management
You can see the contents of your folder in
the File panel:
Once youÕre site is defined, youÕre going want to do as much
file management as possible from the files panel. Avoid making any changes from the Windows or mac interface itself.
Moving files is a big no no unless you want
the hassle of fixing broken links.
Make all changes in DW. You
can create new file folders, etc. and that will also be added on your local computer.
To create new webpages within the site, select New file and create it within DW/File management system.
Adding content to the site
ThereÕs going to be times where youÕre going
to want to bring in images that are outside the root folder, like on a CD or
something.
To use them, you need to move them into the
Root folder.
Document Basics
Creating a site from nothing
1., Create a new folder to hold all web
related files. You can put it on
your desktop. Personally, I have
one folder at home called Websites and I store all my folders within that. ItÕs
a good idea to keep EVERYTHING that youÕre going to need to work on in one
folder. Including images and text
files that youÕre not going to use yet.
SO, start with a master folder, and within that, start building sub
folders, including your root folder. Keep your raw images folder, for example,
outside your root folder, but inside your master folder.
2. Once you have a bunch of empty folders,
now you have to point DW to the right place. You COULD go to Create New/Dreamweaver
Site to get to the manage sites menu:
BUT you can also select Site/Manage Sites.
You can decide for yourself what works best
for you.
You need to define a new site so Select ÒNewÓ
And youÕll see the same window that appeared
before (ÒSite Definition for Unnamed Site 1Ó). This time use the Basic.
Select a name for site. Skip the http://
address for the siteÉyou can do that later, b/c you donÕt have site online
yet.
Then youÕll get to a new page: For the moment, choose ÔNoÓ (you donÕt
want any server technology), and click Next.
ÒHow do you want to work with your files
during development?Ó
Edit
on your local computer is the recommended method.
Also,
specify on your local file where you want to store your files. This is why you spent the time creating
those empty folders. Find your folder.
Click Next
ÒHow do you Connect to your Remote
Server?Ó DonÕt worry about this section right now. WeÕll address it when we
talk about uploading files.
Click Done.
Creating and saving a new document
3 ways to do this.
1. preferred method!!
Right click Windows/Control Click Mac, on
the main site folder and choose ÒNew FileÓ. DW generates a new page. Create it as Index.html, and off you go. It saves a couple
of steps, itÕs automatically saved in root
folder. Fastest
way to create a new page.
2.
On start page, click on ÒHTMLÓ to generate a new page. DW opened a brand
new fresh page. But the issue here is that itÕs not yet saved, and in the right
place. Whenever you create a page
in this method, you have to SAVE IT IMMEDIATELY. That way DW will know exactly where it should go. File/Save,
and save it in the local root folder.
It should automatically display local root folder, but always double
check.
Since you should always give your page a
title, donÕt forget to do that asap.
Give it a good descriptive title.
3. Select File/New.
Gives you all sorts of options as well as templates. Again, youÕll get a blank
document. Save it right away. You can even create a new folder in
which to save the file.
As long as everything is in your main
folder, you can have as many sub folders as youÕd
like.
Assets panel
Very important panel, youÕll find it in the
files panel group. A catalogue of
all the different images, colors, links, templates, library itemsÉthings you
might be using in DW, and this panel is like a one-stop shop to find access to
all these different things that youÕll continue to use.
The panel is broken down into several
different categories. When you
open DW, it automatically scans your site and finds stuff to put into the
appropriate categories. So you can
have immediate access to them. If
you start adding different colors to your site, youÕll see the colors
there. You never need to manually
add assets to your assets panel.
Occasionally you might need to hit the
refresh button to give it the most current listing, but DW does add assets automatically.
With each image selected you can see a
preview of what each image looks like.
So itÕs good to use the assets panel for previewing images before you
bring them into your site.
You also may want to take advantage of your
ÓFavoritesÓ categoryÉ.store all of your most commonly
used images. Instead of having to
hunt through all of your images, stick a few in your favorites category. (The little purple
button at the bottom right corner of the Assets folder).
When you go into
to Favorites window the little purple button will have a minus sign next to it
so you can remove favorite images.
Inserting images
Several different ways to do this.
Add an image to
the page using the assets panel.
Select image in assets panel and drag it onto your page. YouÕll see the Image Tag Accessibility Attributes window pop up. This will happen every time you add an
image to your page. Accessiblity is a major concern when it comes to web
design. ItÕs about making your
page as accessible as possible for people with vision disabilities and to
people who will be viewing on smaller browsers (a phone or PDA, for
example). Here you can put an
alternate TEXT in replace of the image, so that people who are using screen
readers (or audible readers), which read the text of a webpage to a person out
loud, can know what the image is about. You can have this window not come up if
you want to by changing your preferences.
If you know what image you want you can make real quick work at
this.
That takes you to
a dialogue box that allows you to hunt for the images that youÕll use. You can
get a preview of the image. If you
donÕt see it, make sure you have Òpreview imagesÓ checked. Problem here is there is a lot of
unnecessary clicking. Much easier
to go to the assets panel, find image you want, and drag it in.
When you go between Design and Code,
whatever is highlighted in code is whatever you happen to be working with.
<p><img src=Òimages/header-top.gifÓ width=Ó720Ó height=Ó58Ó/>
This
is what is known as a relative path. Meaning this path is relative to the
page in which it appears. If you
switch to your files panel, this is what the path means: In the main root folder,
look for the folder called images and in that folder look for the image that
has the name Òheader-top-gifÓ
An Absolute
path is when you give the exact address of a file regardless to the
relationship of the page itÕs on.
In most cases itÕs not necessary to give an absolute path unless youÕre
linking to a website other than your own.
Accessiblity means many
different things: a person with
vision disabilities or a person wanting to access a webpage on a mobile phone.
Some people will still surf with their images turned off so things will go
faster. By providing alternative
texts you can help people out who want to, for example, go faster and search
using their phone. In Properties Box for the Images, thereÕs a little area
across the top layer of the box labeled ÒAltÓ and itÕs here where you can name
your images.
Inserting text
Text is the most common kind of content. Not much to show you here. A lot like working w/ a word
processer. Type whenever you see a
flashing cursor. If you want to
put space between words, you CANÕT HIT THE SPACE BAR MORE THAN ONCE. HTML only recognizes one line of
space. If you want to add space,
you can insert non-working spaces or use CSS to control the position of
texts. When you press ENTER after
another line of text, there is an awkward space between the new line and the
old line. ItÕs a Paragraph break.
You can control this to some extent if youÕre working with CSS. But what if youÕre typing an address
and you want the town on the very next line. Instead of a Par. Break you need a LINE break. To insert a linebreak,
hold down Shift on the keyboard and then press return. (in
code this will be represented by <br /> )
If you go into the code view, this is a
really great way to learn the basics of HTML.
Aligning text and images
Default for alignment: Everything will be
aligned to the LEFThand side of the page. You can center by putting cursor on an
image or in a line of text, and choose one of these and it will center, align right, etc.
Page properties
You find Page Properties by going Modify/Page Properties or going Control J (windows) Command J (Mac). Remember this key command, b/c youÕll
use it often. If youÕre not going to use CSS, you can use Page Properties
instead (just go to Edit/Preferences
to turn off the CSS default option).
You can apply a background color here.
Using meta tags
When you insert metatags
you make it much easier for search engine robots to understand how to
categorize your site. How do you
add this information? They only
appear in the HTML code, not in the document body whatsoever. Go to INSERT bar and switch to the HTML
category. Concern yourself with
the Head button and select Keywords.
ItÕll open up a Keywords dialogue
box
Keywords reflect
the content of the page. Pick
words that any person would type in to Google or Yahoo to find your site.
Separate each word with comma and space: tea, tea stores, brewing, green tea
(etc). DonÕt go too
overboard. A lot of search engines
limit the keywords you can use, and will just pass you over.
Another type of metatag
is a ÒSite DescriptionÓ which will describe site when it comes up in your website
listing. If you donÕt do this,
itÕll take the text off the first few lines of the body of the text
itself. Keep it short and sweet.
In the code, these changes will be marked by ÒmetaÓ You CAN add a series of
keywords to every single one of your pages, but most of the time people just do
this to the front page of your site.