Presentation is loading. Please wait.

Presentation is loading. Please wait.

2004-2005 Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction.

Similar presentations


Presentation on theme: "2004-2005 Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction."— Presentation transcript:

1 2004-2005 Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction to Computing I Lesson 9

2 Review of Last Week Open notepad or TryIt. Open notepad or TryIt. Create a form asking from user: Create a form asking from user: Name [textbox] Name [textbox] Surname [textbox] Surname [textbox] Age [select] (values: too young, 15 - 18, 19 - 21, 22 - 24, too old) Age [select] (values: too young, 15 - 18, 19 - 21, 22 - 24, too old) Gender [select] (values: male, female) Gender [select] (values: male, female) City [select] (values: Ankara, İstanbul, İzmir) City [select] (values: Ankara, İstanbul, İzmir) Has a brother [checkbox] Has a brother [checkbox] Has a sister [checkbox] Has a sister [checkbox] Few words about himself [textarea] Few words about himself [textarea]

3 Applets Applets are Java programs that are running on your browser. Applets are Java programs that are running on your browser. Java is a platform independed programming language. Java is a platform independed programming language. A Java program can run on any system: Windows, Macintosh, Unix, Linux, OS/2, Pocket Pc A Java program can run on any system: Windows, Macintosh, Unix, Linux, OS/2, Pocket Pc Therefore Java is a perfect choice for applets, because web pages can be viewed from any system. Therefore Java is a perfect choice for applets, because web pages can be viewed from any system.

4 Applet The tag required to run an applet in html page is... The tag required to run an applet in html page is... Applet tag attributes: Applet tag attributes: code, specify the class name of the code.(required) code, specify the class name of the code.(required) align, align the region with respect to text. align, align the region with respect to text. alt, alternative text alt, alternative text codebase, specifies the URL of the retrieved code codebase, specifies the URL of the retrieved code height, specifies the height of the applet in pixels height, specifies the height of the applet in pixels width, specifies the width of the applet in pixels width, specifies the width of the applet in pixels tag is secondary tag which supplies the values for specified parameter in applet. Used inside the... tag. tag is secondary tag which supplies the values for specified parameter in applet. Used inside the... tag. name, defines the name of the parameter. name, defines the name of the parameter. value, defines the value of the parameter. value, defines the value of the parameter.

5 EOL


Download ppt "2004-2005 Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction."

Similar presentations


Ads by Google