WPF (Avalon), Windows App GUI Windows App GUI Web App GUI Web App GUI HTML HTML XML XML WPF WPF LINQ LINQ.

Slides:



Advertisements
Similar presentations
HTML: HyperText Markup Language Hello World Welcome to the world!
Advertisements

Teppo Räisänen LIIKE/OAMK 2010
HTML / CSS – Basics Why the heck are we doing this?
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
HTML and XHTML Controlling the Display Of Web Content.
Basic HTML. HTML Background November 1990, first created by Tim Berners Lee, the father/inventor of WWW Knighted by Queen Victoria in 2004 Hypertext is.
Computer Science 1611 Internet & Web Creating Webpages Hypertext and the HTML Markup Language.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 1.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.

Chapter 3 Adding Images in HTML. Agenda Understanding Web Page Images Prepare Your Images for the Web Insert an Image Specify an Image Size Add Alternative.
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
July 2007 Web Design Developing a Class Website for the Tsunami Shelter Challenge Rozeanne Steckler
Chapter 2 HTML (Hypertext Markup Language) Part I.
XML introduction to Ahmed I. Deeb Dr. Anwar Mousa  presenter  instructor University Of Palestine-2009.
1 Outline 3.1 Introduction 3.2 Editing HTML 3.3 First HTML Example 3.4 W3C HTML Validation Service 3.5 Headers 3.6 Linking 3.7 Images 3.8 Special Characters.
ITCS373: Internet Technology HTML
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
 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.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Going Live with a Basic Web Page Bill Hart-Davidson AIM: billhd30 pfworkshop.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
Introduction to HTML. What is HTML?  Hyper Text Markup Language  A markup language designed for the creation of web pages and other information viewable.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
HTML: Hyptertext Markup Language Doman’s Sections.
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
Copyright © Osmosys O S M O S Y SO S M O S Y S D e p l o y i n g E x p e r i e n c e & E x p e r t i s e™ HTML Training.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
HTML tags Some popular ones. Paragraph: separated by a single line of white space Line break NOTE: no end tag is used for this tag Headlines ( through.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
HTML Basics. HTML Introduction Stands for HyperText Markup Language. HTML files are plain text files with mark ups. Some characteristics of HTML: –No.
WEB DESIGN AND PROGRAMMING Introduction to XHTML.
Introduction to HTML. Today’s Discussion What is HTML ? What is HTML ? What is Web Page ? What is Web Page ? Web Server Web Server Web Browser Web Browser.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
HTML Chapter 4 Source: CSE 190 M (Web Programming) lecture notes, es/slides/lecture02-basic_xhtml.html.
Web programming Part 1: HTML 由 NordriDesign 提供
Introduction to HTML UWWD. Agenda What do you need? What do you need? What are HTML, CSS, and tags? What are HTML, CSS, and tags? html, head, and body.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
Introduction to HTML C151 Multi-User Operating Systems.
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
REEM ALMOTIRI Information Technology Department Majmaah University.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Introduction to Web Authoring Ellen Cushman /wra210.htm Class mtg. #2.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Create Your Own Web Page: An Introduction to HTML Instructor: Corey Johnson Assisted by: tba.
Week-11 (Lecture-1) Introduction to HTML programming: A web based markup language for web. Ex.
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
Computer Basics Introduction CIS 109 Columbia College.
Introduction to Web Authoring Bill Hart-Davidson AIM: billhd30 Session 2
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML MULTIPLE CHOICE QUESTION
Marking Up with XHTML Tags describe how a web page should look
WPF (Avalon), LINQ (Orcas)
Chapter 4 - Introduction to XHTML: Part 1
WPF AKEEL AHMED.
Web Design and Development
Marking Up with XHTML Tags describe how a web page should look
Introduction to HTML- Basics
Introduction to HTML.
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

WPF (Avalon), Windows App GUI Windows App GUI Web App GUI Web App GUI HTML HTML XML XML WPF WPF LINQ LINQ

HTML- HyperText Markup Language First name: Last name: First name: Last name: </form>

Document Structure My First Web Page A Paragraph of Text.

Nested Tags Like a tree, each element is contained inside a parent element Each element may have any number of attributes... bgcolor="white" other stuff This is some text!

Basic Tags My First Web Page A Paragraph of Text.

Basic Tags Preamble which identifies content as HTML Preamble which identifies content as HTML … … H1-6 where larger number means smaller heading H1-6 where larger number means smaller heading Includes vertical whitespace unlike Includes vertical whitespace unlike

Basic Tags horizontal rule new line... bold... italicize text in between

Lists Unordered Lists Apples Oranges Ordered Lists One Two Can be nested o o Apples 1. Fuji 2. Granny Smith o o Oranges

Image Files JPEG Best for photos Public standard GIF Best for simple images Older standard PNG – Portable Network Graphics Public standard replacement for GIF SVG – Scalable Vector Graphics Series of drawing commands Uses XML

Tables for each row... for each element in a row … for header row

Table Example <tr> row 1, cell 1 row 1, cell 1 row 1, cell 2 row 1, cell 2 </tr><tr> row 2, cell 1 row 2, cell 1 row 2, cell 2 row 2, cell 2 </tr></table>

Comments <!-- This paragraph, is also a comment...-->

Special HTML < →< > → > & → & → space

Anchor Tag (Links) Absolute HREFs specify fully qualified URLs. Yahoo! In this directory! In sub-directory a! Relative HREFs are relative to the directory containing the current HTML file.

XML ( eXtensible Markup Language )

XML – пример Programming Microsoft.NET Programming Microsoft.NET Jeff Prosise Jeff Prosise Microsoft.NET for Programmers Microsoft.NET for Programmers Fergal Grimes Fergal Grimes </library>

XML – пример Programming Microsoft.NET Programming Microsoft.NET Jeff Prosise Jeff Prosise Microsoft.NET for Programmers Microsoft.NET for Programmers Fergal Grimes Fergal Grimes </library> атрибут заглавна част (пролог) отварящ таг елемент затварящ таг стойност на елемент

XSD схеми </xs:schema>

XAML - Extensible Application Markup Language Introduction to XAML – XML Advantages of XAML : XAML code is short and clear to read XAML code is short and clear to read Separation of designer code and logic Separation of designer code and logic Graphical design tools like Expression Blend require XAML as source. Graphical design tools like Expression Blend require XAML as source.

The following types are included into the XAML language :

Hello World C# example C# example using System; using System.Windows; namespace AvalonExample { class MyApp { [STAThread] static void Main(){ MessageBox.Show(“Hello World!”); }

Hello World XAML example XAML example Hello World!

Application Object Application object acts as container for more complex applications Application object acts as container for more complex applications MainWindow MainWindow Application events like Application events like Startup & Shutdown Startup & Shutdown public class MyApp : Application { [STAThread] static void Main(string[] args) { MyApp app = new MyApp(); app.Startup += app.OnApplicationStartup; app.Run(args); } void OnApplicationStartup(object sender, StartupEventArgs e) { Window w = new Window(); w.Title = "Mark says: Hello World!"; w.Show(); } }

Properties as Elements

Implicit Type conversion

WPF

Rich composition

<Window x:Class="MyFirstWpfApp.MainWindow" xmlns= " " xmlns:x= xmlns:x= Title="Hello, WPF" Height="300" Width="300"> Title="Hello, WPF" Height="300" Width="300"> <Button x:Name="button" <Button x:Name="button" Width="200" Width="200" Height="25">OK Height="25">OK </Window>  Constructs button with caption "OK"

Example - VS

Step 1

Step 2

Step 3

Step 4

ComboBox with Live Preview

Style