1 CSC317/318 INTERNET PROGRAMING / DYNAMIC WEB APPLICATION DEVELOPMENT Siti Nurbaya Ismail Faculty of Computer Science & Mathematics, Universiti Teknologi.

Slides:



Advertisements
Similar presentations
Frames How to make a page that uses frames. Preview There used to be a time that frames were frowned upon because most browsers did not support them Nowadays.
Advertisements

Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
Frames.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and Applets.
Iframes & Images Using HTML.
Multimedia and the World Wide Web HCI 201 Lecture Notes #5A.
HTML – HyperText Markup Language. What is HTML ? the publishing language of the World Wide Web WWW – is a system of interlinked hypertext documents accessed.
Web-based Application Development Lecture 9 February 7, 2006 Anita Raja.
Javascript Document Object Model. How to use JavaScript  JavaScript can be embedded into your html pages in a couple of ways  in elements in both and.
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
HTML ll Events, Framesets and XHTML. onclick  Captures the click event  Can be used with most tags  Examples onclick=“javascript:alert(‘Thank you for.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
Chapter 14 Introduction to HTML
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: Frames © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page Design.
Chapter 6 Working with Frames.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: HTML Frames.
XHTML1 Topics Work with the Frameset Document Type Definition (DTD) Create frames Use the target and base attributes Create nested frames Format frames.
CS105 Introduction to Computer Concepts HTML
Tutorial 7 Working with Multimedia. XP Introducing Multimedia Bandwidth is a measure of the amount of data that can be sent through a communication pipeline.
WHAT are frames? what.html are.htmlframes.html. Intro to Frames HTML frames allow you to display more than 1 HTML document in the same browser window.
XP 1 Tutorial 5 Using Frames in a Web Site. XP 2 Tutorial Objectives  Describe the uses of frames in a Web site  Lay out frames within a browser window.
FRAMES. With frames, we can display more than one HTML document in the same browser window. Each HTML document is called the same browser window. Each.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Reference for CIS127 and CIS 137.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
HTML: Tables & Frames Internet Technology1. HTML: Tables Table tags ► surround the entire table ► header row (text is boldfaced) ► surround each row ►
XP Tutorial 8New Perspectives on HTML and XHTML, Comprehensive 1 Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and Applets Tutorial.
Frame Page A Frame Page does the following: –Defines the size of each frame. –Defines how the window will be broken up – rows or columns. –Specifies which.
Chapter 12 FRAMES. HOW FRAMES WORK When you view a framed page in a browser, you are actually looking at several HTML documents at once. The key to making.
Working with HTML Frames The Good, The Bad & The Ugly.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
Tutorial 7 Working with Multimedia. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Explore various multimedia applications.
Tutorial 7 Working with Multimedia. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Explore various multimedia applications.
CSCE 102 – Chapter 6 (Web Design and Layout) CSCE General Applications Programming Benito Mendoza Benito Mendoza 1 By Benito Mendoza.
1 Web Developer Foundations: Using XHTML Chapter 5 Key Concepts.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
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.
HTML: Tables & Frames Internet Technology.
HTML Hypertext Markup Language. WORKING WITH FRAMES.
1 CSC317/318 INTERNET PROGRAMING / DYNAMIC WEB APPLICATION DEVELOPMENT Siti Nurbaya Ismail Faculty of Computer & Mathematical Sciences, Universiti Teknologi.
1 HTML Frames
HTML Frames.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
HTML FRAMES With Frames, you can display more than one Web page in the same browser window.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
1 HTML Frames
REEM ALMOTIRI Information Technology Department Majmaah University.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring Forms, HTML5 layout.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
Site Development Foundations © 2004 ProsoftTraining All rights reserved.
HTML Paragraphs Paragraphs are defined with the tag. Example This is a paragraph This is another paragraph.
XHTML Introductory1 Frames Chapter 5. XHTML Introductory2 Objectives In this chapter, you will: Work with the Frameset Document Type Definition (DTD)
HTML Tables Tables are defined with the tag. A table is divided into rows (with the tag), and each row is divided into data cells (with the tag). td stands.
HTML Comprehensive Concepts and Techniques Second Edition Creating Frames on a Web Page.
Objective % Select and utilize tools to design and develop websites.
Client-Side Internet and Web Programming
Client-Side Internet and Web Programming
Objective % Select and utilize tools to design and develop websites.
Tutorial 7 Working with Multimedia
Basic HTML and Embed Codes
Working with Multimedia
HTML Tables & Frames Internet Technology.
CSC317/318 INTERNET PROGRAMING / DYNAMIC WEB APPLICATION DEVELOPMENT
HTML Tables & Frames Internet Technology.
Presentation transcript:

1 CSC317/318 INTERNET PROGRAMING / DYNAMIC WEB APPLICATION DEVELOPMENT Siti Nurbaya Ismail Faculty of Computer Science & Mathematics, Universiti Teknologi MARA (UiTM), Kedah | A | | |

Hypertext Markup Language  Objects & Images: Adding image, applets, audio, video, animation & virtual reality on the Web  Frames  Marquee  Labels & Controls  Input Elements, Dropdown List, Text Area  Using Fieldsets 2 Upon completion of this chapter, you will learn:

Hypertext Markup Language  HTML ‘s features multimedia are:  Images  Applets  Audio  Video  HTML documents itself 3 Introduction Types of inclusionSpecific ElementGeneric Element Object object Image object Applet (deprecated) object Audio Object HTM Video object HTML document/file object

Hypertext Markup Language Why we have to use ?  It supports new and future media types: –used to include objects such as images, audio, videos, Java applets, ActiveX, PDF, and Flash.  intended to replace the and elements. –Do not happen  bugs and a lack of browser support.  The support in browsers depend on the object type. –major browsers use different codes to load the same object type.  Solution: –Nested object elements. –If the object element is not displayed, the code between the and tags will be executed. 4

Hypertext Markup Language  Browser Support  The tag is partially supported in all major browsers –major browsers use different codes to load the same object type –Try all browser for your output 5

Hypertext Markup Language Displaying A Picture Displaying A Web Page 6

Hypertext Markup Language Displaying A Sound Displaying A Video classid ? 7

Hypertext Markup Language New in HTML5  tag is used to specify audio on an HTML document. –Specific Attributes: src, preload, autoplay, loop and controls –Global Attributes: class, id, title and more –Event Handler Content Attributes: onchange, onclick and more.  tag is used to specify video on an HTML document. –Specific Attributes: src, poster, preload, autoplay, controls, width and height –Global Attributes: class, id, title and more –Event Handler Content Attributes: onchange, onclick and more.  tag is used for embedding an external application or interactive content into an HTML document. –Specific Attributes: src, type, width and height –Global Attributes: class, id, title and more –Event Handler Content Attributes: onchange, onclick and more

Hypertext Markup Language Displaying A Sound Displaying A Video <embed name=“tq“ src="tq.mp3“ width="300“ height="90" loop="false“ hidden="false“ autostart="false"> text

Hypertext Markup Language 10 Images Sample: include an image using Object Sample Code Include a PNG Image using img

Hypertext Markup Language 11 Images Sample: include an image as background image Background Image Image as page background. Make sure u can see the texT!

Hypertext Markup Language 12 Applets Sample: include an applet using applet element (deprecated) Sample: include an applet using object Java applet that draws animated bubbles. <OBJECT codetype="application/java" classid="java:Bubbles.class" width="500" height="500"> Java applet that draws animated bubbles.

Hypertext Markup Language  Frame can be used to display more than one HTML documents in the same web browser window  How? Example 13 Frames htmldoc1.html htmldoc2.html htmldoc3.html htmldoc4.html

Hypertext Markup Language  Each HTML document is called a frame, each frame is independent to each others  Disadvantages -Because of more than one HTML documents in a single web browser window, developer has to alert and keep track all the documents -Difficult to print the entire page 14 Frames

Hypertext Markup Language 15 Frames TagDescription Defines a set of frames Defines a sub window (a frame) Defines a noframe section for browsers that do not handle frames Defines an inline sub window (frame)

Hypertext Markup Language Vertical Frameset 16 Frames Frameset Page html_frame2.html, 25% html_frame3.html, *% html_frame1.html

Hypertext Markup Language Horizontal Frameset 17 Frames Frameset Page html_frame2.html, 25% html_frame3.html, *% html_frame1.html

Hypertext Markup Language 18 Frames html_frame2.html, 30% html_frame3.html, 70% html_frame1.html

Hypertext Markup Language 19 Frames html_frame2.html, 30% html_frame3.html, 70% html_frame1.html

Hypertext Markup Language Some frame attributes to be consider when applying frame within your html page - frameborder attributes within the tag * define the thickness of the frameset border - noresize attributes within the tag * define the whether the frame border can be resized or not - scrolling attributes within the tag * define the whether the frame border can be scroll or not 20 Frames

Hypertext Markup Language  iframe = inline frame, (include|create) a frame inside an HTML page, which is similar function of  Even though both tags provide similar function, but they owned different attributes 21 vs iframe vs object <iframe height="450“ width="450 " src=" iframe vs object <object name="test“ type="text/html" height="450" width="450" border="0" data="

Hypertext Markup Language The concept is like this 22 Targeting Links to Frames Menu [Chap 1][Chap 2][Chap 3] Chapter pages will be displayed here

Hypertext Markup Language  Create an HTML page with 2 rows using frame tag  1 st frame (top): include an HTML page that contains title and hyperlinks & give it name, let say “top”  2 nd frame (bottom): give it name, let say “bottom” & include default HTML page here  Next, create an HTML page contains title and 3 hyperlinks. Make sure you set the hyperlink’s target to “bottom” for all 3 hyperlinks  Next, please create 3 different HTML pages for all 3 hyperlinks, please save them with different file name 23 Targeting Links to Frames

Hypertext Markup Language Solution 24 Targeting Links to Frames Full Frame Demo <frame src="html_menu_top.html" name="top"> <frame src="html_default.html" name="bottom">

Hypertext Markup Language Solution 25 Targeting Links to Frames Please select menu here [Chap 1][Chap 2][Chap 3] Please select menu here [ Chap 1 ] [ Chap 2 ] [ Chap 3 ] File name: html_menu_top.html

Hypertext Markup Language Solution 26 Targeting Links to Frames Your menu is up there! Your menu is up there! File name: html_default.html

Hypertext Markup Language Solution 27 Targeting Links to Frames Chapter 1 Chapter 1 File name: html_chap1.html Chapter 2 Chapter 3 Chapter 2 File name: html_chap2.html Chapter 3 File name: html_chap3.html

Hypertext Markup Language The concept is like this 28 Targeting Links to Frames ( ) Select Your Menu Here [Chap 1][Chap 2][Chap 3] Hyperlinks will be here Chapter pages will be displayed here inside inline frame

Hypertext Markup Language  Create an HTML page with a title and 3 hyperlinks  Make sure you set the target for all 3 hyperlinks to “display”  Place tag below the hyperlinks, set the height and width to “450”, and, give it a name as “display” 29 Targeting Links to Frames ( )

Hypertext Markup Language Solution 30 Targeting Links to Frames ( ) Select Your Menu Here [Chap 1][Chap 2][Chap 3] iframe full demo Select Your Menu Here [ Chap 1 ] [ Chap 2 ] [ Chap 3 ]

Hypertext Markup Language Create scrolling display Attributes: 31 Marquee (... ) Attribute Description width How wide the marquee is height How tall the marquee is direction Which direction the marquee should scroll behavior Type of scrolling scrolldelay Delay between each scroll

Hypertext Markup Language Attributes: Only Opera and IE fully support hspace and vspace attribute 32 Marquee (... ) AttributeDescription scrollamount How many marquee will appear loop How many times to loop bgcolor Background color hspace Horizontal space around the marquee vspace Vertical space around the marquee

Hypertext Markup Language Examples 33 Marquee (... ) I Love Programming I Love Programming I Love Programming I Love Programming

Hypertext Markup Language Bibliography (Book) Knuckles (2001). Introduction to Interactive Programming on the Internet using HTML & Javascript. John Wiley & Sons, Inc. Bibliography (Websites)