Skip to main content

Posts

Showing posts from December, 2016

HTML CSS-Week 4

4.Write an HTML page that contains a selection box with a list of 5 countries. When the user selects a country, its capital should be printed next to the list. Add CSS to customize the properties of the font of the capital (color, bold and font size). <html>           <head>           <title>WT Lab Experiment-4</title>           <style>           #cc {           color: red;           font: 20px verdana;           font-weight: bold;           } </style> <script> function getCapital() {           var x;           ...

HTML forms-Week 3

   Write an HTML page that has one input, which can take multi-line text and a submit button. Once the user clicks the submit button, it should show the number of characters, words and lines in the text entered using an alert message. Words are separated with white space and lines are separated with new line character. <html>         <head>         <title>WT Lab Experiment-3</title>         <script type="text/javascript">         var cnt;         function wordcount(count) {         var words = count.split(/\s/);         var lines = count.split("\n").length;         cnt = words.length;         document.getElementBy...

First HTML Page-week 2

         1.     Write an HTML page including any required JavaScript that takes a number from one text field in the range of 0 to 999 and shows it in another text field in words. If the number is out of range, it should show "out of range" and if it is not a number, it should show "not a number" message in the result box. <html>         <head>         <title>WT Lab Experiment-2</title>         </head>         <body>         <pre><b> Input Box : <input type="text" name="t1" id="t1"> <input type="button" onclick=test() value="Submit"><br> Result Box : <input type="text" name="t2" id="t2"><br>         </b></pre>     ...

Web Technologies

1.   Installation of Apache Tomcat Web Server for JSP & Servlets and Tomcat Server for PHP and MySQL Database. Refer Unit1,3 & 4 for installation of Apache Tomcat Web Server for JSP, Servlets & PHP. Download the MySQL database from the MySQL website sql  and install it.