Beruflich Dokumente
Kultur Dokumente
ALGORITHM Step 1: Start. Step 2: Write the code for imagemap.html. Step 3: Perform mapping using <MAP> tag. Step 4: Insert Hyperlink using <A href>. Step 5: Display Results. Step 6: Stop.
Ex. No: 2 (a) APPLYING INLINE CASCADING STYLE SHEETS TO A WEB PAGE
Algorithm: 1. Create a simple HTML page. 2. Write internal CSS using <style> tag in the same page become internal CSS. 3. Create another CSS file using <style> tag with extension .css file, which becomes external CSS file 4. Include the external CSS file in your file. 5. Find the style changes on your page. RESULT Thus the program was executed successfully.
Algorithm: 1. Create a simple HTML page. 2. Write internal CSS using <style> tag in the same page become internal CSS. 3. Create another CSS file using <style> tag with extension .css file, which becomes external CSS file 4. Include the external CSS file in your file. 5. Find the style changes on your page.
RESULT Thus the cascading style sheet were embedded in HTML program.
AIM: To perform client side scripts for validating web form controls using DHTML
ALGORITHM:
Step 1: Start Step 2: Design an HTML File with user name and password which is to be validated Step 3: Validate the password by checking if the password is of minimum 7 characters in length Step 4: if step 4 fails an alert message is passed insisting that the password should be minimum 7 characters in length Step 5: stop
Ex no:4
ALGORITHM
Step1: Extend the Class Grid from the Applet Class. Step2: In the init() method Declare the class Button. Step3: Add Button in the Window using for loop. Step4: SetLayout of the Window Using GridLayout() function. Step5: Stop
Algorithm: 1. Create a servlet program using http. 2. Set classpath where servlet-api.jar file resides. 3. Compile the servlet program using javac programname.java 4. Place the class file \Tomcat 5.5\webapps\ROOT\WEB-INF\classes\ folder. 5. modify the web.xml file using your servletClassName. 6. Invoke the class file using http://localhost:8080/servetClassName from your browser
AIM:
ALGORITHM:
Step 1: Start. Step 2: The four directions east, west, north and south are created using BorderLayoutClass and they are added as buttons. Step 3: A text area is created in between those buttons. Step 4: When the buttons that are created are clicked, the text area shows the text Displaying which button we clicked. Step 5: Stop.
Aim: To write an online book shopping application using JSP objects. Algorithm: 1. Create home, login, registration, profile, catalog and order html pages. 2. Create jsp pages which does all business works on the server. 3. Use appropriate database to store the details of the books. 4. Create tables to store login details and books details. 5. Connect the database using odbc.jdbc driver. 6. Make changes in the control settings to enable database on your local machine.
Algorithm:
Step 1: Start the Program Step 2: Create a root process for food Step 3: Create a style for XSLT with focus on each item Step 4: Output the items Step 5: Stop
ALGORITHM:
Step 1: Start Step2: Create a text box and submit button of event handling submitform() Step 3: Create new ActiveXobject of XMLHTTP under exception Step 4: if ready state is four then get the message else error message Step 5: stop
Algorithm: Step 1: Start the Program Step 2: Create a root process for Reservation Step 3: Create a service with focus on each item Step 4: Output the items Step 5: Stop