Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <head>
- <title>My tables</title>
- <style>
- body {
- background: rgb(232, 234, 238);
- }
- /* this is style for table 1*/
- .table1 {
- background: rgb(156, 218, 95);
- width: 100%;
- }
- .table1 tr td {
- color: black;
- font-size: 20px;
- padding: 30px;
- float: left;
- margin: 20px;
- }
- .table1 tr td:hover
- {
- border-radius: 25px;
- background: white;
- }
- .table1 img {
- width: 100px;
- ;
- height: 100px;
- margin-left: 70px;
- }
- /*********************************/
- /*Style for left table = table 2*/
- .table2 {
- margin-top: 16px;
- background: lightgrey;
- width: 10%;
- height: max-content;
- }
- .table2 thead tr td {
- font-size: 22px;
- font-weight: bold;
- padding-top: 10px;
- }
- .table2 tbody tr td {
- padding: 25px;
- font-size: 20px;
- margin: 30px;
- text-align: center;
- }
- .table2 tfoot tr td {
- border: solid black 2px;
- font-weight: bold;
- font-size: 22px;
- border-style: dotted;
- }
- .table2 tbody tr td:hover{
- background: tomato;
- border-radius: 30px;
- }
- /**********************************************/
- /*Style for table 3*/
- .table3 {
- border-collapse: collapse;
- margin-left: 14%;
- margin-top: -25%;
- }
- .table3 tr td {
- padding: 5px;
- text-align: center;
- border: 1px solid black;
- font-size: 18px;
- }
- .table3 thead tr td {
- font-size: 20px;
- font-weight: bold;
- }
- input {
- width: 120px;
- }
- .table3 tbody tr:nth-child(odd) {
- background: rgb(140, 140, 201);
- }
- .table3 tr td:hover
- {
- background: thistle;
- }
- .table3 img {
- width: 25px;
- height: 20px;
- }
- .table3 img:hover
- {
- width:35px;
- height:30px;
- }
- /*************************************************/
- /*Style for table 4*/
- .table4 {
- margin-left: 57%;
- margin-top: 1%;
- }
- .table4 button:hover
- {
- background: thistle;
- }
- /***********************************************/
- /* Style for table 5*/
- .table5 {
- margin-left: 70%;
- margin-top: -14%;
- max-width: 25%;
- }
- .table5 img {
- width: 25px;
- height: 20px;
- }
- .img-table img {
- width: 150px;
- height: 100px;
- margin: 10px 100px;
- }
- fieldset {
- background: white;
- }
- /*************************************************/
- /*Style for table 6*/
- .table6 {
- margin-top: -5%;
- margin-left: 14%;
- border-collapse: collapse;
- }
- .table6 tr td {
- border: 6px solid black;
- }
- button {
- width: 100%;
- }
- button:hover
- {
- background: rgb(124, 71, 124);
- }
- </style>
- </head>
- <div class="table1">
- <table>
- <tr>
- <th><img class="top-image" src="C:\Users\arabi\Desktop\full-stack\html\table-exersice\my_logo.png"></th>
- <td>File</td>
- <td>Settings</td>
- <td>Tools</td>
- <td>About</td>
- </tr>
- </table>
- </div>
- <div class="table2">
- <table>
- <thead>
- <tr>
- <td>Page Options:</td>
- </tr>
- <tr>
- <td>
- <hr>
- </td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>Sign Up</td>
- </tr>
- <tr>
- <td>Sign in</td>
- </tr>
- <tr>
- <td>Contact Us</td>
- </tr>
- <tr>
- <td>Help</td>
- </tr>
- </tbody>
- <tfoot>
- <tr>
- <td>Enjoy!</td>
- </tr>
- </tfoot>
- </table>
- </div>
- <table class="table3">
- <thead>
- <tr>
- <td>check all</td>
- <td>ID</td>
- <td colspan="2">Full Name</td>
- <td>Date</td>
- <td>Time</td>
- <td>Edit</td>
- </tr>
- <tr>
- <td><input type="checkbox"></td>
- <td> <input list="browsers" name="browser">
- <datalist id="browsers">
- <option value="Safari">
- </datalist>
- </td>
- <td> <input list="browsers" name="browser">
- <datalist id="browsers">
- <option value="Safari">
- </datalist>
- </td>
- <td> <input list="browsers" name="browser">
- <datalist id="browsers">
- <option value="Safari">
- </datalist>
- </td>
- <td> <input list="browsers" name="browser">
- <datalist id="browsers">
- <option value="Safari">
- </datalist>
- </td>
- <td> <input list="browsers" name="browser">
- <datalist id="browsers">
- <option value="Safari">
- </datalist>
- </td>
- <td></td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><input type="checkbox"></td>
- <td>1</td>
- <td>Ronaldo</td>
- <td>Cris</td>
- <td>1 Jun 2019</td>
- <td>11:25</td>
- <td><img src="C:\Users\arabi\Desktop\full-stack\html\table-exersice\edit-user.png"></td>
- </tr>
- <tr>
- <td><input type="checkbox"></td>
- <td>2</td>
- <td>Ronaldo</td>
- <td>Cris</td>
- <td>1 Jun 2019</td>
- <td>11:25</td>
- <td><img src="C:\Users\arabi\Desktop\full-stack\html\table-exersice\edit-user.png"></td>
- </tr>
- <tr>
- <td><input type="checkbox"></td>
- <td>3</td>
- <td>Ronaldo</td>
- <td>Cris</td>
- <td>1 Jun 2019</td>
- <td>11:25</td>
- <td><img src="C:\Users\arabi\Desktop\full-stack\html\table-exersice\edit-user.png"></td>
- </tr>
- <tr>
- <td><input type="checkbox"></td>
- <td>4</td>
- <td>Ronaldo</td>
- <td>Cris</td>
- <td>1 Jun 2019</td>
- <td>11:25</td>
- <td><img src="C:\Users\arabi\Desktop\full-stack\html\table-exersice\edit-user.png"></td>
- </tr>
- <tr>
- <td><input type="checkbox"></td>
- <td>5</td>
- <td>Ronaldo</td>
- <td>Cris</td>
- <td>1 Jun 2019</td>
- <td>11:25</td>
- <td><img src="C:\Users\arabi\Desktop\full-stack\html\table-exersice\edit-user.png"></td>
- </tr>
- </tbody>
- </table>
- <div class=table4>
- <table>
- <tr>
- <td>Pages:</td>
- <td><button>1</button></td>
- <td><button>2</button></td>
- <td><button>3</button></td>
- <td>...</td>
- </tr>
- </table>
- </div>
- <div class=table5>
- <fieldset>
- <legend><img style="width:25px; height:20px;"
- src="C:\Users\arabi\Desktop\full-stack\html\table-exersice\user_image.png">User Detail:</legend>
- <table>
- <tr>
- <td><img src="C:\Users\arabi\Desktop\full-stack\html\table-exersice\id_image.png"></td>
- <td>User ID:</td>
- <td>1236544562</td>
- </tr>
- <tr>
- <td><img src="C:\Users\arabi\Desktop\full-stack\html\table-exersice\user_name.png"></td>
- <td>User Name:</td>
- <td>User Full Name</td>
- </tr>
- <tr>
- <td><img src="C:\Users\arabi\Desktop\full-stack\html\table-exersice\phone_image.png"></td>
- <td>User Phone:</td>
- <td>054-665665566</td>
- </tr>
- <tr>
- <td><img src="C:\Users\arabi\Desktop\full-stack\html\table-exersice\email_image.png"></td>
- <td>User Email:</td>
- <td>User@Email.com</td>
- </tr>
- </table>
- <table class="img-table">
- <tr>
- <td><img src="C:\Users\arabi\Desktop\full-stack\html\table-exersice\id_card_image.png"></td>
- </tr>
- </table>
- </fieldset>
- </div>
- <table class="table6">
- <tr>
- <td colspan="4" style="height:35px"> </td>
- </tr>
- <tr>
- <td><button style="background: rgb(158, 59, 59);">DEL</button></td>
- <td><button style="background:rgb(158, 59, 59);">AC</button></td>
- <td><button>*</button></td>
- <td><button>/</button></td>
- </tr>
- <tr>
- <td><button>7</button></td>
- <td><button>8</button></td>
- <td><button>9</button></td>
- <td><button>-</button></td>
- </tr>
- <tr>
- <td><button>4</button></td>
- <td><button>5</button></td>
- <td><button>6</button></td>
- <td><button>+</button></td>
- </tr>
- <tr>
- <td><button>1</button></td>
- <td><button>2</button></td>
- <td><button>3</button></td>
- <td rowspan="2"><button style="height:50px; background: yellowgreen;">=</button></td>
- </tr>
- <tr>
- <td colspan="2"><button>0</button></td>
- <td><button>.</button></td>
- </tr>
- </table>
- <br>
- <br>
- <p>
- <pre>
- *** *** *** ** ****
- *** *** *** * * *** ** ** *
- *** *** *** * * *** ** ** *
- ************* *** * * *** ** ** *
- *** *** *** * * *** ** ** ** *
- *** *** *** * *** ********* ** * *
- </pre>
- </p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement