The document describes creating an XML document to store patient information in a hospital. It includes elements for patient name, SSN, age, room number, primary and secondary insurance details, medical problems, and drug allergies. Sample data for 4 patients is included. A CSS style sheet is then created and applied to format the display of the XML document. Finally, an XSLT style sheet is created to transform and display one patient element from the XML document in a table.
Web Technology Lab files with practicalNitesh Dubey
The document describes several experiments using HTML, CSS, JavaScript, Java, and SQL to develop web applications.
Experiment 1 involves creating a CV using HTML and JavaScript and displaying it on different websites. Experiment 2 creates a student details form in HTML that sends data to a database.
Experiment 3 uses JavaScript to display browser information on a web page. Experiment 4 develops a calculator application using JavaScript.
Experiment 5 defines document type definitions and cascading style sheets to style an XML document about books.
Experiment 6 connects to a database using JDBC and SQL. It retrieves and updates data, designing a simple servlet to query a book database.
headings, images , anchor tag,use of special character ,table,span in table, image hyperlinks , feedback form , DIV tag,descendent selector via div and para tag, child selector, javascript , internal links , drag and drop
CSS is a style sheet language used to describe the presentation of HTML and XML documents. It can be applied through inline styles, internal style sheets embedded in HTML <style> tags, or external style sheets linked via <link> tags. CSS uses selectors to target elements and properties to style them by setting values like font sizes, colors, spacing and more. This allows separation of document structure/semantics from presentation.
This document provides descriptions and examples of various HTML tags. It explains basic HTML structure using tags like <html>, <head>, <title>, <body>. It also provides examples of common text formatting tags like <b>, <i>, <u> and examples of lists, tables, forms and inputs using tags like <ul>, <ol>, <table>, <form>, <input>. It is intended as a reference for the basic tags used to structure and style HTML documents.
This document shows how to use JavaScript to validate form fields. It includes code to validate a name, email, zip code, and country field. For each field, JavaScript code checks if the field is empty and alerts the user if it is. For email, it also validates the format by checking for an "@" symbol and that there are at least two characters after the "." symbol. The validate() and validateEmail() functions return true or false to determine if the form submission should proceed.
This document contains guidance on making web content more accessible. It discusses techniques for improving the structure and semantics of HTML documents, such as: using headings, landmarks and navigation to improve the reading order; adding text alternatives to non-text content; and marking required form fields. It also provides tips for internationalizing content and supporting different languages. The overall goal is to make web pages easier for all users to navigate, understand and perceive regardless of disabilities or technologies used.
This document is a reservation/cancellation requisition form for a railway system. It contains fields for passenger names, gender, age, train details, class, seat/berth preference, meals, and children under 5 traveling without tickets. Users fill out this form to make reservations or cancel existing reservations on trains.
This document discusses three approaches to managing namespaces when creating multiple XML schemas for a project:
1. Heterogeneous Namespace Design - Each schema is given a unique target namespace.
2. Homogeneous Namespace Design - All schemas share the same target namespace.
3. Chameleon Namespace Design - The main schema has a target namespace, while supporting schemas have no target namespace and inherit the main schema's namespace.
It provides an example comparing how each approach would be implemented for schemas defining a company, persons, and products. The document aims to help schema designers choose the best approach for their projects.
Web Technology Lab files with practicalNitesh Dubey
The document describes several experiments using HTML, CSS, JavaScript, Java, and SQL to develop web applications.
Experiment 1 involves creating a CV using HTML and JavaScript and displaying it on different websites. Experiment 2 creates a student details form in HTML that sends data to a database.
Experiment 3 uses JavaScript to display browser information on a web page. Experiment 4 develops a calculator application using JavaScript.
Experiment 5 defines document type definitions and cascading style sheets to style an XML document about books.
Experiment 6 connects to a database using JDBC and SQL. It retrieves and updates data, designing a simple servlet to query a book database.
headings, images , anchor tag,use of special character ,table,span in table, image hyperlinks , feedback form , DIV tag,descendent selector via div and para tag, child selector, javascript , internal links , drag and drop
CSS is a style sheet language used to describe the presentation of HTML and XML documents. It can be applied through inline styles, internal style sheets embedded in HTML <style> tags, or external style sheets linked via <link> tags. CSS uses selectors to target elements and properties to style them by setting values like font sizes, colors, spacing and more. This allows separation of document structure/semantics from presentation.
This document provides descriptions and examples of various HTML tags. It explains basic HTML structure using tags like <html>, <head>, <title>, <body>. It also provides examples of common text formatting tags like <b>, <i>, <u> and examples of lists, tables, forms and inputs using tags like <ul>, <ol>, <table>, <form>, <input>. It is intended as a reference for the basic tags used to structure and style HTML documents.
This document shows how to use JavaScript to validate form fields. It includes code to validate a name, email, zip code, and country field. For each field, JavaScript code checks if the field is empty and alerts the user if it is. For email, it also validates the format by checking for an "@" symbol and that there are at least two characters after the "." symbol. The validate() and validateEmail() functions return true or false to determine if the form submission should proceed.
This document contains guidance on making web content more accessible. It discusses techniques for improving the structure and semantics of HTML documents, such as: using headings, landmarks and navigation to improve the reading order; adding text alternatives to non-text content; and marking required form fields. It also provides tips for internationalizing content and supporting different languages. The overall goal is to make web pages easier for all users to navigate, understand and perceive regardless of disabilities or technologies used.
This document is a reservation/cancellation requisition form for a railway system. It contains fields for passenger names, gender, age, train details, class, seat/berth preference, meals, and children under 5 traveling without tickets. Users fill out this form to make reservations or cancel existing reservations on trains.
This document discusses three approaches to managing namespaces when creating multiple XML schemas for a project:
1. Heterogeneous Namespace Design - Each schema is given a unique target namespace.
2. Homogeneous Namespace Design - All schemas share the same target namespace.
3. Chameleon Namespace Design - The main schema has a target namespace, while supporting schemas have no target namespace and inherit the main schema's namespace.
It provides an example comparing how each approach would be implemented for schemas defining a company, persons, and products. The document aims to help schema designers choose the best approach for their projects.
The document describes an online examination application that allows students to enter their details, answer multiple choice questions, and view their results and marks. It uses JSP to insert student data into a database, display the question form, and output the marks sheet. Validation is performed on the form entries before submission to check for empty fields or invalid data.
This document discusses how to delete data from a database through a HTML table front end in PHP. It provides code to connect to a MySQL database, select the database, and define variables from a POST request. If the "del" button is pressed, it deletes the record from the employee table where the name matches the POST variable. It then displays a message and queries the database. It outputs a table with SELECT data. This allows deleting a record from the front end and seeing it removed from the table after selection.
The document describes a Java program to create a color palette applet with the following features:
1. Create a matrix of buttons to display a color palette.
2. Allow the user to select a color from the palette to set the background or foreground of a text area control.
3. Use a checkbox control as radio buttons to select whether the selected color sets the background or foreground.
The algorithm defines the necessary classes and objects, adds the controls to the applet using init(), arranges the controls with setBounds(), sets button backgrounds with setBackground(), adds listeners, and conditionally sets the text area background or foreground based on the checkbox selection.
The document contains 9 programs demonstrating various HTML and JavaScript concepts. Program 1 creates a table with rowspan and columnspan. Program 2 implements unordered, ordered, and definition lists. Program 3 creates a college registration form. Program 4 creates 4 frames to display images. Program 5 creates a login page with form validation. Program 6 loads an image uploaded by the user. Program 7 demonstrates the onload event. Program 8 inserts a node and attribute to the DOM. Program 9 uses regular expressions to replace text in a paragraph.
The document discusses how to update data in a database using PHP. It shows code for connecting to a MySQL database and using an update statement to modify data based on form input. The code displays an HTML form to collect data, submits it to update the database via PHP, and then displays the updated data in a table. It provides an example of updating an employee's designation, salary, and qualifications in the database.
The document discusses a template-based modular architecture for advanced JavaScript applications. It covers key concepts like modular design, modules, templates, and a dispatcher. For modules, it describes elements, encapsulation, and advantages like independence and decomposability. It then covers templates for importing styles, scripts, and HTML. The dispatcher section explains principles like Uniform Module Identifiers and strategies for dispatching and routing. A case study demonstrates system decomposition into modules and their development. The document concludes with discussions around module deployment and performance improvements.
This document describes an example of using URL rewriting and hidden form fields to maintain client state. The Home page links to a Login page containing a form for a username and password. Submitting the form calls the LoginServlet, which validates the credentials against a database using a UserDAO. If valid, the user is redirected to a personalized page welcoming them by name.
Here are a few thoughts on why business rule validation in middleware like the SOA Suite is still useful:
1. Centralized validation. Putting business rules in middleware allows them to be centrally defined and enforced for any service that uses that middleware, rather than requiring each service to implement the same validation logic.
2. Dynamic rules. Business rules may need to change over time as business needs evolve. Middleware rules can be updated without changing individual services.
3. Reusable validation. The same business rules may apply across multiple services. Defining them centrally avoids duplicating validation logic.
4. Standardized validation. Using a standard format like Schematron promotes consistency in how rules are defined and enforced.
This form contains checkboxes for milk, butter, and cheese where butter is checked by default. It also contains radio buttons for the same options where butter is selected. A dropdown menu allows selecting between milk, cheese, and bread.
The document discusses various form elements in HTML including <form>, <input>, <textarea>, <select>, and <marquee>. It provides examples of how to use these elements to create forms, select boxes, text areas, and scrolling text banners. It also covers attributes like type, name, value, size, checked, and others that control the behavior and appearance of the form controls.
This document provides an overview of HTML elements for structuring and presenting content on a webpage. It describes common elements like headings, paragraphs, comments, images, tables, forms, and form controls. For each element, it explains the purpose and provides the basic syntax. It also covers HTML document types and some attributes that can be used to further style and control elements. The document is intended as a tutorial or primer on basic HTML elements and syntax for developing webpages.
This document describes a laboratory work on modeling and analyzing software using the Blockly visual programming environment. It includes the original SVG file code for a circle image, the Blockly blocks generated to code a simple HTML page to draw the circle using Canvas and WebGL, and the JavaScript code for each block.
This document explains how to connect to a database in PHP and insert and select data from tables. It shows how to create a database and table, insert data into the table from HTML forms, and select the stored data to display in an HTML table. Code examples are provided to connect to MySQL, create a database and table, insert data using a form submission, and select the stored data to populate an HTML output table.
The document provides examples of JavaScript code for basic programs including using alert, confirm, and prompt boxes, functions, event handlers, manipulating styles, displaying dates, and opening new windows. It also shows how to integrate JavaScript with HTML and CSS to manipulate the DOM, display images, and change styles on user interactions like clicks and hovers.
This hands-on session will introduce you to Bootstrap, a powerful HTML/CSS framework for developing responsive web sites. Learn how to leverage the various capabilities of this framework to quickly generate HTML prototypes.
Attendees will work through creating a basic consumer web site. We will look at the new layout framework introduced in Bootstrap 3, a variety of web components, and some basic CSS styling.
Don’t worry if writing HTML is outside your comfort zone, this session will take you from the basics to creating impressive web prototypes in no time.
The document is an HTML profit statement. It contains the header, meta tags, scripts, and other code needed to display a blog post on a website. The HTML links to stylesheets that control the design and layout of the page. It also includes scripts for ads and other embedded content. The title of the blog is "Music moves across".
The document discusses 7 common traps that dentists fall into when treating patients:
1) The assessment trap of jumping straight into assessing the problem without understanding the patient's perspective.
2) The expert trap of focusing on giving solutions without involving the patient.
3) The treatment plan trap of making a plan without the patient's input and understanding.
4) The pre-mature focus trap of focusing on fixing the problem before understanding the patient's reasons.
5) The labeling trap of judging or grouping patients without considering individual circumstances.
6) The blaming trap of blaming patients for their conditions or lack of compliance.
7) The chat trap of getting stuck in small talk instead of discussing health issues
El documento presenta un ejemplo de cuadro completado por estudiantes de la Escuela Preparatoria Estatal Número 8 "Carlos Castillo Peraza" en el que describen cómo tres tecnologías de la información y comunicación (TIC), los celulares, las computadoras y los discos multimedia, resuelven problemas cotidianos como la comunicación, la realización de tareas y la comprensión de temas escolares a través de imágenes y videos.
Jhenet Tait, known as Beatz McGee, is a Bronx-based artist and producer. She grew up playing her family's electric keyboard and began producing music in her late teens/early 20s. Significant influences include Michael Jackson, Kanye West, and her mentor Oscar Acevedo. Tait teaches herself new production techniques and creates music daily. Her style draws from artists like Kanye, Timbaland, and Pharrell. She hopes to encourage future generations with her music.
MBA
Managing Beyond Academics:
Based on my observations here are some of the clues and pointers as to what and how students think about their teachers. The idea for doing this to check how well I know my students and connect with them at all levels
Medios de difusión de datos presentacionIreneecondee
Este documento describe los principales medios de difusión de datos para redes, incluyendo cable de cobre, cable coaxial, cable de fibra óptica y medios sin hilos. También explica conceptos básicos de configuración de redes como la dirección MAC, protocolos TCP/IP, y cómo se identifican los equipos a través de las direcciones IP junto con la máscara de subred.
El documento presenta dos listas de palabras en español relacionadas con transporte, lugares y trabajos. El director y el profesor preguntan si se comprenden las palabras como parte de la primera clase de español.
The document describes an online examination application that allows students to enter their details, answer multiple choice questions, and view their results and marks. It uses JSP to insert student data into a database, display the question form, and output the marks sheet. Validation is performed on the form entries before submission to check for empty fields or invalid data.
This document discusses how to delete data from a database through a HTML table front end in PHP. It provides code to connect to a MySQL database, select the database, and define variables from a POST request. If the "del" button is pressed, it deletes the record from the employee table where the name matches the POST variable. It then displays a message and queries the database. It outputs a table with SELECT data. This allows deleting a record from the front end and seeing it removed from the table after selection.
The document describes a Java program to create a color palette applet with the following features:
1. Create a matrix of buttons to display a color palette.
2. Allow the user to select a color from the palette to set the background or foreground of a text area control.
3. Use a checkbox control as radio buttons to select whether the selected color sets the background or foreground.
The algorithm defines the necessary classes and objects, adds the controls to the applet using init(), arranges the controls with setBounds(), sets button backgrounds with setBackground(), adds listeners, and conditionally sets the text area background or foreground based on the checkbox selection.
The document contains 9 programs demonstrating various HTML and JavaScript concepts. Program 1 creates a table with rowspan and columnspan. Program 2 implements unordered, ordered, and definition lists. Program 3 creates a college registration form. Program 4 creates 4 frames to display images. Program 5 creates a login page with form validation. Program 6 loads an image uploaded by the user. Program 7 demonstrates the onload event. Program 8 inserts a node and attribute to the DOM. Program 9 uses regular expressions to replace text in a paragraph.
The document discusses how to update data in a database using PHP. It shows code for connecting to a MySQL database and using an update statement to modify data based on form input. The code displays an HTML form to collect data, submits it to update the database via PHP, and then displays the updated data in a table. It provides an example of updating an employee's designation, salary, and qualifications in the database.
The document discusses a template-based modular architecture for advanced JavaScript applications. It covers key concepts like modular design, modules, templates, and a dispatcher. For modules, it describes elements, encapsulation, and advantages like independence and decomposability. It then covers templates for importing styles, scripts, and HTML. The dispatcher section explains principles like Uniform Module Identifiers and strategies for dispatching and routing. A case study demonstrates system decomposition into modules and their development. The document concludes with discussions around module deployment and performance improvements.
This document describes an example of using URL rewriting and hidden form fields to maintain client state. The Home page links to a Login page containing a form for a username and password. Submitting the form calls the LoginServlet, which validates the credentials against a database using a UserDAO. If valid, the user is redirected to a personalized page welcoming them by name.
Here are a few thoughts on why business rule validation in middleware like the SOA Suite is still useful:
1. Centralized validation. Putting business rules in middleware allows them to be centrally defined and enforced for any service that uses that middleware, rather than requiring each service to implement the same validation logic.
2. Dynamic rules. Business rules may need to change over time as business needs evolve. Middleware rules can be updated without changing individual services.
3. Reusable validation. The same business rules may apply across multiple services. Defining them centrally avoids duplicating validation logic.
4. Standardized validation. Using a standard format like Schematron promotes consistency in how rules are defined and enforced.
This form contains checkboxes for milk, butter, and cheese where butter is checked by default. It also contains radio buttons for the same options where butter is selected. A dropdown menu allows selecting between milk, cheese, and bread.
The document discusses various form elements in HTML including <form>, <input>, <textarea>, <select>, and <marquee>. It provides examples of how to use these elements to create forms, select boxes, text areas, and scrolling text banners. It also covers attributes like type, name, value, size, checked, and others that control the behavior and appearance of the form controls.
This document provides an overview of HTML elements for structuring and presenting content on a webpage. It describes common elements like headings, paragraphs, comments, images, tables, forms, and form controls. For each element, it explains the purpose and provides the basic syntax. It also covers HTML document types and some attributes that can be used to further style and control elements. The document is intended as a tutorial or primer on basic HTML elements and syntax for developing webpages.
This document describes a laboratory work on modeling and analyzing software using the Blockly visual programming environment. It includes the original SVG file code for a circle image, the Blockly blocks generated to code a simple HTML page to draw the circle using Canvas and WebGL, and the JavaScript code for each block.
This document explains how to connect to a database in PHP and insert and select data from tables. It shows how to create a database and table, insert data into the table from HTML forms, and select the stored data to display in an HTML table. Code examples are provided to connect to MySQL, create a database and table, insert data using a form submission, and select the stored data to populate an HTML output table.
The document provides examples of JavaScript code for basic programs including using alert, confirm, and prompt boxes, functions, event handlers, manipulating styles, displaying dates, and opening new windows. It also shows how to integrate JavaScript with HTML and CSS to manipulate the DOM, display images, and change styles on user interactions like clicks and hovers.
This hands-on session will introduce you to Bootstrap, a powerful HTML/CSS framework for developing responsive web sites. Learn how to leverage the various capabilities of this framework to quickly generate HTML prototypes.
Attendees will work through creating a basic consumer web site. We will look at the new layout framework introduced in Bootstrap 3, a variety of web components, and some basic CSS styling.
Don’t worry if writing HTML is outside your comfort zone, this session will take you from the basics to creating impressive web prototypes in no time.
The document is an HTML profit statement. It contains the header, meta tags, scripts, and other code needed to display a blog post on a website. The HTML links to stylesheets that control the design and layout of the page. It also includes scripts for ads and other embedded content. The title of the blog is "Music moves across".
The document discusses 7 common traps that dentists fall into when treating patients:
1) The assessment trap of jumping straight into assessing the problem without understanding the patient's perspective.
2) The expert trap of focusing on giving solutions without involving the patient.
3) The treatment plan trap of making a plan without the patient's input and understanding.
4) The pre-mature focus trap of focusing on fixing the problem before understanding the patient's reasons.
5) The labeling trap of judging or grouping patients without considering individual circumstances.
6) The blaming trap of blaming patients for their conditions or lack of compliance.
7) The chat trap of getting stuck in small talk instead of discussing health issues
El documento presenta un ejemplo de cuadro completado por estudiantes de la Escuela Preparatoria Estatal Número 8 "Carlos Castillo Peraza" en el que describen cómo tres tecnologías de la información y comunicación (TIC), los celulares, las computadoras y los discos multimedia, resuelven problemas cotidianos como la comunicación, la realización de tareas y la comprensión de temas escolares a través de imágenes y videos.
Jhenet Tait, known as Beatz McGee, is a Bronx-based artist and producer. She grew up playing her family's electric keyboard and began producing music in her late teens/early 20s. Significant influences include Michael Jackson, Kanye West, and her mentor Oscar Acevedo. Tait teaches herself new production techniques and creates music daily. Her style draws from artists like Kanye, Timbaland, and Pharrell. She hopes to encourage future generations with her music.
MBA
Managing Beyond Academics:
Based on my observations here are some of the clues and pointers as to what and how students think about their teachers. The idea for doing this to check how well I know my students and connect with them at all levels
Medios de difusión de datos presentacionIreneecondee
Este documento describe los principales medios de difusión de datos para redes, incluyendo cable de cobre, cable coaxial, cable de fibra óptica y medios sin hilos. También explica conceptos básicos de configuración de redes como la dirección MAC, protocolos TCP/IP, y cómo se identifican los equipos a través de las direcciones IP junto con la máscara de subred.
El documento presenta dos listas de palabras en español relacionadas con transporte, lugares y trabajos. El director y el profesor preguntan si se comprenden las palabras como parte de la primera clase de español.
The ROLEC DH90 and DH180 units use an Ampco SBI pump to recirculate beer through a fermenter while simultaneously introducing hop pellets. The pellets are held in a pressurized chamber that is purged with carbon dioxide. The shear pump creates pressure differences to induce the pellets into the beer. The units have features like sight glasses and gauges to monitor induction and pressure. They are portable, sanitary, and can be cleaned in place without additional equipment.
El documento informa sobre la presentación de la ONG Techo en el Congreso de la Nación, donde reveló que existen 28 asentamientos informales en Pilar donde viven aproximadamente 9.035 familias. La organización realizó un relevamiento en la provincia y encontró 1.046 asentamientos con 327 mil familias. La coordinadora de Techo en Pilar señaló que la solución a este problema requiere de un trabajo de años.
This document summarizes a study on professionals' perceptions of how dual diagnosis (mental illness and substance abuse) is managed in Limerick, Ireland. The study found: 1) Dual diagnosis is common, affecting 30-70% of clients, but Ireland lacks research on managing it; 2) Professionals feel services regularly refuse clients due to substance abuse and lack holistic treatment; 3) Barriers include poor communication, training, and policies between mental health and addiction services. The study concludes Ireland must establish integrated treatment guidelines and policies to effectively manage dual diagnosis.
El documento lista 7 tipos de documentación que los docentes construyen anualmente como parte de su ejercicio profesional. Estos incluyen: 1) el plan anual, 2) planes de bloque curricular, 3) planes de clase, 4) planes de refuerzo académico, 5) planes de tutoría, 6) informes de aprendizaje parciales e informes cuatrimestrales, y 7) actas de juntas de docentes de grado o curso. Cada tipo de documento tiene un propósito específico relacionado con la planific
WriteyBoard produces stick-on dry erase boards and whiteboard paint that can transform any smooth surface into a dry erase surface. The company was started to address the lack of available whiteboard space for students. WriteyBoard now offers stick-on dry erase boards and whiteboard paint that provides a low-cost and flexible solution for collaboration in offices, schools, and homes. The document discusses WriteyBoard's product lines and how they provide an affordable and versatile alternative to traditional whiteboards.
Concept of National Income with GDP GNP NNP& NDPAnkit Singh
It is the detailed study of National Income in a macro economics of a country with the methods of its measurement and concepts related to it like Gross Domestic Product, Gross National Product, Net Domestic Product, Net National Product.
Mobile App Marketing Trends & Strategies for Asia - ARPU, App Store Rank Data...appsasia
In our research you will find this data per country:
Average ARPU, Market Share and Size, Top Genre's in the Top 25 (iOS & Android), Expected daily downloads and revenue for Top 1, Top 5, Top 10, Top 25 and Top 50 for Google, iOS and iPad.
Countries covered in this research are: Korea, Japan, China, Taiwan, Hong Kong, Singapore, US, UK, Germany & France.
Hopefully this research will help you in your global mobile marketing strategy.
This document provides a summary of HTML5 in Dutch. It discusses the history and evolution of HTML standards from HTML 2.0 to HTML5. It describes several new HTML5 features such as video, audio, canvas, and geolocation. It also covers HTML5 form elements, local storage, and CSS3 features like media queries and fonts. The document emphasizes using HTML5 elements and attributes for their semantic meaning to improve accessibility and search engine optimization.
The document is a HTML document written in Spanish. It contains metadata tags providing information about the document such as the title being "Cancer de prostata", description of the document, keywords, character encoding, and links to style sheets and scripts.
Presentasi ini dibuat untuk membuat Curriculum VItae dengan HTML menggunakan Aplikasi Dreamweaver 8. Presentasi ini dibuat untuk memenuhi Tugas Matakuliah Ilmu Sosial Dasar
This document contains guidance on making web content more accessible. It discusses techniques for improving the structure and semantics of HTML documents, such as: using headings, landmarks and navigation to improve the reading order; adding text alternatives to non-text content; and marking required form fields. It also provides tips for internationalizing content and supporting different languages. The overall goal is to make web pages easier for all users to navigate, understand and perceive regardless of disability or browser/device used.
Rails, Postgres, Angular, and Bootstrap: The Power StackDavid Copeland
Rails, Postgres, Angular, and Bootstrap are all powerful technologies in and of themselves. When used together, however, you get a powerful web application development stack that reduces friction between what you want for your users and what you can deliver.
This document is the HTML code for a webpage containing a presentation on the states of matter. The presentation includes 5 slides and uses Adobe Flash player to display the slides. Key information included in the page are the title of the presentation "Los Estados De La Materia", the author "apelaez9009", and advertising scripts from Google AdSense.
The document provides examples and solutions for JSP scripts. It includes 3 examples: 1) Developing a JSP script to display a product catalog, 2) Developing a JSP script demonstrating inheritance with book classes, and 3) Developing a JSP script to accept user input and save it to a file. Each example includes the JSP script code, any relevant Java classes, and a brief description of the solution.
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...Mario Heiderich
The clipboard is one of the most commonly used tools across operating systems, window managers and devices. Pressing Ctrl-C and Ctrl-V has become so fundamentally important to productivity and usability that we cannot get rid of it anymore. We happily and often thoughtlessly copy things from one source and paste them into another. URLs into address-bars, lengthy commands into console windows, text segments into web editors and mail interfaces. And we never worry about security when doing so. Because what could possibly go wrong, right?
But have we ever asked ourselves what the clipboard content actually consists of? Do we really know what it contains? And are we aware of the consequences a thoughtless copy&paste interaction can have? Who else can control the contents of the clipboard? Is it really just us doing Ctrl-C or is there other forces in the realm who are able to infect what we believe to be clean, who can desecrate what we trust so blindly that we never question or observe it?
This talk is about the clipboard and the technical details behind it. How it works, what it really contains – and who can influence its complex range of contents. We will learn about a new breed of targeted attacks, including cross-application XSS from PDF, ODT, DOC and XPS that allow to steal website accounts faster than you can click, turn your excel sheet into a monster and learn about ways to smuggle creepy payload that is hidden from sight until it executes. Oh, and we’ll also see what can be done about that and what defensive measures we achieved to create so far.
The document appears to be a website for a gaming company called Ubisoft. It includes pages for the home, about, contact, games, and shop sections of the site. Each page contains navigation links to the other pages, images related to gaming, and text describing Ubisoft and highlighting various games.
2001: Bridging the Gap between RSS and Java Old School StyleRussell Castagnaro
Before things had really caught on with Atom, RSS etc. There were many people looking for ways to handle Syndicated content. This was a pretty successful talk that I ended up giving quite a bit.
This document contains code for a program that allows users to enter personal data like names, addresses, phone numbers and emails. It has buttons to perform actions like New, Save, Cancel, Delete and Clear. The code is written in HTML and Visual Basic using Visual Studio 2012. There are different forms for the main connection page and other classes like students, schools, faculties, registrations and suggestions. The program works with a database and file.
This document provides an outline and overview of client-side technologies including JavaScript, DOM, and jQuery. The outline covers JavaScript concepts like data types, control structures, arrays, functions, and objects. It also covers DOM levels and manipulating the DOM. Finally, it discusses jQuery and how to load, select elements, handle events, and more. The presentation aims to familiarize students with these important front-end technologies.
This document provides an outline and overview of client-side technologies including JavaScript, DOM, and jQuery. The outline includes sections on JavaScript concepts like data types, control structures, arrays, functions, and objects. It also covers DOM levels and manipulating the DOM, as well as introductions to jQuery for selecting elements, changing styles, and handling events. The presentation provides an overview of these key client-side technologies for students.
Internet and Web Technology (CLASS-8) [jQuery and JSON] | NIC/NIELIT Web Tech...Ayes Chinmay
This document provides an overview of various web technologies including XML, AJAX, jQuery, JSON, and React.js. It discusses key concepts such as XML structures and validation, the XMLHttpRequest object, jQuery selectors and DOM manipulation, JSON syntax and parsing, and basic React introductions and components. Code examples are also provided to demonstrate jQuery DOM selection, CSS styling, animations, JSON parsing and arrays, and React rendering.
2. CSS Chapter Roadmap and Full Source Code.pdfBdBangladesh
The document contains code examples demonstrating various CSS techniques for styling HTML elements, including inline, internal, and external CSS, use of classes and IDs for styling, box model properties like padding, border, and margin, background properties, text formatting, positioning, and image sprites. Key CSS properties and concepts like floats, positioning, and display types are also covered through multiple code examples.
The document is a HTML page for a presentation on SlideShare titled "El Tiempo Nos Enseña". It includes metadata such as the title, description, creator, and embedded scripts for ads and analytics. The page also contains headings, navigation menus, and placeholders for advertising slots to be filled.
This document provides an overview of several JavaScript topics including:
- A 3-part webinar series covering JavaScript history, standards, IDEs, data types, arrays, objects, regular expressions, OOP, and working with the DOM.
- Examples of adding click handlers to buttons and divs, submitting HTML forms with JavaScript, and using the load and other events.
- Working with the window, screen, and document objects, and methods like getElementById.
- Mouse events like mousedown, mouseup, mousemove. Keyboard events and timers.
- Making AJAX requests with raw XMLHttpRequest and jQuery.
This document is the HTML code for the Yahoo Mail homepage. It includes code for page elements like the header, sidebar, notifications, and different sections of the mail interface. The HTML lays out the structure and styling of the various page components through elements, classes, IDs and linked CSS/JavaScript files.
This presentation by OECD, OECD Secretariat, was made during the discussion “Artificial Intelligence, Data and Competition” held at the 143rd meeting of the OECD Competition Committee on 12 June 2024. More papers and presentations on the topic can be found at oe.cd/aicomp.
This presentation was uploaded with the author’s consent.
XP 2024 presentation: A New Look to Leadershipsamililja
Presentation slides from XP2024 conference, Bolzano IT. The slides describe a new view to leadership and combines it with anthro-complexity (aka cynefin).
This presentation by Nathaniel Lane, Associate Professor in Economics at Oxford University, was made during the discussion “Pro-competitive Industrial Policy” held at the 143rd meeting of the OECD Competition Committee on 12 June 2024. More papers and presentations on the topic can be found at oe.cd/pcip.
This presentation was uploaded with the author’s consent.
This presentation by Professor Giuseppe Colangelo, Jean Monnet Professor of European Innovation Policy, was made during the discussion “The Intersection between Competition and Data Privacy” held at the 143rd meeting of the OECD Competition Committee on 13 June 2024. More papers and presentations on the topic can be found at oe.cd/ibcdp.
This presentation was uploaded with the author’s consent.
This presentation by Tim Capel, Director of the UK Information Commissioner’s Office Legal Service, was made during the discussion “The Intersection between Competition and Data Privacy” held at the 143rd meeting of the OECD Competition Committee on 13 June 2024. More papers and presentations on the topic can be found at oe.cd/ibcdp.
This presentation was uploaded with the author’s consent.
This presentation by Katharine Kemp, Associate Professor at the Faculty of Law & Justice at UNSW Sydney, was made during the discussion “The Intersection between Competition and Data Privacy” held at the 143rd meeting of the OECD Competition Committee on 13 June 2024. More papers and presentations on the topic can be found at oe.cd/ibcdp.
This presentation was uploaded with the author’s consent.
This presentation by Thibault Schrepel, Associate Professor of Law at Vrije Universiteit Amsterdam University, was made during the discussion “Artificial Intelligence, Data and Competition” held at the 143rd meeting of the OECD Competition Committee on 12 June 2024. More papers and presentations on the topic can be found at oe.cd/aicomp.
This presentation was uploaded with the author’s consent.
This presentation by OECD, OECD Secretariat, was made during the discussion “Pro-competitive Industrial Policy” held at the 143rd meeting of the OECD Competition Committee on 12 June 2024. More papers and presentations on the topic can be found at oe.cd/pcip.
This presentation was uploaded with the author’s consent.
• For a full set of 530+ questions. Go to
https://skillcertpro.com/product/servicenow-cis-itsm-exam-questions/
• SkillCertPro offers detailed explanations to each question which helps to understand the concepts better.
• It is recommended to score above 85% in SkillCertPro exams before attempting a real exam.
• SkillCertPro updates exam questions every 2 weeks.
• You will get life time access and life time free updates
• SkillCertPro assures 100% pass guarantee in first attempt.
This presentation by Professor Alex Robson, Deputy Chair of Australia’s Productivity Commission, was made during the discussion “Competition and Regulation in Professions and Occupations” held at the 77th meeting of the OECD Working Party No. 2 on Competition and Regulation on 10 June 2024. More papers and presentations on the topic can be found at oe.cd/crps.
This presentation was uploaded with the author’s consent.
Carrer goals.pptx and their importance in real lifeartemacademy2
Career goals serve as a roadmap for individuals, guiding them toward achieving long-term professional aspirations and personal fulfillment. Establishing clear career goals enables professionals to focus their efforts on developing specific skills, gaining relevant experience, and making strategic decisions that align with their desired career trajectory. By setting both short-term and long-term objectives, individuals can systematically track their progress, make necessary adjustments, and stay motivated. Short-term goals often include acquiring new qualifications, mastering particular competencies, or securing a specific role, while long-term goals might encompass reaching executive positions, becoming industry experts, or launching entrepreneurial ventures.
Moreover, having well-defined career goals fosters a sense of purpose and direction, enhancing job satisfaction and overall productivity. It encourages continuous learning and adaptation, as professionals remain attuned to industry trends and evolving job market demands. Career goals also facilitate better time management and resource allocation, as individuals prioritize tasks and opportunities that advance their professional growth. In addition, articulating career goals can aid in networking and mentorship, as it allows individuals to communicate their aspirations clearly to potential mentors, colleagues, and employers, thereby opening doors to valuable guidance and support. Ultimately, career goals are integral to personal and professional development, driving individuals toward sustained success and fulfillment in their chosen fields.
This presentation by OECD, OECD Secretariat, was made during the discussion “The Intersection between Competition and Data Privacy” held at the 143rd meeting of the OECD Competition Committee on 13 June 2024. More papers and presentations on the topic can be found at oe.cd/ibcdp.
This presentation was uploaded with the author’s consent.
This presentation by OECD, OECD Secretariat, was made during the discussion “Competition and Regulation in Professions and Occupations” held at the 77th meeting of the OECD Working Party No. 2 on Competition and Regulation on 10 June 2024. More papers and presentations on the topic can be found at oe.cd/crps.
This presentation was uploaded with the author’s consent.
1.) Introduction
Our Movement is not new; it is the same as it was for Freedom, Justice, and Equality since we were labeled as slaves. However, this movement at its core must entail economics.
2.) Historical Context
This is the same movement because none of the previous movements, such as boycotts, were ever completed. For some, maybe, but for the most part, it’s just a place to keep your stable until you’re ready to assimilate them into your system. The rest of the crabs are left in the world’s worst parts, begging for scraps.
3.) Economic Empowerment
Our Movement aims to show that it is indeed possible for the less fortunate to establish their economic system. Everyone else – Caucasian, Asian, Mexican, Israeli, Jews, etc. – has their systems, and they all set up and usurp money from the less fortunate. So, the less fortunate buy from every one of them, yet none of them buy from the less fortunate. Moreover, the less fortunate really don’t have anything to sell.
4.) Collaboration with Organizations
Our Movement will demonstrate how organizations such as the National Association for the Advancement of Colored People, National Urban League, Black Lives Matter, and others can assist in creating a much more indestructible Black Wall Street.
5.) Vision for the Future
Our Movement will not settle for less than those who came before us and stopped before the rights were equal. The economy, jobs, healthcare, education, housing, incarceration – everything is unfair, and what isn’t is rigged for the less fortunate to fail, as evidenced in society.
6.) Call to Action
Our movement has started and implemented everything needed for the advancement of the economic system. There are positions for only those who understand the importance of this movement, as failure to address it will continue the degradation of the people deemed less fortunate.
No, this isn’t Noah’s Ark, nor am I a Prophet. I’m just a man who wrote a couple of books, created a magnificent website: http://www.thearkproject.llc, and who truly hopes to try and initiate a truly sustainable economic system for deprived people. We may not all have the same beliefs, but if our methods are tried, tested, and proven, we can come together and help others. My website: http://www.thearkproject.llc is very informative and considerably controversial. Please check it out, and if you are afraid, leave immediately; it’s no place for cowards. The last Prophet said: “Whoever among you sees an evil action, then let him change it with his hand [by taking action]; if he cannot, then with his tongue [by speaking out]; and if he cannot, then, with his heart – and that is the weakest of faith.” [Sahih Muslim] If we all, or even some of us, did this, there would be significant change. We are able to witness it on small and grand scales, for example, from climate control to business partnerships. I encourage, invite, and challenge you all to support me by visiting my website.
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdfBen Linders
Psychological safety in teams is important; team members must feel safe and able to communicate and collaborate effectively to deliver value. It’s also necessary to build long-lasting teams since things will happen and relationships will be strained.
But, how safe is a team? How can we determine if there are any factors that make the team unsafe or have an impact on the team’s culture?
In this mini-workshop, we’ll play games for psychological safety and team culture utilizing a deck of coaching cards, The Psychological Safety Cards. We will learn how to use gamification to gain a better understanding of what’s going on in teams. Individuals share what they have learned from working in teams, what has impacted the team’s safety and culture, and what has led to positive change.
Different game formats will be played in groups in parallel. Examples are an ice-breaker to get people talking about psychological safety, a constellation where people take positions about aspects of psychological safety in their team or organization, and collaborative card games where people work together to create an environment that fosters psychological safety.
This presentation by Yong Lim, Professor of Economic Law at Seoul National University School of Law, was made during the discussion “Artificial Intelligence, Data and Competition” held at the 143rd meeting of the OECD Competition Committee on 12 June 2024. More papers and presentations on the topic can be found at oe.cd/aicomp.
This presentation was uploaded with the author’s consent.
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Web programming
1. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
1)The document must have a paragraph of text that describes yourhome. Choose at least three
different phrases (3 to 6 words) of this paragraph and make them change font, font style,
color and font size when the mouse cursor is placed over them. Each of the different phrases
must change to different fonts, font styles, colors and font sizes.
<!-------changecolorfont------>
<?xml version="1.0" encoding="utf-8"?>
<html>
<head>
<title>Dynaamic fonts for link</title>
<style type="text/css">
.regText{font:Times;font-size:14pt;}
</style>
</head>
<body>
<p clss="regText">
My Home Name Is
<b style="color:blue;"
onmouseover="this.style.color='red';
this.style.font='italic 16pt Tahoma';"
onmouseout="this.style.color='blue';
this.style.font='normal 16pt Times';">
Basava Krupa
</b>.It is lacated nearby Govt polytechnic college,
In Basav nagar,
<b style="color:blue;"
onmouseover="this.style.color='orange';
this.style.font='bold 16pt Arial';"
onmouseout="this.style.color='blue';
this.style.font='normal 16pt Times';">
Bijapur
2. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
</b>.My house is facing Towards
<b style="color:pink;"
onmouseover="this.style.color='red';
this.style.font='italic 16pt Tahoma';"
onmouseout="this.style.color='blue';
this.style.font='normal 16pt Times';">
East
</b>.It is double bed home.there is a 16 foot road in front of
the home.
There is a sufficient place for
<b style="color:brown;"
onmouseover="this.style.color='yellow';
this.style.font='italic 16pt Tahoma';"
onmouseout="this.style.color='blue';
this.style.font='normal 16pt Times';">
gardening
</b>.and car motor cycle parking,it is built in the
<u style="color:gray;"
onmouseover="this.style.color='brown';
this.style.font='italic 16pt Tahoma';"
onmouseout="this.style.color='blue';
this.style.font='normal 16pt Times';">
Area 45x40 squire foot
</u>.
</p>
</body>
</html>
4. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
2)The document must contain fourshort paragraphs of text stacked on top of each other with
only enough of each showing so that the mouse cursor can also be placed oversome part of
them. When the cursor is placed over the exposed part of any paragraph it should raise to the
top to become completely visible.
<!----Stcking.html---->
<?xml version="1.0" encoding="utf-8"?>
<html>
<head>
<title>Dynamic stackin Paragraph</title>
<script type="text/javascript" src="stacking.js">
</script>
<style type="text/css">
.para1 {color:red;position:absolute; top: 10px; left: 10px;
z-index: 0;background-color:yellow}
.para2 {color:green;position:absolute; top: 30px; left: 100px;
z-index: 0;background-color:gray}
.para3 {color:black;position:absolute; top: 50px; left: 200px;
z-index: 0;background-color:white}
.para4 {color:brown;position:absolute; top: 70px; left: 300px;
z-index: 0;background-color:pink}
</style>
</head>
<body>
<p class="para1" id='p1' onmouseover="toTop('p1');">
A dynamic Xhtml document,which can be modifiedeither
while it is being displayed or after it has been
displayed.
more Specifically,A dynamic xhtml is one whose tag attributes,
tag contents are elements stylemore Specifically,A dynamic xhtml is
one whose tag attributes, tag contents are elements style
5. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
properties can changed after the documents has been displayed
or while is being displayed.
</p>
<p class="para2" id='p2' onmouseover="toTop('p2');">
The default layout of XHTML elements in the documents is from left
to right
in the way text is placed in any text editor . when the row is filled ,laying out
The default layout of XHTML elements in the documents is from left
to right
in the way text is placed in any text editor . when the row is filled ,laying out
</p>
<p class="para3" id='p3' onmouseover="toTop('p3');">
A dynamic Xhtml document,which can be modifiedeither
while it is being displayed or after it has been displayed.
more Specifically,A dynamic xhtml is one whose tag attributes,
tag contents are elements style
properties can changed after the documents has been displayedor while is being displayed.
</p>
<p class="para4" id='p4' onmouseover="toTop('p4');">
A dynamic Xhtml document,which can be modifiedeither
while it is being displayed or after it has been displayed.
more Specifically,A dynamic
xhtml is one whose tag attributes,
tag contents are elements style
properties can changed after the documents has been displayedor while is being displayed.
</p>
</body>
</html>//stacking.js
var oldTop="p1";
function toTop(newTop)
6. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
{
domTop = document.getElementById(oldTop).style;
domNew = document.getElementById(newTop).style;
domTop.zIndex = "0";
domNew.zIndex = "10";
oldTop = newTop;
}
**OUTPUT**
8. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
3)The document should have a small image of yourself, which must appear when the mouse
button is clicked at the position of the mouse cursor, regardless of the position of the cursorat
the time.
<!----move.html----->
<?xml version="1.0" encoding="utf-8" ?>
<html>
<head>
<script type="text/javascript" src="move.js">
</script>
</head>
<body onmousedown="display(event);">
<img id="myimage"
style="position:absolute; left=10; top=10;"
src="mycar.jpg"
alt="May car"
width=200 height=200 />
</body>
</html>
//move.js
function display(evt)
{
var dom=document.getElementById("myimage");
dom.style.left=evt.clientX+"px";
dom.style.top=evt.clientY+"px";
}
10. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
4)The document must contain the statement “Save time with TIMESAVER 2.2”, which
continuously moves back and forth across the top of the display
<!----movetext.html---->
<?xml version="1.0" encoding="utf-8"?>
<html>
<body>
<script type="text/JavaScript">
mesg="save time with TIMESAVER 2.2";
isNS= (navigator.appName=="Netscape")
isIE= (navigator.appName=="Microsoft Internet Explorer")
text=("<i><font size=2>"+mesg+"</font></i>")
if(isNS){
document.write("<blink>" + text + "</blink>")}
else if(isIE){
document.write("<MARQUEE BEHAVIOR=ALTERNATE DIRECTION=RIGHT>" +text+"</MARQUEE>")}
</script>
</body>
</html>
**OUTPUT**
12. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
PART IIXML
5)Design an XML document to store information about patience in a hospital. Information about
patients must include name (in 3 parts, first name, middle name, last name), social security
number (SSN), age, room number, primary insurance company – including member
identification number, group number and address – secondary insurance company (in the same
sub parts as for the primary insurance company), known medical problems, and known drug
allergies. Both attributes and nested tags must be included. Make up sample data of atleast 4
patients.
<?xml version="1.0" encoding="utf-8"?>
<patients>
<patient>
<name>
<fname> Manjunath </fname>
<mname> Sangappa </mname>
<lname> Uppaladinni </lname>
</name>
<ssn> SSN12345 </ssn>
<age> 22 </age>
<room> 123 </room>
<insurance type="primary">
<id> 9945921 </id>
<gno> 413 </gno>
<address> Vijayapur </address>
</insurance>
<insurance type="secondary">
<id> 814784 </id>
<gno> 214 </gno>
<address> Bagalkot </address>
</insurance>
<medproblem> High B.P. </medproblem>
<drugallergie> Nill </drugallergie>
28. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
PART-III PHP
PHP- Write, test and debug PHP scripts for the following specification
9)Parameter - A string of numbers separated by spaces
Return Value – The first 4 digits number in the string; false if none.
<html>
<body>
<?php
function display($str)
{
$words=explode(" ", $str);
$n=$words[0];
$n=substr($n,0,4);
$n=(double) $n;
return $n;
}
$str="1234567 4567785 6784953 8902123";
$n=display($str);
echo $n;
?>
</body>
</html>
30. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
10)Parameter – A file variable of a file of text where the words are separated by spaces or colons
Return value – The word that appears most common in the file.
<?php
function countfrequency($myFile)
{
$fh=fopen($myFile, 'r');
$theData=fread($fh,filesize($myFile));
$theData=eregi_replace(" +", " ", $theData);
$delim=" ";
$words=explode($delim,$theData);
$frequency=array_count_values($words);
$size=sizeof($frequency);
$keys=array_keys($frequency);
$values=array_values($frequency);
for($i=0;$i<$size;$i++)
{
print "<b>$keys[$i]:</b> $values[$i]<br/>";
}
$index=0;
$l=$values[$index];
for($i=1;$i<$size;$i++)
{
if($values[$i]>$l)
{
$l=$values[$i];
$index=$i;
}
}
return $keys[$index];
31. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
}
$myFile="testFile.txt";
$word=countfrequency($myFile);
echo "The word that appears most common is:<b>$word</b>";
?>
//testFile.text
BasavRaj Savalagi BMS Basavaraj Basava BasavRajSavalagi BasavRaj Basava BasavRaj Basava
32. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
11)Write an XHTML document to include an anchor tag, that calls a PHP document also write the
called PHP document which returns a randomly choosen greeting from a list of five different
greetings. The greetings must be stored as constant strings in the script. A random number
between 0 and 4 can be computed with these line.
#set the seed for mtrand with the number of microseconds
#since the last full second of the clock
mt_strand((double) microtime() * 1000000);
$number=mtrand(0,4); #computes a random integer0-4
<!--greeting.html-->
<?xml version="1.0" encoding="utf-8" ?>
<html>
<head>
<title>Preferred Greeting page</title>
</head>
<body>
Do you prefer a formal greeting or an informal greeting?
<a href="greeting.php">Display greeting</a>
</body>
</html>
<!--greeting.php-->
<?php
$greeting=array();
$greeting[0]="Hello ,how are you Mr BasavRaj?";
$greeting[1]="Hi how are you today?";
$greeting[2]="Welcome to the my php page world";
$greeting[3]="Good morning every one";
$greeting[4]="Good evening and Good nigth";
$n=mt_rand(0,4);
echo $greeting[$n];
?>
35. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
11) Write the XHTML code to create the form with the following capabilities
a) A text widget to collect the users name
b) Four check boxes, one each for the following items
i) Four 100 watt light bulbs for Rs. 20=39
ii) Eight 100 watt light bulbs for Rs 40=20
iii) Four 100 watt long life light bulbs for Rs. 30=95
iv) Eight 100 watt long life light bulbs for Rs 70=49
c) A collection of 3 radio buttons that are labeled as follows
i) Visa
ii) Master Card
iii) Discover
<--orderfron.html-->
<?xml version="1.0" encoding="utf-8"?>
<html>
<head>
<title> Order from </title>
</head>
<body>
<form action="">
User name=<input type="text" name="myname" size="30"/> <br/>
select the items: <br/>
<input type="checkbox" name="b[]" value="20.39" checked="checked"/> four 100 watt light <br/>
<input type="checkbox" name="b[]" value="40.20" checked="checked"/> eight 100 watt light <br/>
<input type="checkbox" name="b[]" value="30.39" checked="checked"/> four 100 watt long life
light <br/>
<input type="checkbox" name="b[]" value="70.39" checked="checked"/> eight 100 watt long life
light <br/>
select the mode of the payment:<br/>
<input type="radio" name="paymode" value="visa" checked="checked" />Visa <br/>
<input type="radio" name="paymode" value="Master card" /> Master card <br/>
<input type="radio" name="paymode" value="discover"/> Discover <br/>
<input type="submit" value="Submit Order"/>
<input type="reset" value="Clear the form" />
</form>
37. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
13)Write a PHP script that computes the total cost of the ordered light bulbs from the exercise
12 after adding 13.5% VAT. The program must inform the buyer of exactly what was ordered
in table.
<--orderfrom.html-->
<?xml version="1.0" encoding="utf-8"?>
<html>
<head>
<title> Order from </title>
</head>
<body>
<form method="POST" action="calculate.php">
User name=<input type="text" name="myname" size="30"/> <br/>
select the items: <br/>
<input type="checkbox" name="b[]" value="20.39" checked="checked"/> four 100 watt light <br/>
<input type="checkbox" name="b[]" value="40.20" checked="checked"/> eight 100 watt light <br/>
<input type="checkbox" name="b[]" value="30.39" checked="checked"/> four 100 watt long life light
<br/>
<input type="checkbox" name="b[]" value="70.39" checked="checked"/> eight 100 watt long life
light <br/>
select the mode of the payment:<br/>
<input type="radio" name="paymode" value="Visa" checked="checked" />Visa <br/>
<input type="radio" name="paymode" value="Master card" /> Master card <br/>
<input type="radio" name="paymode" value="Discover"/> Discover <br/>
<input type="submit" value="Submit Order"/>
<input type="reset" value="Clear the form" />
</form>
</body>
</html>
38. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
<!--orderfrom.php-->
<?php
$name=$_POST["myname"];
$bulbs=$_POST["b"];
$pmode=$_POST["paymode"];
print "your name is: $name<br/>";
$total=0;
for($i=0; $i<sizeof($bulbs); $i++)
{
$vat=$bulbs[$i]*0.135;
$total=$total+$bulbs[$i]+$vat;
}
print "the total cost: $total<br/>";
print "your payment mode is by : $pmode";
?>
40. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
14) Write a XHTML code to create a form that collects favorite popularsongs, including the name
of the song, the composer and the performing artist or group. This document must call one PHP
script when the form is submitted and another torequest a current list of survey results
<!--Songform.html-->
<?xml version="1.0" encoding="utf-8"?>
<html>
<head>
<title> Song form </title>
</head>
<body>
<form method="post" action="processform.php">
Song name: <input type="text" name="sname" size="30" /> <br/>
Composer: <input type="text" name="cname" size="20"/> <br/>
Artists: <br/>
<input type="checkbox" name="artist[]" value="Flute Man" checked="checked"/> Flute
Man<br/>
<input type="checkbox" name="artist[]" value="Tabala Man" /> Tabala Man<br/>
<input type="checkbox" name="artist[]" value="Violin Man" /> Violin Man <br/>
<input type="checkbox" name="artist[]" value="support singers" /> Support Singers <br/>
<input type="submit" value="submit form" />
<input type="reset" value="clear form" />
</form>
</body>
</html>
<!--Processform.php-->
<?php
$songname=$_POST["sname"];
$compname=$_POST["cname"];
$artists=$_POST["artist"];
41. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
print "song name is: $songname <br/> ";
print "composer is: $compname <br/>" ;
print "artists: <br/>";
for($i=0; $i<sizeof($artists); $i++)
{
print "$artists[$i] <br/>";
}
?>
**OUTPUT**
42. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
15)Write a XHTML code to provide a form that collects names and telephone numbers. The
phone numbers must be in the format ddd-ddd-dddd. Write a PHP script that checks the
submitted telephone number to be sure that it confirms to the required format and then
returns a response that indicates whether the number was correct.
<!--Phoneform.html-->
<?xml version="1.0" encoding="utf-8"?>
<html>
<head>
</head>
<body>
<form method="post" action="validate.php">
Name:<input type="text" name="uname" size="30"/> <br/>
Telephone Number:<input type="text" name="phone" size="20"/> <br/>
<input type="submit" value="Submit Form"/>
<input type="reset" value="clear form"/>
</form>
</body>
</html>
<!--validate.php-->
<?php
$name=$_POST["uname"];
$phon=$_POST["phone"];
if(ereg("([0-9]{3})-([0-9]{3})-([0-9]{4})", $phon))
{
print "phone number entered is correct";
}
else
{
print "phone number entered is incorrect";
45. Government Polytechnic Vijayapur 2016 Dept. of computer science and Engg.
16)Modify the PHP script of exercise 11 to count the numberof visitors and display that number
for each visitor
Hint: Use a file to store current count.
<!--countvisitors.php-->
<?php
$count = file_get_contents("count.txt");
$count = explode("=", $count);
$count[1] =$count[1]+1;
$file = fopen("count.txt", "w+");
fwrite($file, "count=".$count[1]);
fclose($file);
print "Total number of visitors=".$count[1];
?>
**OUTPUT**