Posts

Showing posts from October, 2023

payment form in html

Image
<!DOCTYPE> <html>   <head>     <title>Payment Form</title>   </head>   <body bgcolor="yellow">     <form>       <h1>Payment Form</h1>       <p>Required field are followed by*</p>       <h2>Contact information</h2>       <p>Name:*<input type="text" name="name" required=""></p>       <fieldset>         <legend>Gender*</legend>       <p>         Male <input type="radio" name="gender" id="male" required="">         Feamle <input type="radio" name="gender" id="Feamle" required="">         </p>         </fieldset>     <p>Address: <textarea name="address" id="address" rows="6" cols="80"></textarea>...

How To Add a Border

Image
<!DOCTYPE html> <html> <head> <style> table, th, td {   border: 1px solid black; } </style> </head> <body> <h2>Table With Border</h2> <p>Use the CSS border property to add a border to the table.</p> <table style="width:100%">   <tr>     <th>Firstname</th>     <th>Lastname</th>      <th>Age</th>   </tr>   <tr>   <td>sushil</td>     <td>yadav</td>     <td>23</td>   </tr>   <tr>     <td>pratiksha</td>     <td>Srivastava</td>     <td>20</td>   </tr>   <tr>     <td>surbhi</td>     <td>singh</td>     <td>22</td>                 </...

hotel management project full code

import pickle import os import pathlib class Account :     accNo = 0     name = ''     deposit=0     type = ''          def createAccount(self):         self.accNo= int(input("Enter the account no : "))         self.name = input("Enter the account holder name : ")         self.type = input("Ente the type of account [C/S] : ")         self.deposit = int(input("Enter The Initial amount(>=500 for Saving and >=1000 for current"))         print("\n\n\nAccount Created")          def showAccount(self):         print("Account Number : ",self.accNo)         print("Account Holder Name : ", self.name)         print("Type of Account",self.type)         print("Balance : ",self.deposit)          def modif...

table in html

Image
<!DOCTYPE html> <html> <style> table, th, td {   border:1px solid black; } </style> <body> <h2>A basic HTML table</h2> <table style="width:100%">   <tr>     <th>Company</th>     <th>Contact</th>     <th>Country</th>   </tr>   <tr>     <td>hp</td>     <td>shivu</td>     <td>Germany</td>   </tr>   <tr>     <td>pigeon </td>     <td>somya</td>     <td>indian</td>   </tr> </table> <p>To understand the example better, we have added borders to the table.</p> </body> </html>

Log in form in html

Image
<!DOCTYPE html>  <html>  <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <title> Login Page </title> <style>  Body {   font-family: Calibri, Helvetica, sans-serif;   background-color: orange; } button {         background-color: yellow;         width: 100%;         color: orange;          padding: 15px;          margin: 10px 0px;          border: none;          cursor: pointer;           }   form {          border: 3px solid #f1f1f1;      }   input[type=text], input[type=password] {          width: 100%;          margin: 8px 0;         padding: 12px 20px;    ...

registration form html

Image
 registration Page. < Html >    < head >     < title >    Registration Page   </ title >    </ head >    < body   bgcolor = "yellow" >    < br >    < br >    < form >       < label >  Firstname  </ label >           < input   type = "text"   name = "firstname"   size = "15" />   < br >   < br >    < label >  Middlename:  </ label >       < input   type = "text"   name = "middlename"   size = "15" />   < br >   < br >    < label >  Lastname:  </ label >           < input   type = "text"   name = "lastname"  ...

html style

Image
<html> <body> <p>I am normal</p> <p style="color:green;">I am red</p> <p style="color:yellow;">I am blue</p> <p style="font-size:50px;">I am big</p> </body> </html>