Advanced Web Development Instructor: Thomas Bombach.

Slides:



Advertisements
Similar presentations
HTML and CSS. HTML Hyper Text Markup Language Tells browser how to display text and images.
Advertisements

CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
Web Engineering 1 Ishaq Khan Shinwari MCS City University Peshawar.
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.
CSS CSS Precise Aesthetic Control. Cascading Style Sheets Though they can be put in HTML header, usually a separate page that the HTML links to Contains.
Introduction to CSS. What is CSS? A CSS (cascading style sheet) file allows you to separate your web sites (X)HTML content from it’s style. Use your (X)HTML.
HTML – A Brief introduction Title of page This is my first homepage. This text is bold  The first tag in your HTML document is. This tag tells your browser.
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.
Tutorial 5 Working with the Box Model. XP Objectives Understand the box model Create padding, margins, and borders Wrap text around an image Float a block-level.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 6 - Cascading Style Sheets™ (CSS) Outline 6.1 Introduction 6.2 Inline Styles 6.3 Embedded Style.
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
XP Introducing Cascading Style Sheets With Cascading Style Sheets (CSS), you can create one or more documents that control the appearance of some or all.
Cascading Style Sheets Please use speaker notes to get complete information! Cascading Style Sheets.
Introduction to Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 4.
Cascading Style Sheets SP.772 May 6, CSS Useful for creating one unified look for an entire web site. Helps to seperate style from content. Can.
Beginning Web Site Creation: Dreamweaver CS4. XHTMLCSS  Describes the structure  Content  Collection of styles  Formatting body { background-color:
Cascading Style Sheets. Slide 2 Lecture Overview Overview of Cascading Style Sheets (CSS) Ways to declare a CSS CSS formatting capabilities New features.
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
CSE CASCADING STYLE SHEETS CSS Faculty of Computer Science and Engineering.
Style sheets can also affect the BODY. style4.css BODY {BACKGROUND-COLOR : white} H1 {COLOR : red; FONT-SIZE : 50; FONT-FAMILY : arial} H2 {COLOR : green}
Style sheets can also affect the body. style4.css body {background-color : white} h1 {color : red; font-size : 50; font-family : arial} h2 {color : green}
Cascading Style Sheet (CSS) Instructor: Dr. Fang (Daisy) Tang
4.01 Cascading Style Sheets
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
Selectors thru Borders. CSS – Cascading Style Sheets – is a way to style HTML HTML is the content base of a web page CSS provides the presentation qualities.
TECH2018 Multimedia and the Internet More about CSS and Page Layouts.
© 2012 Adobe Systems Incorporated. All Rights Reserved. LEARNING THE LANGUAGE OF THE WEB INTRODUCTION TO HTML AND CSS.
Principles of Web Design 6 th Edition Chapter 4 – Cascading Style Sheets.
Chapter 11 Cascading Style Sheets: Part I The Web Warrior Guide to Web Design Technologies.
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
HTML - Quiz #2 Attendance CODE:
Cascading style sheets (CSS)
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. CSS - Structure Declaration block Property: identifies what to change Value: how to change it Selector – example h1{ font-size:
Chapter 6 Web Typography. 2 Principles of Web Design Chapter 5 Objectives Understand principles for type design on a Web site Use the element Understand.
Web Design I Spring 2009 Kevin Cole Gallaudet University
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
I NTRO TO CSS IAT100 Spring I NTRO TO CSS Covered in this lesson: Overview What is CSS? Why to use CSS? CSS for Skinning your Website Structure.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
ITCS373: Internet Technology Week 3: Introduction to CSS Dr. Faisal Al-Qaed.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorials 3 & 4: Working With CSS.
CO1552 – Web Application Development Cascading Style Sheets.
CSS CSS is short for C ascading S tyle S heets. It is a new web page layout method that has been added to HTML to give web developers more control over.
IS 360 Declaring CSS Styles. Slide 2 Introduction Learn about the three ways to declare a style Inline / embedded / external Learn about the effect of.
Stylin’ with CSS Monday October 8 th and Tuesday October 9 th.
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
CSS Cascading Style Sheets. CSS Advantages Greater typography and page layout control Style is separate from structure Styles can be stored in a separate.
Creating Your Own Webpage COSC Cascading Stylesheets Think of: HTML: content of your webpage HTML has tags CSS: presentation and appearance of your.
ECA225 Applied Interactive Programming Cascading Style Sheets, pt 1 ECA 225 Applied Online Programming.
 2004 Prentice Hall, Inc. All rights reserved. Chapter 6 - Cascading Style Sheets™ (CSS) Outline 6.1 Introduction 6.2 Inline Styles 6.3 Embedded Style.
 Cascading Style Sheets (CSS) ◦ Used to specify the presentation of elements separately from the structure of the document.  Inline style ◦ declare.
A really fairly simple guide to: mobile browser-based application development (part 2, CSS) Chris Greenhalgh G54UBI / Chris Greenhalgh
Course created by Sarah Phillips BBCD Melbourne BAPDCOM Version 1 – April 2013.
3. Cascading Style Sheets (CSS) M. Udin Harun Al Rasyid, S.Kom, Ph.D Lab Jaringan Komputer.
Cascading Style Sheets
CSS Layout Cascading Style Sheets. Lesson Overview  In this lesson, you will learn:  CSS Box Model  CSS properties for border  CSS properties for.
Cascading Style Sheets I Embedded Style Sheets. Page Design ICSS 2Instructor: Sean Griffin What is a Style Sheet? A style sheet is a text file that contains.
5 th ed: Chapter 4 4 th ed: Chapter 5 SY306 Web and Databases for Cyber Operations Slide Set #4: CSS.
CSS Hadas Kahsay. Overview  What is CSS  Basic syntax of CSS Rules  How to link CSS style to html documents  Browsers and CSS  Advantages of CSS.
Cascading Style Sheets (CSS)
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.
ECA 228 Internet/Intranet Design I Cascading Style Sheets.
CSS DHS Web Design. Location Between the & Start with – End with –
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.
The Internet 10/13/11 The Box Model
Training & Development
Presentation transcript:

Advanced Web Development Instructor: Thomas Bombach

Class Goals Become comfortable using PHP & MySQL Learn to make server-side scripts that are the foundations for advanced web sites Learn about AJAX & its applications in a modern web site Learn advanced web design techniques for the modern web Provide the next steps for advancing web skills

Projects The “Holy Grail” Layout PHP Hello World PHP: Different Messages at Different Times Mad Libs Guided Project: Building a Guestbook Final Project

Basic HTML Document Structure

Other tags: : paragraph : line break : Level 1 header : Level 2 header Etc. Lists : Ordered list : Unordered list : Definition list : Anchors href=‘

Other tags: src=‘path/to/image.jpg’ alt=‘Alternate text’ Self-closing

Attributes Some tags have extra information associated with them ▫ Link to example.com ▫ Can specify CSS style information ▫ Larger text ▫ Text

CSS CSS: Cascading Style Sheets Defines how to display HTML elements Designed to solve the problem of updating the styles of many different elements Allows developer to define style rules once for many elements, and change them as needed Uses all the same properties that the style attribute uses (color, background-color, etc.)

CSS Syntax Three parts to a CSS declaration Selector { property: value } ▫The selector defines which HTML elements the developer wants to style ▫The property defines which CSS property will be set ▫The value defines what the property will be set to Examples: body { background-color: blue} p { font-size: large } ▫If you are defining multiple properties for a single selector, separate each property/value pair with a semicolon (and preferably a new line) h5 { background-color: green; color: greenyellow; }

Other CSS Properties - Font font-size ▫Sets the size of the text ▫Values: xx-small, x-small, small, medium, large, x-large, xx- large font-weight ▫Sets the boldness of the text ▫Values: normal, bold, bolder, lighter font-family ▫Sets the font style of the text ▫Values: Arial, “Courier New”, Georgia, “Times New Roman”, Verdana, “Trebuchet MS”, “Lucida Sans” ▫Note that if the name of the font-family value has multiple words (such as Courier New) you must include the quotation marks

Other CSS Properties - Border border-style ▫Sets the type of border to display ▫Values: none, dotted, dashed, solid, outset, inset, ridge, groove, double border-color ▫Sets the color of the border ▫Values: color names (same as the color or background- color properties) border-width ▫The size of the border ▫Values: thin, medium, thick

Margin & Padding Margin ▫Empty area outside border. Does not use the background color Border ▫Between margin and padding Padding ▫Empty area inside border. Does use background color Content ▫Where an element’s content appears

Other CSS Properties – Margin & Padding margin: ▫Sets the size of the margin ▫Values: number, followed by “px” Example: margin: 20px; padding: ▫Sets the size of the padding ▫Values: number, followed by “px” (same as margin) Example: padding: 10px;

JavaScript Interpreted programming language Allows developer to make dynamic, interactive pages Not related to Java (except in name) Can interact with HTML elements and their CSS styling

Syntax External Internal ▫ JavaScript files have a.js extension Similar syntax to C++ ▫Variables ▫Functions ▫Statements

Variables Dynamically typed Variables are defined with the keyword var Example: var foo = “bar”; // String var meaningOfLife = 42; // Integer var phi = ; // Double or float var firstLetter = ‘a’; // Character

Functions Defined using function keyword Example: function myFunc() { // Code goes here } Called using the function name: Example: myFunc();