Introduction to Web Authoring

Slides:



Advertisements
Similar presentations
Tables Feb. 14, Tables Great way to organize and display information Laid out in columns and rows Think of an excel spreadsheet Defined with tag.
Advertisements

Table, List, Blocks, Inline Style
Intro to HTML. HTML HTML = HyperText Markup Language Used to define the content of a webpage HTML is made up of tags and attributes Content.
Introduction to HTML & CSS
HIGH LEVEL OVERVIEW: CSS CSS SYNTAX CONSISTS OF A SET OF RULES THAT HAVE 3 PARTS: A SELECTOR, A PROPERTY, AND A VALUE. IT’S NOT NECESSARY TO REMEMBER THIS.
CSS-Formatting Review Cascading Style Sheets addstyle to your HTML web pages.
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
Cascading Style Sheets
Cascading Style Sheets
HTML Overview - Cascading Style Sheets (CSS). Before We Begin Make a copy of one of your HTML file you have previously created Make a copy of one of your.
MIS 425 Lecture 2 – HTML Navigation, Colors, tables and Styles Instructor: Martin Neuhard
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
CSS cont. October 5, Unit 4. Padding We can add borders around the elements of our pages To increase the space between the content and the border, use.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
Chapter 8 Creating Style Sheets.
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
Lecture Cascading Style Sheets (CSS) Internal Style Sheets Classes.
Introduction to Web Authoring Bill Hart-Davidson AIM: billhd30 Session 11
HTML. Goals How to use the Komodo editor HTML coding and testing Basic HTML tags List and Images Tables and Links At least 2 pages and navigation
HTML. Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –
Review HTML  What is HTML?  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language,
HTML & CSS A brief introduction. OUTLINE 1.What is HTML? 2.What is CSS? 3.How are they used together? 4.Troubleshooting/Common problems 5.More resources.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Dreamweaver -- CSS. Dreamweaver -- MX New icons are added in MX Most of the features commonly used in web design, and are same as FrontPage. New feature.
The Characteristics of CSS
Cascading Style Sheets CSS.  Standard defined by the W3C  CSS1 (released 1996) 50 properties  CSS2 (released 1998) 150 properties (positioning)  CSS3.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
IDs versus Classes Naming Your Tags for Maximum Functionality.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
Introduction to Web Authoring Ellen Cushman Class mtg. #14.
Introduction to Web Authoring Ellen Cushman Class mtg. #15.
CHAPTER 5 Working with Data Tables and Inline Frames.
DIV, Span, CSS.
Course created by Sarah Phillips BBCD Melbourne BAPDCOM Version 1 – April 2013.
Introduction to Web Authoring Ellen Cushman our syllabus
Introduction to Web Authoring Ellen Cushman /wra210.htm Class mtg. #2.
NASRULLAHIBA.  It is time to take your web designing skills to the next level with Cascading Style Sheets (CSS). They are a way to control the look and.
Advanced Technical Writing 2006 Session #2. About ATW Projects… Typical practices a content person uses  Know available technologies and know the issues.
Introduction to Web Authoring Ellen Cushman Class mtg. #13.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Essential Questions What challenges do mobile devices present to Web designers? What are the basic concepts.
CASCADING STYLE SHEET CSS. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
WEB FOUNDATIONS CSS Overview. Outline  What is CSS  What does it do  Where are styles stored  Why use them  What is the cascade effect  CSS Syntax.
Week 1: Introduction to HTML and Web Design
Cascading Style Sheets for layout
MIT 511- Web Design & Usability
Cascading Style Sheets (CSS) Internal Style Sheets Classes
Introduction to Web Authoring
Introduction to Web Authoring
Organizing Content with Lists and Tables
>> Introduction to CSS
ASP.NET Web Controls.
Cascading Style Sheets for layout
Introduction to Web Authoring
Cascading Style Sheets - Building a stylesheet
Introduction to Web Authoring
Introduction to Web Authoring
Introduction to Web Authoring Ellen Cushman cushmane
What are Cascading Stylesheets (CSS)?
Introduction to Web Authoring Ellen Cushman cushmane
Principles of Web Design 5th Edition
Cascading Style Sheets - Building a stylesheet
Stylin’ with CSS.
Stylin’ with CSS.
Introduction to Web Authoring Ellen Cushman cushmane
Introduction to Web Authoring
Introduction to Web Authoring
Introduction to Web Authoring
Presentation transcript:

Introduction to Web Authoring Class mtg. #15 Ellen Cushman cushmane@msu.edu www.msu.edu/~cushmane/wra210.htm www.msu.edu/~cushmane/wa2.htm

Web Tech UA Schedule Dates of interest for the UA project: 2/11 - Introduction to assignment #3 & Teams 2/13 - UA Background & Principles 2/18 - Semantic Principles of User Assistance 2/21 - UA Storyboard 2/25 - UA Walkthrough 2/27 - Workshop Dreamweaver: CSS 3/3-3/5 - Spring Break 03/10 –Workshop:Dreamweaver CSS 03/12– Workshop:User Feedback & Revision Plans 03/17 – Final Versions Posted

Today’s Agenda | Next Class Refresher on CSS Apply a template to team’s site Develop site architecture for team site Troubleshoot problems Add content to your template Workshop Post your project logs Peer review workshop of sites Develop a revision plan and set of homework assignments for your group Homework: final site due by 3/17

Last Class: what did it mean?! Before we left for spring break, we applied a style sheet to our personal sites. We learned: that CSS elements need to be identified in the style sheet, then called upon in our pp page html code We also learned that the previous style hierarchy trumped our new code. Sometimes we had to completely revise our pages, starting with a new one, to avoid hunting for our outmoded inline and embedded code.

CSS will make your old HTML look uhhhhgly! CSS references objects – in most cases, chunks of text, columns, menus, or images enclosed by tags – so you must define as an object any text that you want to reference in a style sheet. This means: You have to identify the tags you want from your css, then write these into your html page. Remember to open and close those tags!

CSS will make your old HTML look uhhhhgly, 2 It also means… You define object Classes, ID’s and learn their properties and value ranges You learn to use wildcard tags like <div> and <span> to define sub-sections of text within the body of a document You have to get good at designing documents before hand…thinking ahead about how the page will look and work, and that will help both content developers and readers of your UA sites!!!

CSS Classes…naming objects In CSS, a class refers to a particular category of a more general tag. Let’s say that in the CSS sheet you’ve downloaded, you find code that allows you to label odd and even table cells to be different colors for easier scanning… In your css style sheet, that would be written thusly: TD {font-face : sans-serif; font-size : 12pt} .even {bgcolor : #FFFFFF} .odd {bgcolor : #CCCCCC} Let’s say that I wanted my UA site to have three columns, in my CSS sheet I will look for the semantic structure that identifies those columns: /* sidebar */ }… /* rightbar */ }

CSS Classes…naming objects Now that I’ve identified the class or element in my css that I want in my htm document, I simply call forth that element (sidebar, table cell odd/even, or rightbar, etc)— the class or element will name the style!

CSS Classes…cont. TD {font-face : sans-serif; font-size : 12pt} .even {background-color : #FFFFFF} .odd {background-color : #CCCCCC} In your HTML code for the table, you simply reference the class to invoke the style: <td class=“even”>display this text with a white background</td> <td class=“odd”>and this text with a grey background</td>

Getting more specific…ID’s You can set ID’s for specific kinds of objects too by giving them a unique ID name and set of display rules. Let’s say, for example, we want a table row that serves as a column header… it could be different than our odd or even classes of rows and even different from our default row look.

An ID rule TR {font-face : sans-serif; font-size : 12pt} Here, I have added a new ID to our TR rules in our CSS style sheet. Now, I can specify a row as a header in my htm document: <tr id=“header”>Red, sans-serif, 12pt type on a white background, por favor</tr> TR {font-face : sans-serif; font-size : 12pt} .even {background-color : #FFFFFF} .odd {background-color : #CCCCCC} #header {color : red}

<DIV> & <SPAN> are your friends <div> and <span> tags allow you define exceptions to the general rules of your body text…and they are helpful tools for document designers and web developers <div> is usually used to designate styles for block elements that should stand apart from the body text…like callout quotes. Everything inside a <div> tag takes on the <div> attributes…and you can specify classes and ids for <div> too!

“But I do not like green eggs and <span>, <SAM> I am” More on <SPAN> The <span> tag is usually used to change the display attributes of a short run of text or objects within a block-level element (such as a paragraph or table cell). I might use <span>, for example, to define a look for code examples (like the one below) that is different than the body text… <span class=“example”>TR {font-face : sans-serif; font size : 12pt}</span> “But I do not like green eggs and <span>, <SAM> I am”

Seeing a document as a collection of objects… All of these tags, attributes, rules, selectors, declarations…what do they mean? They are all tools you use well ONLY if you can see a document as a collection of objects…so, let’s practice.

Objects in your UA sites Get with your group and on notebook paper, draw the objects you want in your UA site by considering: What page layout will govern the whole site? (1,2,3, etc columns; header; footer; navigation bars, images???) Where will content be located? Identify the classes and elements from your CSS sheet that allow you to do this!

Objects in your UA sites Now that you have a web page design in mind or on paper: Develop wire frame designs in separate html files (Into.htm, step 1. htm, step 2.htm, etc.) Save these files on jump drives and share them with your team members who will use them to plug content into them. OR Designate one web space manager and give content to that manager to plug in.

Homework Make sure your site is developed by the middle of next class for peer review! If your team has one content developer, the rest of you should work on your personal pages to add elements and classes from your css to your htm.