Professional Documents
Culture Documents
DEPARTMENT OF INFORMATION TECHNOLOGY Subject: Web Administration College Roll No: IT/10/10605 Name: Ankit Dixit Subject Code: IT-324 Univ. Roll No: 100420825160 Group: x-1
EXPERIMENT-1
CREATE A SIMPLE HTML DOCUMENT USING BASIC TAGS
<html> <head> <marquee>simple html document</marquee> </head> <body> <para> <pre> body of the document starts here!</pre> </para> <para> start to second paragraph! </para> </body> </html>
OUTPUT
EXPERIMENT-2
TO IMPLEMENT EXTERNAL LINKING AMONGST PAGES
<html> <head> <b>simple html document</b> </head> <body> <a href="c:\documents and settings\admn\desktop\linked.html"> link to next page </a> </body> </html>
OUTPUT:
EXPERIMENT-3
IMPLEMENATION OF IMAGE MAPS
<html> <head> MAP EXAMPLE </HEAD> <body> <map name="wuthering_heights"> <area shape="rect" coords="17,17,371,528" href="C:\Documents and Settings\admn\Desktop\linked.html"> </map> <br> <img src="C:\Documents and Settings\admn\Desktop\images\1.jpg" usemap="#wuthering_heights"> </img> </body> </html>
OUTPUT:
EXPERIMENT-4 TO SHOW INTERNAL LINKING AMONG PAGES <html> <head> WELCOME! </head> <body > <a name="top"> <table border=1 cellspacing=4 cellpadding=2 width=50% align="left"> <tr> <font size=8> this is top of page </font> <br><br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br><br><br> <TD> the bottom of page </td> <td> <a href="#top">GOTO TOP OF PAGE</a></BR> </TD> </tr> </table> <a href="C:\Documents and Settings\admn\Desktop\ankit2\pg2.html">GO BACK</a> </body> </html>
OUTPUT:
EXPERIMENT-5 CREATION OF FRAMES IN HTML <HTML> <FRAMESET COLS="50%,*"> <FRAME SRC="C:\Documents and Settings\admn\Desktop\LINK.HTML"> </FRAME> <FRAME SRC="C:\Documents and Settings\admn\Desktop\LINKED.HTML"> </FRAME> </FRAME> </HTML>
OUTPUT:
EXPERIMENT-6 TABLE CREATION IN HTML <html> <head> <font size =10 >WELCOME!</font> </head> <body > <a name="top"> <table border=1 cellspacing=4 cellpadding=2 width=50% align="left"> <tr> <th>TITLE</TH> <th>PRICE( IN RUPEES)</th> </tr> <tr > <td>THE MERCHANT OF VENICE</Td> <td>550</td> </tr> <tr> <td>JULIUS CEASER</Td> <td>1275</td> </tr> <tr> <td>A MIDNIGHT'S SUMMER DREAM</Td> <td>995</td> </tr> <tr> <td>TAMING THE SHREW</Td> <td>199</td>
</tr> <tr> <td>PRINCE HAMLET</Td> <td>999</td> </tr> <tr> <td>KING LEAR</Td> <td>899</td> </tr> <tr> <a href="#top">GOTO TOP OF PAGE</a></BR> </tr> </table> <a href="C:\Documents and Settings\admn\Desktop\ankit2\pg2.html">GO BACK</a> </body> </html>
OUTPUT:
EXPERIMENT-7 USING LISTS IN HTML <HTML> <HEAD> IMPLEMENTING LISTS </HEAD> <BODY><font size=6> <ol>Beverages <li>Coffee</li> <li>Milk</li> </ol> <ul>Beverages <li>Coffee</li> <li>Milk</li> </ul> </font> </BODY> </HTML>
OUTPUT:
EXPERIMENT-8 FORM DESIGN IN HTML <HTML> <HEAD><B> FORM DESIGN </B> </HEAD> <BODY> <form> First name: <input type="text" name="firstname"> <br> Last name: <input type="text" name="lastname"> <br> <input type="radio" name="sex" value="male"> Male <br> <input type="radio" name="sex" value="female"> Female <br> I have a bike: <input type="checkbox" name="vehicle" value="Bike"> <br> I have a car: <input type="checkbox" name="vehicle" value="Car"> <br> I have an airplane: <input type="checkbox" name="vehicle" value="Airplane"> <br> <input type="button" name="button1" value="SUBMIT"> <BR>
</BODY> </HTML>
OUTPUT:
EXPERIMENT-9 HTML WEB SITE PAGE1: <html> <head> <marquee> <big><font size=8 color="red">ROAD TO THE CLASSICS</font></big> </MARQUEE> </head> <body bgcolor="blue"> <font size=5 color="yellow" > <pre> This is a site that will take you back to the magic of books. Timeless masterpieces created by the best and the most elite of authors the world has ever layed eyes on. REVIVE THE MAGIC of the thrills,the romances,the tragedies,the sagas and myriad shades of life that these books encapture. Available in latest unabridged editions with new prefaces and explanatory notes. </pre></font> <table> <tr bgcolor="red"> <pre> <A href="C:\Documents and Settings\admn\desktop\pg2.html"><b>Click for Details</b></A> </pre> </tr> <tr>
PAGE 2: <html> <head> <font size=8 color="yellow"> <big>AUTHORS</big></font> </head> <body bgcolor="green"> <table width=50% cellpadding=4 align="left" cellspacing=5> <tr bgcolor="green"> <a href="C:\Documents and Settings\admn\Desktop\pg3.html"> <font size=5 color="yellow">JANE AUSTEN</font></a> <td colspan=3> <img src="C:\Documents and Settings\admn\Desktop\images\5.jpg" border=0> </img> </td> </tr> <tr bgcolor="green"> <a href="C:\Documents and Settings\admn\Desktop\pg4.html"> <font size=5 color="yellow">CHARLES DICKENS</font></a> </tr> <tr bgcolor="green"> <a href="C:\Documents and Settings\admn\Desktop\pg5.html"> <font size=5 color="yellow">SHAKESPEAR</FONT></a> </tr> <tr bgcolor="green"> <a href="C:\Documents and Settings\admn\Desktop\pg6.html"> <font size=5 color="yellow">EMILY BRONTE</FONT></a>
PAGE 3: <html> <head> <font size =10 >WELCOME!</font> </head> <body> <table border=1 cellspacing=4 cellpadding=2 width=50% align="left"> <tr > <th>TITLE</TH> <th>PRICE( IN RUPEES)</th> </tr> <TR> <TD>PRIDE & PREJUDICE <td>300</td> </tr> <tr> <td>MANSFIELD PARK</Td> <td>245</td> </tr> <tr> <td>EMMA</Td> <td>450</td> </tr> </table> <a href="C:\Documents and Settings\Guest\Desktop\ridhi2\pg2.html">GO BACK</a> </body> </html>
PAGE 4: <html> <head> <font size =10>WELCOME!</font> </head> <body> <table border=1 cellspacing=4 cellpadding=2 width=50% align="left"> <tr> <th>TITLE</TH>
<th>PRICE( IN RUPEES)</th> </tr> <tr> <td>THE CHRISTMAS CAROL</Td> <td>150</td> </tr> <tr> <td>BLEAK HOUSE</Td> <td>450</td> </tr> <tr> <td>A TALE OF TWO CITIES</Td> <td>700</td> </tr> </table> <a href="C:\Documents and Settings\admn\Desktop\ridhi2\pg2.html">GO BACK</a> </body> </html>
PAGE 5: <html> <head> <font size =10 >WELCOME!</font> </head> <body > <table border=1 cellspacing=4 cellpadding=2 width=50% align="left"> <tr> <th>TITLE</TH> <th>PRICE( IN RUPEES)</th> </tr>
<tr > <td>THE MERCHANT OF VENICE</Td> <td>550</td> </tr> <tr> <td>JULIUS CEASER</Td> <td>1275</td> </tr> <tr> <td>A MIDNIGHT'S SUMMER DREAM</Td> <td>995</td> </tr> <tr> <td>TAMING THE SHREW</Td> <td>199</td> </tr> <tr> <td>PRINCE HAMLET</Td> <td>999</td> </tr> <tr> <td>KING LEAR</Td> <td>899</td> </tr> </table> <a href="C:\Documents and Settings\admn\Desktop\ridhi2\pg2.html">GO BACK</a> </body> </html>
<table border=1 cellspacing=4 cellpadding=2 width=50% align="left"> <tr> <th>TITLE</TH> <th>PRICE( IN RUPEES)</th> </tr> <tr> <td>WUTHERING HEIGHTS</Td> <td>1599</td> </tr> </table> <a href="C:\Documents and Settings\admn\Desktop\ridhi2\pg2.html">GO BACK</a> </body> </html>
EXPERIMENT-11 WRITE A PROGRAM IN JAVASCRIPT DECLARING A VARIABLE, ASSIGNING A VALUE TO IT AND DISPLAY IT <html> <head> <title>local and Global Varibles</title> <script LANGUAGE="JavaScript"> var name1="Fred"; var name2="Ethen"; function Greet(who){ alert("Greetings,"+who); var name2="Barney"; } </script> </head> <body> <h1>function Example:the Sequel</h1> <p> prepare to be greeted twice.</p> <script LANGUAGE="JavaScript"> Greet(name1); Greet(name2); </script> </body> </html>
OUTPUT
EXPERIMENT-12 WRITE A PROGRAM WHICH SHOWS VARIOUS TYPES OF DIALOG BOXES <html> <head> <title> Alerts, confirmations, and Prompts</title> </head> <body> <h1>Alerts, Confirmation, and Prompts</h1> <hr> Use the buttons below to test dialogs in javascript. <hr> <form Name="winForm"> <p><input type="button" value="Display an alert" onClick="window.alert('This is a test alert.'); "></p> <p><input type="button" value="Display a Confirmation" onClick="temp= window.confirm('woud you like to confirm?'); window.status=(temp)?'confirm:ture':'confirm: false';"></p> <p> <input type="button" value=" display a prompt" onClick="var temp=window.prompt('Enter some Text:', 'this is the default value'); window.status=temp;"></p> </form> <br> have fun! <hr> </body> </html>
OUTPUT:
EXPERIMENT-13 WRITE A PROGRAM TO SHOW VAIDATIONS IN A FORM <html> <head> <title> Form Example</title> <script language="JavaScript"> function validate() { if(document.form1.yourname.value.length<1) { alert("please enter your full name."); return false; } if(document.form1.address.value.length<3) { alert("please enter your address."); return false; } if(document.form1.phone.value.length<3) { alert("please enter your phone number."); return false; } return true; } </script> </head> <body> <h1>Form Example</h1>
<p> Enter the following information. When you Press the display button, the data you entered wii be validated, then sent by email.</p> <form name="form1" action="manjitbhinder@yahoo.com" ectype="text/plain" onSubmit="return validate();"> <p><b>Name:</b><input type="text" length="20" name="yourname"></p> <p><b>Address:</b><input type="text" length="30" name="address"></p> <p><b>Phone:</b><input type="text" length="15" name="Phone"></p> <p><input type="SUBMIT" value="Submit"></p> </form> </body> </html> OUTPUT:
EXPERIENT-14 WRITE A PROGRAM FOR ONLOAD AND UPLOAD EVENTS <html> <head> <title> Creating and using user defined functions</title> <script Language="JavaScript"> var name=""; function hello(){ name=prompt('enter your name:','name'); alert('greetings' +name+', welcome to my page!'); } function goodbye() { alert('Goodbye' +name+', Sorry to see you go!'); } </script> </head> <body onLoad="hello();" onUnload="goodbye();"> <img src="C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\water lilies.jpg"> </body> </html>
OUTPUT:
EXPERIMNT-15 WRITE A PROGRAM TO CREATE A CUSTOMIZED PAGE <html> <head> <title> Customized home page</title></head> <body> <script LANGUAGE="JavaScript"> first=prompt("enter your first name."); last=prompt("enter your last name."); title=prompt("enter a page title."); document.write("<h1>"+title+ "</h1>"); document.write("<h2>by "+first+ " "+last+ "</h2>"); </script> <p>this page is under construction.</p> </body> </html>
OUTPUT:
EXPERIMENT-16 WRITE A PROGRAM TO ASSIGN VALUES TO STRINGS AND COMBINING THEM <html> <head> <title>String Test</title> </head> <body> <h1> Scripting Test</h1> <script LANGUAGE="JavaScript">; test1="this is a test."; test2="This is Only a test."; both=test1+test2; alert(both); </script> </body> </html>
OUTPUT:
EXPERIMENT-17 WRITE A PROGRAM TO PROMPT FOR NAMES AND DISPLAY THEM. <html> <head> <title>Loops Example</title> </head> <body> <h1>Loop Example</h1> <p>Enter a series of names. i will then display them in a nifty numbered list.</p> <script LANGUAGE="JavaScript"> names=new Array(); i=0; do{ next=window.prompt("Enter the next name"); if(next>" "&& next!="undefined") names[i]=next; i=i+1; } while(next >" " && next !="undefined"); document.write("<h2" +(names.length)+"names entered.</h2>"); document.write("<ol>"); for(i in names){ document.write("<li>" + names[i] + "<br>"); } document.write("</ol>"); </script> </body> </html>
OUTPUT:
EXPERIMENT-18 WRITE A PROGRAM FOR COMPLETE DESCRIPTIVE LINKS <html> <head> <title> Descriptive Links</title> <Script language="JavaScript"> function describe(text) { window.status=text; return true; } function clearstatus() { window.status=" "; } </script> </head> <body> <h1> Descriptive Links</h1> <p> Move the mouse pointer over one of these links to view a description:</p> <ul> <li><a href="order.html" onMouseOver="describe('order a product'); return true;" onMouseOut="clearstatus();"> Order Form</a>
<li><a href="email.html" onMouseOver="describe('send us a message'); return true;" onMouseOut="clearstatus();"> Email</a> </ul> </body> </html> OUTPUT:
EXPERIMENT-19 WRITE A PROGRAM FOR FORWARD AND BACKWARD BUTTONS <html> <head> <title>Graphic Back and Forward Buttons</title> </head> <body> <h1> Graphical Back and Forward Buttons </h1> <hr><p> This page allows you to go back or forward to pages in the history list. These should be equivalent to the back and forward arrow buttons in the browser's toolbar.</p> <hr> <a href="JavaScript:history.back();"> <img border=0 height="20%" width="25%" src="left.bmp"> </a> <a href="javascript:history.forward();"> <img border=0 height="20%" width="25%" src="right.bmp"> </a> <hr> </body> </html>
OUTPUT:
EXPERIMENT-20
Aim: - Writing Server side programs for web pages using ASP's Request, Response, and Application objects. Theory: Response object :- The ASP Response object is used to send output to the user from the server. The Write method of the ASP Response Object is used to send content to the browser. For example, the following statement sends the text "Hello World" to the browser. Coding:<html> <body> <% response.write("Hello World!") %> </body> </html> Request object:- The ASP Request object is used to get information from the user. Example as shown Coding:-
</body> </html> Application Object:- An application on the Web may be a group of ASP files. The ASP files work together to perform some purpose. The Application object in ASP is used to tie these files together. The Application object is used to store and access variables from any page, just like the Session object. The difference is that ALL users share one Application object, while with Sessions there is one Session object for EACH user. The Application object should hold information that will be used by many pages in the application (like database connection information). This means that you can access the information from any page. It also means that you can change the information in one place and the changes will automatically be reflected on all pages. Application variables are also available to all pages in one application. Application variables are used to store information about ALL users in a specific application. The ASP source code can contain procedures and functions: <html> <head> <% sub vbproc(num1,num2) response.write(num1*num2) end sub %> </head> <body> <p>Result: <%call vbproc(3,4)%></p> </body> </html> Insert the <%@ language="language" %> line above the <html> tag to write procedures or functions in another scripting language than default:
<%@ language="javascript" %> <html> <head> <% function jsproc(num1,num2) { Response.Write(num1*num2) } %> </head> <body> <p>Result: <%jsproc(3,4)%></p> </body> </html> EXPERIMENT-21 Aim: - Writing ASP programs which make usage of Session, Server Objects Theory: session object :- The Session object is used to store information about, or change settings for a user session. Variables stored in the Session object hold information about one single user, and are available to all pages in one application. Example with the help of a program:Coding:<html> <body> <% Response.Write(Session.SessionID) %> </body> </html>
Server object:- The ASP Server object is used to access properties and methods on the server. Example with the help of a program:Coding:<html> <body> <% Set fs = Server.CreateObject("Scripting.FileSystemObject") Set rs = fs.GetFile(Server.MapPath("demo_lastmodified.asp")) modified = rs.DateLastModified %>This file was last modified on: <%response.write(modified) Set rs = Nothing Set fs = Nothing%> </body> </html>
EXPERIMENT-22 Aim: - Using Database Access in ASP Coding: <% dim path dim provider path="C:\inetpub\wwwroot\db5.mdb" provider = "Microsoft.Jet.OLEDB.4.0" Set Con = Server.CreateObject("ADODB.Connection") Set rec = Server.CreateObject("ADODB.Recordset") Con.ConnectionString = path Con.Provider=provider Con.Open mysql = "Select * from table1" Set rec = Con.Execute(mysql) while(not rec.EOF) Response.write( rec.fields(0) ) Response.write"<h1>"& rec.fields(1) & "</h1>" Response.write"<h1>"& rec.fields(2) & "</h1>" rec.movenext wend %>
OUTPUT:
EXPERIMENT NO:23 1. FIRST PAGE OF WEBSITE STATIC WEBSITE DESIGN: SOURCE CODE: <html> <body> <div id="container"> <div id="main"> <div id="header"> <div class="header_pic"></div> <table width="330" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td align="center"> </td> </tr> <tr> <td height="10" align="center"></td> </tr> <tr> <td align="center" valign="top"> <div class="chromestyle" id="chromemenu"> <ul> <li><a href="index.html">Home Page</a></li> <li><a href="about.html">About Us</a></li> <li><a href="services.html">Services</a></li> <li><a href="portfolio.html">Portfolio</a></li> <li><a href="contact.html">Contacts</a></li> </ul> </div> </td> </tr> </table> </div>
<div id="body_stu"> <div class="body_text"> <div class="top_text"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" valign="top"><span class="style1">Welcome to our Site</span></td> </tr> </table> </div> <div class="top_pic_box"> <!-- template allign table starts here --> <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td> </td></tr> </tr> <tr> <td><p>A <a href="http://www.staticwebsite.com/"><strong>static website </strong></a>is the simplest way to show your product or business online. It is the easiest type of website to set up, but making changes to <a href="http://www.staticwebsite.com/"><strong>static websites</strong></a> require web programming knowledge.Static web design is best suited for sites that will not require updates often.</p> <p> </p> <p><a href="http://www.staticwebsite.com"><strong>Static website</strong></a> is also termed as Small Business Website and Brochure Websites and usually serves with an online demonstration thus enabling us to persuade the prospective customers to purchase our products or services. This type of website is suitable for those who need to constitute their web presence or just use it as a basis of intermediation to establish contact with the clients.
</p> </div> <div id="footer"> <div class="footer_text"> <p class="style2">static website design © 2013 | <a href="#" class="d">privacy policy</a></p> <div align="center" class="style3"><a href="index.html" class="c">Home</a> | <a href="about.html" class="c">About us</a> | <a href="services.html" class="c">Services</a> | <a href="contacts.html" class="c">Contacts</a> </div> </div> </div> </div> </div> </body> </html> OUTPUT:
2. ABOUT US PAGE OF WEBSITE STATIC WEBSITE DESIGN: SOURCE CODE: <html> <body> <ul> <li><a href="index.html">Home Page</a></li> <li><a href="about.html">About Us</a></li> <li><a href="services.html">Services</a></li> <li><a href="portfolio.html">Portfolio</a></li> <li><a href="contact.html">Contacts</a></li> </ul> </div> </td> </tr> </table> </div> <div id="body_stu"> <div class="body_text"> <div class="top_text"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" valign="top"><span class="style1">About Us </span></td> </tr> </table> </div> <div class="top_pic_box"> <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr><td width="100%"></td> </tr>
<tr><td> </td></tr> </tr> <tr> <td align="left" valign="top"><p>Hello!! and welcome to Static Website Design for web activities. The firm currently operates from India, Kolkata, with about 50 professionals that dominates the web field. Excellent infrastructure, with modern amenities will attract you to get a essence of the work culture.</p> <p>Adroit offers solutions not only in Static Website design, Web development, but also provide quality services for Administrative support tasks which includes of assigning dedicated manpower for web research, data collection, data entry etc. We also provide general to advance SEO services.</p> <p>We believe in extreme professionalism and value each and every work with priority, meeting deadlines with prompt responses and quality deliverables. As a result we have now over 100’s of clients abroad and counting, only because we work beyond satisfaction.</p> <p> </p> </table> <!-- Template allign table ends here --> </div> </div> </div> <div id="footer"> <div class="footer_text"> <p class="style2">static website design © 2013 | <a href="#" class="d">privacy policy</a></p> <div align="center" class="style3"><a href="index.html" class="c">Home</a> | <a href="about.html" class="c">About us</a> | <a href="services.html" class="c">Services</a> | <a href="portfolio.html" class="c">Portfolio</a> | <!--<a href="#" class="c">Templates</a> |--> <a href="contacts.html" class="c">Contacts</a> </div> </div> </div>
3. CONTACT US PAGE OF WEBSITESTATIC WEBSITE DESIGN: SOURCE CODE: <html> <body> <div id="container"> <div id="main"> <div id="header"> <div class="header_pic"></div> <table width="330" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td align="center"> </td> </tr> <tr> <td height="10" align="center"></td> </tr> <tr> <td align="center" valign="top"> <div class="chromestyle" id="chromemenu"> <ul>
<li><a href="index.html">Home Page</a></li> <li><a href="about.html">About Us</a></li> <li><a href="services.html">Services</a></li> <li><a href="portfolio.html">Portfolio</a></li> <li><a href="contact.html">Contacts</a></li> </ul> </div> </td> </tr> </table> </div> <div id="body_stu"> <div class="body_text"> <div class="top_text"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" valign="top"><span class="style1">Contact Us </span></td> </tr> </table> </div> <div class="top_pic_box"> <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td> </td></tr> </tr> <tr> <td align="center" valign="top"> <form name="form1" action="contact_temp.php" method="post" onsubmit="return validate()"> <table width="80%" border="0" cellspacing="0" cellpadding="0"> <tr>
<td width="29%" align="right" valign="top"><span class="style6">Name : </span></td> <td width="71%" align="left" valign="top"><input name="contact" type="text" id="contact" style="border:#999999 1px solid; background-color:#666666;" size="30"/></td> </tr> <tr> <td height="10" align="right" valign="top"></td> <td height="10" align="left" valign="top"></td> </tr> <tr> <td align="right" valign="top" class="style6">Phone : </td> <td align="left" valign="top"><input name="phone" type="text" id="phone" style="border:#999999 1px solid; background-color:#666666;" size="30"/></td> </tr> <tr> <td height="10" align="right" valign="top"></td> <td height="10" align="left" valign="top"></td> </tr> <tr> <td align="right" valign="top" class="style6">Email : </td> <td align="left" valign="top"><input name="email" type="text" id="email" style="border:#999999 1px solid; background-color:#666666;" size="30"/></td> </tr> <tr> <td height="10" align="right" valign="top"></td> <td height="10" align="left" valign="top"></td> </tr> <tr> <td align="right" valign="top" class="style6">Descriptions : </td>
<td align="left" valign="top"><textarea name="desc" cols="23" rows="6" id="desc" style="border:#999999 1px solid; backgroundcolor:#666666;"></textarea></td> </tr> <tr> <td height="10" align="left" valign="top"></td> <td height="10" align="left" valign="top"></td> </tr> <tr> <td align="left" valign="top" class="style4"> </td> <td align="left" valign="top"><input type="submit" name="Submit" value="Submit" /></td> </tr> <tr> <td align="left" valign="top" class="style4"> </td> <td align="left" valign="top"> </td> </tr> </table></form> </table> </div> </div> </div> <div id="footer"> <div class="footer_text"> <p class="style2">static website design © 2013 | <a href="#" class="d">privacy policy</a></p> <div align="center" class="style3"><a href="index.html" class="c">Home</a> | <a href="about.html" class="c">About us</a> | <a href="services.html" class="c">Services</a> | <a href="contacts.html" class="c">Contacts</a> </div> </div>
4. SERVICES PAGE OF WEBSITE STATIC WEBSITE DESIGN: SOURCE CODE: <html> <body> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" valign="top"><span class="style1">Services</span></td> </tr> </table> </div> <div class="top_pic_box"> <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr><td width="100%"></td> </tr> <tr><td> </td></tr> </tr> <tr> <td><p><strong>Website Design --</strong>- Do you want a web presence? The face of your company that can be read through all over the world, we do that exactly. We have made hundreds of websites from different domain area, may be you are professional or own a small business or want a corporate website. We have each and every solution for you and obviously with in the budget that you cant imagine off. Please visit the portfolio and you can visit plenty of quality designs over there. We will be please to contact you if you send us the requirement of yours.</p> <p><a href="portfolio.html">View Portfolio >></a> </p> <p> </p>
<p><strong>Search Engine Optimisation--</strong> We offer different packages and services for search engine optimization as well as maintenance. We took special care of keywords and many more tweaks that a bot find the site friendly. our team has excellent specialist who has vast knowledge in algorithms that most commonly used by search engine. We are researching every moment to enrich our knowledge to serve you and your business better.</p> <p> </p> <p><strong>Brochure Design---</strong> Getting a business or to ask for a business is something you cannot do with out a quality brochure. Product information and or services offered can be done by setting them by a quality designer. A brochure is something that speaks for the first impression for your company and we have the solution for you and obviously in a competitor price. Please ask for a free quote Brochure.</p> <p>View Portfolio >> </p> <p> </p> <p><strong>Ebook Cover--</strong> Now a Days ebook is gaining more popularity in the web world. If you are planning to launch a new ebook in your site it is very important to placed the ebook in sucah a way that it attracts customer and for that you need to design the cover to attract customer. Our team is expertise in making this ebook cover and experienced too. Lot of our satisfying customer came again and again to develop ebook cover from us. </p> <p>View Portfolio >> </p> <p> </p> <p><strong>Admin Support --</strong> Our team specialisas in administrative support job to handle all your needs which includes tasks like, Internet research , Data entry, Data mining,OCR,Form filling,Online post,Mailing list development,PDF Conversion, Collect information for e-mail campaigning etc.</p> <p> </p> </table>
<div id="footer"> <div class="footer_text"> <p class="style2">static website design © 2010 | <a href="#" class="d">prIvacy policy</a></p> <div align="center" class="style3"><a href="index.html" class="c">Home</a> | <a href="about.html" class="c">About us</a> | <a href="services.html" class="c">Services</a> | <a href="portfolio.html" class="c">Portfolio</a> | </div> </body> </html>
OUTPUT:
EXPERIMENT NO: 24 AIM: Write php code to illustrate the use of if-else statement. PROGRAM: <html> <body> <form action=if.php> Enter a:<input type=text name='t1'><br> Enter b:<input type=text name='t2'><br> <input type=submit> </form> </body> </html> if.php <?php $a=$_GET['t1']; $b=$_GET['t2']; echo"The greater one is:"; if($a>$b) { echo $a; } else echo $b; ?>
OUTPUT:
EXPERIMENT NO: 25 AIM: Write php code to illustrate use of for loop. PROGRAM: <?php for($i=1; $i<=10; $i++) { echo"<br>", $i; } ?>
OUTPUT: