Basics of Page Format

Similar documents
Web Publishing Basics I

Lab 4 CSS CISC1600, Spring 2012

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Implementing a chat button on TECHNICAL PAPER

Web Page Creation Part I. CS27101 Introduction to Web Interface Design Prof. Angela Guercio

FrontPage 2003 Lesson 4 - Creating Individual Pages. Adding a Page Using a Template. Web Page Title. Saving a Web Page

Dreamweaver Basics Outline

To illustrate how to set TAG styles the <body> and <h1> tags (for the BODY and the HEADING 1 styles) will be adjusted.

Introduction to CSS. Part 1: Simple Text Formatting. Source Files for this Exercise are available on the Course Website DW_CSS intro

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

c122jan2714.notebook January 27, 2014

Dreamweaver CS3 Lab 2

GIMP WEB 2.0 MENUS. Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar.

Dreamweaver: Portfolio Site

How the Internet Works

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

AGENDA :: MULTIMEDIA TOOLS :: (1382) :: CLASS NOTES

Modify cmp.htm, contactme.htm and create scheduleme.htm

Dreamweaver MX Technical Support Services. Office of Information Technology, West Virginia University. OIT Help Desk ext.

Introducing Cascading Style Sheets. Cascading Style Sheet Basics Creating Styles Using Styles Manipulating Styles Text Formatting with CSS

Dreamweaver CS5 Lab 2

Activity 4.1: Creating a new Cascading Style Sheet

c122sep814.notebook September 08, 2014 All assignments should be sent to Backup please send a cc to this address

In the early days of the Web, designers just had the original 91 HTML tags to work with.

Three Ways to Use CSS:

Beginning HTML. A tag is a command written between angle brackets (the less than and greater than symbols). Ex. <html>

CSS Positioning Using Expression Web Style Tools

Section 3. Editing a Web Page

Web Publishing Intermediate 2

FileNET Guide for AHC PageMasters

A designers guide to creating & editing templates in EzPz

CSC 121 Computers and Scientific Thinking

Part 3: Dynamic Data: Querying the Database

Using Dreamweaver CS6

FileNET Guide for AHC PageMasters

Creating Forms. Starting the Page. another way of applying a template to a page.

Creating a Website with Dreamweaver 4

This document provides a concise, introductory lesson in HTML formatting.

CHAPTER 3: MICROSOFT OFFICE: WORD 2010

Using Dreamweaver CC. 6 Styles in Websites. Exercise 1 Linked Styles vs Embedded Styles

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

Authoring World Wide Web Pages with Dreamweaver

ITNP43: HTML Lecture 4

FCKEditor v1.0 Basic Formatting Create Links Insert Tables

Using Dreamweaver CS6

SITE MANAGEMENT, CHECKING AND PUBLISHING IN DREAMWEAVER MX 2004

Creating A Web Page. Computer Concepts I and II. Sue Norris

USING STYLESHEETS TO DESIGN A WEB SITE IN DREAMWEAVER MX 2004

! " # $%& Html.htm Note: Files under html.htm are created in the previous lab exercises. (Just link it up)

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

Computer Applications Final Exam Study Guide

Dreamweaver MX Basics

DREAMWEAVER QUICK START TABLE OF CONTENT

Using Dreamweaver 2 HTML

Quick Reference Guide: Genesis 2

Dreamweaver MX The Basics

Lesson 4 - Creating a Text Document Using WordPad

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

How to lay out a web page with CSS

Teaching Tip Using Cascading Style Sheets to Design a Fly-Out Menu with Microsoft Visual Studio

Eng 110, Spring Week 03 Lab02- Dreamwaver Session

What is XHTML? XHTML is the language used to create and organize a web page:

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar

Reference Services Division Presents WORD Introductory Class

A Balanced Introduction to Computer Science, 3/E

Introduction to Web Technologies

Create a cool image gallery using CSS visibility and positioning property

HTML Overview. With an emphasis on XHTML

CSS exercise - Part 1

Web Publishing Basics II

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5

Introduction. Format Text. Word 2010 Formatting Text. To Change the Font Size: Page 1

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Computer Science E-1. Understanding Computers and the Internet. Lecture 10: Website Development Wednesday, 29 November 2006

Schoolwires Editor Best Practices. Schoolwires Centricity2

CSS: The Basics CISC 282 September 20, 2014

Introduction to. Name: Class: ~ 1 ~

Management Information Systems

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions

CSS BASICS. selector { property: value; }

Adobe Dreamweaver CS5/6: Learning the Tools

Dreamweaver Basics Workshop

<style type="text/css"> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page***

How to Create Accessible Word (2016) Documents

Creating and Editing a Web Page Using Inline Styles

Dreamweaver Basics. Planning your website Organize site structure Plan site design & navigation Gather your assets

< building websites with dreamweaver mx >

The building block of a CSS stylesheet. A rule consists of a selector and a declaration block (one or more declarations).

CSS worksheet. JMC 105 Drake University

Tutorial. Activities. Code o o. Editor: Notepad Focus : Text manipulation & webpage skeleton. Open Notepad

This will be a paragraph about me. It might include my hobbies, where I grew up, etc.

How to set up a local root folder and site structure

Intermediate Web Publishing: Working with Styles

CREATING ACCESSIBLE WEB PAGES

HTML and CSS COURSE SYLLABUS

Figure 1 Properties panel, HTML mode

ICT IGCSE Practical Revision Presentation Web Authoring

BT Web Hosting. Features and functionality

Announcements. Paper due this Wednesday

Transcription:

Basics of Page Format HTML Structural Tags Certain HTML tags provide the structure of the HTML document. These include the <html> tag, the <head> tag, the <title> tag, and the <body> tag. As soon as a new HTML page is created, Dreamweaver adds these structural tags. You will see them if the Code View is open. Their functions are described below: <html> and </html> This tag defines the beginning and end of an HTML document. <head> and </head> An HTML document is made up of two basic parts, the head and the body. This tag defines the beginning and end of the head section. The head section contains information (such as a title) that describes the document. <title> and </title> This tag can only exist within the <head> tag. It is important that text within the <title> tag be short and describe the page. This text is what will appear for the page in bookmark lists and title bars. <body> and </body> This tag, as you might have guessed, defines the beginning and the end of the main body of an HTML document. What falls within the <body> tag makes up the actual content of a web page. HTML Title You need not edit the HTML code directly to change the Title. Dreamweaver provides a box for the title beneath the Insert Panel. It is visible below: ScottAntall.com Introduction to Dreamweaver MX Page 29

Format Text and Color If you have used a word processor such as Microsoft Word, many of Dreamweaver s text formatting tools will look familiar. Just highlight text and click on the B icon to bold the text, for example. The text on your pages can be formatted in the Properties Inspector, in the Text tab of the Insert Panel, or in several other panels. In this section, we will discuss how to format text. Font size, display and color Dreamweaver allows you to format the text that will appear on your page by using the Properties Inspector. As mentioned in the previous section, you can open and close this window by either selecting Properties in the Windows drop-down menu, or by selecting Selection Properties in the Modify menu. To change the font, you can highlight the text you wish to format and make adjustments to the size, bold status, etc. just like you might in a word processing program. You can change the color of text by highlighting text and selecting a color from the small colored box next to font size. Some font manipulation elements are available also in the Text tab of the Insert Panel. (The Insert Panel is available for selection under the Windows drop down menu). A screenshot showing the Properties Inspector is below. Font and Size Bold and Italic Text Color Please note that although bold and italics are readily available options, underlining text is not. This is because in HTML pages, underlining generally indicates that the underlined text is a link. It is possible to underline text that is not a link by use of the <u> tag in the code, but since this is not desirable; Dreamweaver does not make it easy. Block level code Some attributes may only be applied to a Block level tag such as a single paragraph or heading tag. For example, a specific sentence or word within a larger paragraph may not be aligned differently than the rest of the paragraph. The entire paragraph Page 30 Introduction to Dreamweaver MX ScottAntall.com

must share the same value for the align property. Therefore, any change made to alignment will affect the entire paragraph. Creating Lists Text in your document can be formatted as an indented list (using numbers or bullets). You can do this by highlighting the text and then selecting either: 1. The bulleting or numbering icons in the Properties Inspector, or 2. The ul (unordered, or bulleted) icon, or the ol (ordered, or numbered) icon in the Text tab of the Insert Panel. When creating a list from existing text, each item must be its own paragraph. Otherwise, only one bullet will be added for the entire list. Preview in Browser vs. Save and Refresh While working on HTML documents in Dreamweaver, you will most likely want to see how the page will look when it is up live on the web. Since you are working in Design view, you will get a good idea for how the page will look. Browsers, however can vary slightly in how they display the pages you create. In order to ensure that your document looks the way you intended it to look you will want to frequently preview the page in a browser. Dreamweaver allows you to do this by selecting Preview in Browser in the main File menu (or via F12). When using the Preview in Browser function, by default Dreamweaver will attempt to create a temporary file and open that file in your default browser rather than the original document. One benefit to Preview in Browser is that the default browser may be opened in one simple step by clicking on F12. Additionally, you need not save your file each time you preview it because Dreamweaver will save a snapshot of what the document looks like at that moment. (Be sure to save frequently, however!) It is this snapshot that is opened in the default browser. You may find that it strange, however, that you are constantly viewing different files and you may find that you end up with many browser windows open. Many developers prefer to save the document, open it in a browser and then use the Save and Refresh method. This simply means that when a change is made to the document, save it, and switch to the browser and click refresh. Dreamweaver now allows Preview in Browser (and its shortcut F12) to preview the actual file and not create temporary files. Change this in the Edit Preferences box as seen below: ScottAntall.com Introduction to Dreamweaver MX Page 31

Page 32 Introduction to Dreamweaver MX ScottAntall.com

Exercise 2: Create the Site s Index Page In this exercise, we will create a web page for the Pet Adoption site. This page, while simple, will be edited and expanded in future exercises. When you are completed, it may look something like this: 1. Start a new document (basic HTML page) and save it as index.html inside your working_site folder. 2. View the page in Split View. Note the structural tags already included in the code. Give the page an appropriate title in the <title> tag. 3. Open index-text.txt. It holds the following text which you may copy into your newly created index.html. Once copied to the new file, this text must be formatted in an attractive manner. Pet Adoption Central Home Dogs Cats Locations Contact Us FAQ Pet Adoption Central has been offering a second chance to homeless animals since 1943. We are committed to serving not only pets and pet owners but the community as a whole as we understand the powerful role that pets play in our lives! Our Services ScottAntall.com Introduction to Dreamweaver MX Page 33

Adoption & Placement Services Animal Birth Control Spay/Neuter Program Cruelty Investigations Humane Education Foster Care Pet Assisted Therapy Golden Age Retrievers Obedience Training Volunteer Opportunities Resources The goal of our Adoption Program is not to just make good matches, we want to build lifelong relationships. We know that the key to a good relationship is careful consideration of factors like lifestyle, temperament and family make-up. Our adoption counselors know the background on each one of our animals and will work individually with you to make sure the "match" is appropriate. Adopters should be sure to bring along the following items: Home Dogs Cats Locations Contact Us FAQ 4. Use some of the following: Heading 1 for the text at the top of the page Heading 2 for the inner headings Change the font Add a bulleted list for the services Change the color of the headings to (#666633) 5. Periodically save your page and test it in a browser. Does it look the way you intended it to look? Page 34 Introduction to Dreamweaver MX ScottAntall.com

When you are finished, your page should look something like this: ScottAntall.com Introduction to Dreamweaver MX Page 35

Try this! See if you can figure out how to edit the format (font, font-size, color, bold, etc.). Can you find multiple places that allow you to change this? Edit your text s format and preview the page again in a browser. Page 36 Introduction to Dreamweaver MX ScottAntall.com

Possible Solution to Exercise 2 Saved as done_versions/index-ex02-done.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>pet Adoption Central</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> <!--.style1 { color: #666633; font-family: Verdana, Arial, Helvetica, sans-serif; } --> </style> </head> <body> <h1 align="center" class="style1">pet Adoption Central</h1> <p align="center">home Dogs Cats Locations Contact Us FAQ </p> <hr /> <p>pet Adoption Central has been offering a second chance to homeless animals since 1971. We are committed to serving not only pets and pet owners but the community as a whole as we understand the powerful role that pets play in our lives! </p> <h2 class="style1">our Services </h2> <ul> <li>adoption & Placement Services </li> <li>animal Birth Control Spay/Neuter Program </li> <li>cruelty Investigations </li> <li>humane Education </li> <li>foster Care </li> <li>pet Assisted Therapy </li> <li>golden Age Retrievers </li> <li>obedience Training </li> <li>volunteer Opportunities </li> </ul> <h2 class="style1">adoption</h2> <p> The goal of our Adoption Program is not to just make good matches, we want to build lifelong relationships. We know that the key to a good relationship is careful consideration of factors like lifestyle, temperament and family ScottAntall.com Introduction to Dreamweaver MX Page 37

make-up. Our adoption counselors know the background on each one of our animals and will work individually with you to make sure the "match" is appropriate.</p> <hr /> <p align="center">home Dogs Cats Locations Contact Us FAQ </p> <p align="center"> 2004 Pet Adoption Central </p> </body> </html> Page 38 Introduction to Dreamweaver MX ScottAntall.com