Cascading Style Sheet CSS Closing Switch Closing Tag Code View

Slides:



Advertisements
Similar presentations
CSCI N241: Fundamentals of Web Design Copyright ©2004 Department of Computer & Information Science Introducing XHTML: Module B: HTML to XHTML.
Advertisements

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.
Chapter 3 – Web Design Tables & Page Layout
1 Web Site Design Overview of the Internet Cookie Setton.
XHTML Basics.
Chapter 8 Creating Style Sheets.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Chapter 3 Working with Text and Cascading Style Sheets.
XP Information Technology Center - KFUPM1 Microsoft Office FrontPage 2003 Creating a Web Site.
XHTML and CSS Overview. Hypertext Markup Language A set of markup tags and associated syntax rules Unlike a programming language, you cannot describe.
Upgrading to XHTML DECO 3001 Tutorial 1 – Part 1 Presented by Ji Soo Yoon 19 February 2004 Slides adopted from
Developing a Basic Web Page with HTML
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
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.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
© Ms. Masihi 1.  A web page is created using a language called, Hypertext Markup Language, better known as HTML Code.  HTML is a user friendly language.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
© 2011 Delmar, Cengage Learning Chapter 2 Developing a Web Page.
Creating a Simple Page: HTML Overview
Chapter 3 Working with Text and Cascading Style Sheets.
Getting Started with Expression Web 3
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
HTML (HyperText Markup Language)
Chapter 2 Developing a Web Page. Chapter 2 Lessons Introduction 1.Create head content and set page properties 2.Create, import, and format text 3.Add.
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: –The head content –The body Creating Head Content and Setting Page Properties.
10 Adding Interactivity to a Web Site Section 10.1 Define scripting Summarize interactivity design guidelines Identify scripting languages Compare common.
Intro to Dreamweaver Web Design Section 7-1 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course.
Website Development with Dreamweaver
Using Html Basics, Text and Links. Objectives  Develop a web page using HTML codes according to specifications and verify that it works prior to submitting.
Web page - A Web page is a simple text file that contains a set of HTML tags (code) that describe (to the browser) what should go on a web page. It may.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
XP Mohammad Moizuddin Creating Web Pages with HTML Tutorial 1 1 New Perspectives on Creating Web Pages With HTML Tutorial 1: Developing a Basic Web Page.
Copyright © 2013 MyGraphicsLab / Pearson Education STRUCTURE AND HTML TAGS MyGraphicsLab: Adobe Dreamweaver CS6 ACA Certification Preparation for Web Communication.
Dreamweaver Chapter 1 Mr. Ursone Document Window.
A Basic Web Page. Chapter 2 Objectives HTML tags and elements Create a simple Web Page XHTML Line breaks and Paragraph divisions Basic HTML elements.
Creating Webpage Using HTML
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 1 1 Microsoft Office FrontPage 2003 Tutorial 1 – Creating a Web Site.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
Chapter 1 Creating a Dreamweaver Web Page and Local Site
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Creating XHTML Documents Essentials for.
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
Macromedia Dreamweaver 8 Revealed WEB PAGE DEVELOPING A.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
CSS THE MISSING MANUAL Introduction. Benefits of CSS Style sheets offer more formatting choices than are offered in straight HTML  EXAMPLE: When you.
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
Learning Aim C.  Creating web pages involves many considerations.  In this section we will look at the different software tools you can use and how.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Introduction to HTML Hypertext Mark-up Language. HTML HTML = Hypertext Mark-up Language Is just plain simple text marked up by “tags” You can create a.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
Chapter 2 Developing a Web Page.
Chapter A - Getting Started with Dreamweaver MX 2004
Unit Objectives Create a new page Import text Set text properties
Section 10.1 YOU WILL LEARN TO… Define scripting
Working with Text and Cascading Style Sheets
Using Cascading Style Sheets (CSS)
Using Templates and Library Items
Exercise 9 Skills You create and use styles to create formatting rules that can easily by applied to other pages in the Web site. You can create internal.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Lesson 2: HTML5 Coding.
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

Cascading Style Sheet CSS Closing Switch Closing Tag Code View Exercise 3 Key Terms Attribute Cascading Style Sheet CSS Closing Switch Closing Tag Code View Design View Live View Element Head HTML

More Key Terms HTML Tag Insertion Point Keywords Line break Nest Exercise 3 More Key Terms HTML Tag Insertion Point Keywords Line break Nest One-sided tag Opening tag Schema Styles Syntax Value XML Wicket XHTML

Exercise 3 HTML (Hypertext Markup Language) is a scripting language-or code-you use to create pages that can be viewed with a Web browser. Nearly every item on a Web page-including text, formatting, pictures, and other page elements-is controlled by HTML coding. In addition to HTML coding, Web pages may also incorporate Java scripts, CotdFusion's CFML code, ActiveX, and other specialized Web page coding designed for different kinds of dynamic or interactive application and content. These codes, too, can be applied and edited in Dreamweaver. Unlike some programming languages, HTML is text-based and easy to read and follow. Even developers with little programming experience can read and generally understand what's happening in HTML code.

Exercise 3 Dreamweaver CS4 supports XHTML (Extensible Hypertext Markup Language). XHTML Is a reformulation of the most current version of HTML (HTML 4.0) that uses XML (Extensible Markup Language). XML is a language that uses tags to structure information, similar to HTML. Unlike HTML, however, XML allows you to create your own tags to fit your information more specifically. XHTML was developed to answer a need for a stricter version of HTML that could be used to deliver content across a wide variety of devices: not merely computer browsers, but also mobile phones, laptops, PDAs, and so on. XHTML combines the standard HTML structure with the power and flexibility of XML. By default, Dreamweaver saves new Web pages as XHTML Transitional documents and applies any code necessary to meet XHTML requirements, such as including an XHTML DOCTYPE declaration in the Head section of the document.

Exercise 3 HTML documents have a standard structure that consists of two sections: a Head section and a Body section. The Head section contains information that browsers need to display the Web page, such as the page title and the character set used to create the page. None of the information in the Head section appears in the browser except the page title, which displays in the browser's title bar. The Body section contains the actual Web page content, such as the page's headings, paragraphs, and pictures.

Exercise 3 HTML coding instructions are delivered to the browser by means of HTML tags HTML tags have a specific structure, or syntax: The first part of an HTML tag is the left Wicket <. Next is the tag element, or name, such as title or H2. Tag attributes may follow the tag element. For example, the align="left" information that follows the h1 tag in line is the attribute that controls the alignment of the text. <h1>Welcome to GardenScape</h1> Last is the right wicket >. HTML tags may be written with all capital letters or all lowercase letters. Dreamweaver's tags are all lowercase, so that convention will be used in this book. Most HTML codes require both an opening tag and a closing tag. The opening tag instructs the browser to begin displaying a format or feature for example, <title>.

Exercise 3 Tags may be nested to supply additional formatting to text. For example, in the following HTML code, the word three will appear In Italics in the paragraph: <p>We also have <i>three</i> award winning landscape designers on staff!</p> <h1>Welcome to GardenScape!</h1> Don't forget the closing switch when nesting tags, or applied formats will not be "turned off “ Some HTML tags are one-sided tags (also called standalone or empty tags). One-sided tags do not require a closing tag. The <br> (line break) tag is a one-sided tag.

Exercise 3 Tag attributes modify a tag element by supplying addltionai instructions to the browser about how to display an element. Attributes appear within HTML tags, usually between the tag element and the right wicket. Attributes often include values that give specific Instructions to the browser. Attribute values are usually enclosed in quotation marks. "' Typically, attributes are not repeated in closing tags. In the following HTML code, for example, the tag element is font. The size attribute tells the browser to display a specific size. The value is "4", and this is the exact size the browser will display. <font size="4">

Exercise 3 Today cascading style sheets (CSS) are considered the standard for formatting Web pages. Using CSS, a designer can format a page precisely using styles. Styles are saved instructions that tell the Web browser how to display the styled element. Styles can be used to format text and headings, tables, blocks of type on a page, and images, and even change the default formats of HTML tags. As a result of the widespread use of CSS, many standard HTML tags have been deprecated in recent versions of HTML. This means that, although they are still supported by most browsers,they may not be supported for much longer. The <font> tag is one of these tags.

Exercise 3 In later exercises, when you learn how to validate the markup language in your site, you may be warned that <font> is deprecated and you should instead consider using CSS styles to format text. By default, Dreamweaver is set up to create CSS styles for you when you apply formats to text. This means that if you check the code after applying formats to a page, you will not see HTML tags, attributes, and values such as those discussed in previous sections of this exercise. You will instead see CSS style definitions. When you apply formats to text on a Web page, Dreamweaver CS4 prompts you to create a CSS style that you can also use on other pages in the site

Exercise 3 - XML XML is an acronym for Extensible Markup Language. XML is a markup language similar to HTML in that it can be used as the basis for structuring and working with data on your Web pages. XML is first and foremost a data tagging system that enables you to identify information as a specific data type; this enables you to code information for easy storage and retrieval. You can use XML to tag page and form content as well as to display page content in a specific context (for example, as the result to the search a user performs on your site). .

Exercise 3 - XML XML separates the data and the format in which it is displayed. The format coding for XML data is stored separately from the XML data; this enables you to apply a variety of formats to the XML data by simply attaching different style sheets. These style sheets are known as XSLTs (Extensible Stylesheet Language Transformations). XSL is to XML what CSS is to the information on your Web page. The XSL is applied to the page when you attach an XSLT. In Dreamweaver you attach the XSLT to the XML data. You can create an XML page from the Dreamweaver Getting Started window or you can choose File> New and click XML

Exercise 3 A newly created XML file has only one line of code: The XML declaration is Inserted at the top of the file. This line lets Dreamweaver know the file Is an XML file. You use XML tags to Identify the Individual data elements In the code. The coding system Is similar to HTML In that there are open tags and close tags that Include the / character. Dreamweaver supports code hinting for XML, and after you have entered a full tag, with the open and close tags, the program will offer the code In a popup list like the one you see In the following illustration. You can complete the tag by pressing Enter.

Exercise 3 - Keywords To make sure others can find and visit your site, you can supply keywords on your pages that search engines use to index a site in their databases. You add keywords to the Head section of a site using a <meta> tag. To add a <meta> tag containing keywords to your home page, use the Insert> HTML > Head Tags> Keywords menu command to open the Keywords dialog box. Here you can type the keywords that summarize your site's subject.

Exercise 3 Use Effective Keywords One of the most important aspects of creating anew Web site is to identify keywords that will help potential visitors find your site using a search engine. Keyword research is an important strategy for creating a new Web site. Learn about Keywords Think about your goals in creating your site. Identify five or six words that you think will bring visitors to your site.

Exercise 3 Dreamweaver automatically inserts a line space after a paragraph, so you do not have to double-space between paragraphs as you might do in a word-processing document. If you do not want the default space to appear after a paragraph, you can insert a line break rather than a paragraph break. For easy access to the break tag (and other special characters), click the arrow below the Insert panel tab and click Text to display the Text panel. Clicking the BR button on the Text panel inserts the HTML <br> (Break) tag, which creates a new line but not a new paragraph. You can also insert this tag as you type by pressing the Shift + Enter key combination.

Exercise 3 You can format the text in a Dreamweaver document with standard HTML paragraph and heading tags that control font style and size. By default, all new text is formatted with the Paragraph format. This format equates to the HTML <p> (Paragraph) tag. You can use the Property inspector panel to apply other formats, including three levels of headings and the preformatted font that can be used to display program code You also use the elements in the Text list in the Insert panel to change the format of text on the page.

Exercise 3 By default, the Document window displays page content in Design view. In Design view, content looks almost identical to the way it will appear in a browser. WYSIWYG When you switch to Code view, the page content's HTML coding appears. You can write or edit HTML code while working in Code view. Click anywhere in the paragraph you want to format and click the Format list arrow on the Property inspector to display the list of paragraph and heading formats. Or, you can choose the format and then begin typing. The format is applied automatically to the new text. Heading levels are ordered from largest (Heading 1) to smallest (Heading 6)