150 likes | 307 Views
HTML and XML. Behind Web Authoring Tools. Objectives. Introduce HTML Learn HTML Step by step Introduce XML. Contents of HTML Document. Text Displayed by the browser screen Instructions Interpreted and executed
E N D
HTML and XML Behind Web Authoring Tools
Objectives • Introduce HTML • Learn HTML Step by step • Introduce XML
Contents of HTML Document • Text • Displayed by the browser screen • Instructions • Interpreted and executed • Written in HTML elements called tags, which are identified by angle brackets and a keyword (eg, <HEAD> and </HEAD>)
Basic Structure of an HTML Document <HTML> <HEAD> header information goes here </HEAD> <BODY> body of the document goes here </BODY> </HTML>
Learn HTML Step by Step • Headings, horizontal lines, and graphics • Using hyperlinks to point to other web sites • Using a graphic as a hyperlink continued…
Lesson 1: Headings, Horizontal Lines, and Graphics • Heading tags <H#> • Horizontal lines <HR> • Graphics • GIF (graphics interchange format) • JPEG (Joint Photographic Experts Group) • PNG (Portable Network Graphic)
Lesson 2: Using Hyperlinks to Point to Other Web Sites • Hyperlinks are created using the HTML anchor tags <A> • The link is created with the <A HREF> anchor tag and the link target is created with the <A NAME> anchor tag
Extensible Markup Language • Why extensible? • HTML tags are fixed, limited (<a href=…) • XML extends HTML by offering user-created tags, i.e., a meta-language that defines other languages • XML for Web: DHTML is the result of XML being processed by browsers
XML: More Than Presentation • RSS (Real Simple Syndication): feeds for reader • XML for Web service: text documents passed over Web applications that serve others • Foundation of SOA (Service Oriented Architecture) • SOA: an extension of Enterprise Application Integration
Exercises • What is HTML? • Why do we use it? • How to build a graphic hyperlink? • Is XML just for Web Presentation?