Lesson 12: Working with Code-editing Features Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver.

Slides:



Advertisements
Similar presentations
Chapter 1: Introduction. Contents Whats New in Dreamweaver CS4? The Dreamweaver CS4 Interface Setting Up a Site Creating a Web Page Adding Text to Your.
Advertisements

Chapter 3 – Web Design Tables & Page Layout
1 Web Site Design Overview of the Internet Cookie Setton.
Learning the Basics – Lesson 1
Lesson 4: Styling Your Pages with CSS Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
Lesson 5: Creating Page Layouts with CSS Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
Chapter 5: Database Forms and Reports
Microsoft Expression Web-Illustrated Unit L: Using Code Tools.
Chapter 3 Tables and Page Layout
Introducing Cascading Style Sheets  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles  Text Formatting with CSS.
Lesson 18: Configuring Application Restriction Policies
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
Lesson 9: Fine-Tuning Your Workflow Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
Lesson 15: Mobile Design and Layout Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
Lesson 10: Adding Flash, Video, and Sound Content Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver.
Lesson 11: Maximizing Site Design Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
© 2010 Delmar, Cengage Learning Chapter 7 Using Styles and Style Sheets for Design.
Lesson 13: Building Web Forms Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
Chapter 3 Working with Text and Cascading Style Sheets.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Dreamweaver CS4 Concepts and Techniques Chapter 7 Page Layout with Frames.
© Ms. Masihi.  The Dreamweaver Welcome Screen first opens when you start Dreamweaver.  This screen gives you quick access to previously opened files,
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Dynamic Action with Macromedia Dreamweaver MX Barry Sosinsky Valda Hilley.
Web Technologies Website Development Trade & Industrial Education
HTML, XHTML, and CSS Chapter 12 Creating and Using XML Documents.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit C Developing a Web Page.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 21 Fields and Forms.
Website Development with Dreamweaver
3 - 1 Chapter 3: Basic Excel Skills Management Science: The Art of Modeling With Spreadsheets, 2e PowerPoint Slides Prepared By: Alan Olinsky Bryant University.
Copyright © 2013 MyGraphicsLab / Pearson Education STRUCTURE AND HTML TAGS MyGraphicsLab: Adobe Dreamweaver CS6 ACA Certification Preparation for Web Communication.
CIS 205—Web Design & Development Dreamweaver Chapter 1.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
Project 2 Adding Web Pages, Links, and Images Dreamweaver MX 2004 Concepts and Techniques.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit E Using and Managing Images.
5-1 Chapter 5 The Repetition Process in VB.NET. 5-2 Learning Objectives Understand the importance of the repetition process in programming. Describe the.
Happy Monday!!!  Open the Agenda  Copy it in your Agenda form.  Wait for further instructions.
Dreamweaver CS4 Concepts and Techniques Chapter 9 Using Spry to Create Interactive Web Pages.
Dreamweaver CS4 Concepts and Techniques Chapter 2 Adding Web Pages, Links, and Images.
4 - 1 Chapter 4: Advanced Excel Skills Management Science: The Art of Modeling with Spreadsheets, 3e S.G. Powell K.R. Baker © John Wiley and Sons, Inc.
Chapter 1 Creating a Dreamweaver Web Page and Local Site
Lesson 8: Working with Tables Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
Copyright © 2000 John Wiley & Sons, Inc. All rights reserved
9-1 COBOL for the 21 st Century Nancy Stern Hofstra University Robert A. Stern Nassau Community College James P. Ley University of Wisconsin-Stout (Emeritus)
Using Advanced Options Lesson 14 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft Word 2013.
Introducing Cascading Style Sheets. Cascading Style Sheet Basics  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles.
Lesson 23: Configure File Recovery
Lesson 12: Configuring Remote Management
INTRODUCTORY Tutorial 5 Using CSS for Layout and Printing.
Lesson 20: Managing Local Storage MOAC : Configuring Windows 8.1.
Dreamweaver MX. 2 Tools for Code Editing (p. 366) n An HTML editor like Dreamweaver writes most of the code you need, but at times you will need to perform.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
Lesson 14: Adding Interactivity with the Spry Framework Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe.
Introduction to Drafting and Design
Creating and Editing a Web Page
Lesson 18: Configuring Security for Mobile Devices MOAC : Configuring Windows 8.1.
Database EssentialsDatabase Essentials Lesson 1 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft Access.
Positioning Objects with CSS and Tables
Creating and Editing a Web Page Using Inline Styles
Lesson 6: Controlling Access to Local Hardware and Applications
DREAMWEAVER CS4  What’s New in Dreamweaver CS4? What’s New in Dreamweaver CS4?  Workspace in Dreamweaver CS4Workspace in Dreamweaver CS4  Opening and.
Building a Website: Layout Fall Overall Structure: Home Page Title Section Title Frame Picture UNCP Math Menu Content Footer Contact Information.
Key Applications Module Lesson 12 — Word Essentials Computer Literacy BASICS.
2-1 Chapter 2 Using VB.NET to Create a First Solution.
Chapter 3: Basic Excel Skills
Unit I: Collecting Data with Forms
Dreamweaver CS4 Skills PLAN – PLAN – PLAN first
Tutorial 6 Creating Dynamic Pages
Using Cascading Style Sheets (CSS)
Using Templates and Library Items
Presentation transcript:

Lesson 12: Working with Code-editing Features Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6

Overview © 2013 John Wiley & Sons, Inc. 2

5.6 Use Basic HTML Tags The Quick Tag editor is generally for users more familiar with their code. It offers an easy way to add CSS class or ID names as well as attributes to the code without having to leave the Design view. The Quick Tag editor works in conjunction with the tag selector. © 2013 John Wiley & Sons, Inc. 3

5.6 Use Basic HTML Tags Follow these steps to use the Quick Tag editor: 1.Open the oldcode.html file, and click on the beets image. In the bottom-left of the document window is the tag selector, which now has the tag selected. © 2013 John Wiley & Sons, Inc. 4

5.6 Use Basic HTML Tags 2.Right-click (Windows) or Ctrl+click (Mac OS) the tag in the tag selector. A contextual menu appears with all the tag’s code. Choose Quick Tag Editor from the menu. The Quick Tag Editor appears, displaying the code for this tag (below). © 2013 John Wiley & Sons, Inc. 5

5.6 Use Basic HTML Tags 3.Click once after the align="left" code and press the spacebar. A code-hinting menu is triggered. Double-click the class option; the code will be written for you. Notice that the only option, floatright, is listed; press the Return (or Enter) key to apply this class. Your image now has the class applied and is floating to the right. © 2013 John Wiley & Sons, Inc. 6

5.6 Use Basic HTML Tags 4.Click inside the main paragraph of your document. In the tag selector, click on the tag and then right+click (Windows) or Ctrl-click (Mac OS) and choose the Remove Tag option. © 2013 John Wiley & Sons, Inc. 7

5.6 Use Basic HTML Tags Follow these steps to insert a tag with the Tag Chooser: 1.Switch to Code view by choosing View > Code or by pressing the Code View button on the Document toolbar. 2.Click in line 5 immediately before the tag and press return. Now click back in the empty line 5. 3.Right-click (Windows) or Ctrl+click (Mac OS) and select Insert Tag. © 2013 John Wiley & Sons, Inc. 8

5.6 Use Basic HTML Tags 4.Expand the HTML tags library, and click the Page Composition subcategory; click the General category, and then click the tag. Click the Tag Info button to expand this window. © 2013 John Wiley & Sons, Inc. 9

5.6 Use Basic HTML Tags The Tag Chooser is a great way to view and access all HTML tags. You can learn more about their exact function using the Tag Info description. The Page Composition section includes HTML tags such as html, head, body and title The Formatting and Layout section includes HTML tags such as the h1–h6, p, em, and strong tags. The Lists section includes HTML tags such as ol, ul, dl and li tags. The Tables section includes HTML tags such as table, tr and td. © 2013 John Wiley & Sons, Inc. 10

5.6 Use Basic HTML Tags Follow these steps to collapse or expand tags and code blocks: 1.Make sure you are in the Code view. Scroll to the top of the screen and click between lines 6 and 14, which is the tag that contains all your CSS. 2.Click the Collapse Full Tag button in the coding toolbar. You can also choose Edit > Code Collapse > Collapse Full Tag. The tag is now collapsed (see above). Click on the plus sign (Windows) or arrow (Mac OS) on the left to expand the code again. © 2013 John Wiley & Sons, Inc. 11

5.6 Use Basic HTML Tags 3.In the Coding toolbar click on the Select Parent Tag button. This will select the code that is nesting your existing selection. In this case, the parent is the tag, which is now selected. 4.In the Coding toolbar click on the Collapse Selection button to collapse the tag and all its content. 5.Click within your document and note that you could begin to work in your HTML and the tag will remain collapsed until you access it. © 2013 John Wiley & Sons, Inc. 12

5.6 Use Basic HTML Tags 6.Double-click the head tag to expand it again as shown at right. © 2013 John Wiley & Sons, Inc. 13

5.6 Use Basic HTML Tags You can use Dreamweaver to find tag or syntax errors. This is called validating code. Dreamweaver can validate documents in many languages, including HTML, XHTML, PHP, ColdFusion Markup Language (CFML), Java Server Pages ( JSP), Wireless Markup Language (WML), and XML. You can validate the current document or a selected tag. © 2013 John Wiley & Sons, Inc. 14

5.6 Use Basic HTML Tags You can set Dreamweaver to highlight invalid code (in yellow) in the Code view. When you select a highlighted section, the Property Inspector offers information on how to correct the error. Invalid code is not highlighted by default in Code view. To view the invalid code, you must enable this option in the View menu. © 2013 John Wiley & Sons, Inc. 15

5.6 Use Basic HTML Tags Follow these steps to auto highlight invalid code: 1.Select View > Code View Options and turn on the Highlight Invalid Code option by selecting it from the menu. 2.Two tags become highlighted in yellow the and the tags (below). © 2013 John Wiley & Sons, Inc. 16

5.6 Use Basic HTML Tags 3.Click on the first highlighted (invalid) code for the tag. This has been identified as invalid markup because there is an unclosed or overlapping tag as shown below. © 2013 John Wiley & Sons, Inc. 17

5.6 Use Basic HTML Tags 4.Correct the error by removing the incorrect markup. Select each of the four highlighted tags and then delete them. You can now style them correctly either in the Design view or the Code view; for now, leave them as is. © 2013 John Wiley & Sons, Inc. 18

5.6 Use Basic HTML Tags You can further change the look of your code by formatting it. This is done by specifying formatting preferences, such as indentation, line length, and the case of tag and attribute names. Dreamweaver helps automate certain code formatting tasks that would otherwise be time- consuming and tedious. © 2013 John Wiley & Sons, Inc. 19

5.6 Use Basic HTML Tags Follow these steps to set preferences for automating code formatting: 1.Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Mac OS). 2.When the Preferences dialog box appears, select Code Format from the Category list. The Code Format preferences appear on the right as shown above. © 2013 John Wiley & Sons, Inc. 20

5.6 Use Basic HTML Tags 3.In the Advanced Formatting section, click the CSS button; the CSS Source Format Options window appears (right). This window allows you to specify how your CSS code is written. © 2013 John Wiley & Sons, Inc. 21

5.6 Use Basic HTML Tags Dreamweaver offers indentation options for you as you write and edit code in the Code view or the Code Inspector. You can change the indentation level of a selected block or line of code, shifting it to the right or left by one tab. Follow these steps to change the indentation level of code: © 2013 John Wiley & Sons, Inc. 22

5.6 Use Basic HTML Tags 1.In the Code view, click in front of the div element for the header and press the Tab key twice. 2.To outdent the selected block of code, press Shift+Tab, or you can select Edit > Outdent Code. © 2013 John Wiley & Sons, Inc. 23

Lesson Summary © 2013 John Wiley & Sons, Inc. 24

Copyright 2013 John Wiley & Sons, Inc.. All rights reserved. Reproduction or translation of this work beyond that named in Section 117 of the 1976 United States Copyright Act without the express written consent of the copyright owner is unlawful. Requests for further information should be addressed to the Permissions Department, John Wiley & Sons, Inc.. The purchaser may make back-up copies for his/her own use only and not for distribution or resale. The Publisher assumes no responsibility for errors, omissions, or damages, caused by the use of these programs or from the use of the information contained herein.