|
|||
| week 01b - servers & clients, file naming, html intro | |||
dreamweaver intro : |
Dreamweaver is an application for creating web pages. All web pages are simple text files that use HTML (and sometimes JavaScript ) to describe the page. HTML (Hypertext Markup Language) is a standardized language that can be viewed with any web browser or other web page application (e.g. GoLive or BBEdit). Because web pages are made up of HTML text, Dreamweaver does not create special Dreamweaver files. On the PC, you may find that if you double click on .html files, they will open in Explorer or Netscape rather than Dreamweaver. As a result, it's best to open your .html files from within Dreamweaver. Dreamweaver is just a page formatting application, and is not capable of creating any media elements other than text. You must use Photoshop, Flash, Peak, or other applications to create images, sounds, etc.
|
|||
|
creating a web page :
|
To create a new web page in Dreamweaver, do the following:
|
|||
| previewing in a browser : |
Dreamweaver is a WYSIWYG (What You See Is What You Get) authoring tool, and you can see how your web page is going to look in the Design View. But Dreamweaver is not always perfect or complete in the way it displays web pages. As a result, you must preview your web pages in a real web browser such as Netscape or Explorer. When you've built a page to the point where you want to check how it looks, save your file, then select FILE>PREVIEW IN BROWSER>NETSCAPE (or Explorer). Alternatively, you can simply press the F12 function key. You may need to configure the Preview function if browsers have not been set up in your machine's version of Dreamweaver. To do so, follow the directions below:
|
|||
| browser preview prefs : |
You can configure Dreamweaver to use any browsers for the Primary (F12) and Secondary (Shift F12) preview.
|
|||
|
HTML introduction |
|
|||
| why learn
HTML? : |
Given that tools such as Dreamweaver exist, and allow you to create web pages without knowing HTML, you might ask "why learn HTML?" There are several reasons:
|
|||
|
tags : |
HTML stands for Hypertext Markup Language, and uses the concept of tags. An HTML tag is always contained between a left angle bracket "<" and a right angle bracket ">". These tags are special instructions designed to mark or "tag" a particular section of the web page, for example to identify a set of text as bold. The tags do not appear in the visual display of the web page. In general, HTML tags have a starting tag "<tag>" and an ending tag that has the same name as the starting tag but with a forward slash at the beginning "</tag>". The text in between the starting and ending tags is the only text affected by the tags. For example, to make some text bold, the HTML would be written as follows: Here is some text, and <b>this text will show bold</b> when displayed in a browser.
|
|||
|
HEAD & BODY
sections : |
An HTML web page is divided into to two major sections, the head and body. The head section is a description of the page, with its title, any meta tags, JavaScript, and other special information about the page. The head section does not contain any displayed content. The body section contains a description of how the page should look and work, including the text, text markup, links for in-line images, form descriptions, links to other pages, and page enhancements such as Flash, JavaScript, etc.
|
|||
| basic HTML : |
A simple example of a web page <html><head> <title>HTML Example</title> </head> <body bgcolor="#FFFFFF"> Some text for a web page that <b>demonstrates</b> the basic form of HTML in a web page. </body> </html>
|
|||
| HTML coding style : |
The format of your HTML code does not affect how the page will be displayed in a browser.
|
|||
|
||||
| exercise : |
In the Dreamweaver Code View window, type in the HTML for a simple web page. Use the example above in the basic HTML section. Do not copy and paste the html--you will only learn if you actually type in the code! |
| all materials on this web site © copyright 2003, Philip van Allen |
top |