24 Computer -- Web Technology I

Practice #1: Try to recreate the site shown in the image using HTML and CSS. (Not in syllabus, Only for practice)

Practice #1: Try to recreate the site shown in the image using HTML and CSS. (Not in syllabus, Only for practice)

Note: be sure to name the imgs, html & css properly and download the images from githhub for proper viewing of the website


Githhub link:   https://github.com/Samyak354/mattrab_assgn


Final Result:-




HTML:

<html>   <head>      <title>Wyebsyte</title>      <link rel="stylesheet" href="bruhhh.css">   </head>
   <body>      <div class="tht_black_thingy">         <div class="container_items">HOME</div>              <div class="container_items">BAND</div>         <div class="container_items">TOUR</div>         <div class="container_items">CONTACT</div>         <div class="container_items">            <select name="jkjk" id="drop_down">            <option value="MORE">MORE</option>            </select>         </div>                   <div class="container_items" id="mag_glass">&nbsp;            <img src="capture.png" alt="image" height="30px" width="30px">         </div>      </div>            <center>      <p id="band"><br><br>THE BAND</p>            <P id="sub_titol"><br><br>We love music</P>
      <p><br><br>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam ac tortor non quam dapibus ultrices vitae vitae nisi. Aenean condimentum tincidunt massa id vehicula. Praesent sapien nunc, varius sit amet accumsan sit amet, placerat ac sapien. Nam in tortor tincidunt est ornare rutrum commodo at dolor. Aliquam sodales, mi sagittis lacinia fermentum, eros turpis auctor augue, ut tincidunt lacus nisi sollicitudin dui. Duis non ultricies nibh, et pulvinar lorem. Sed urna ante, porttitor ut rutrum vel, suscipit sed odio. Curabitur sed vulputate nisi. Nam orci est, ultricies vel mauris sit amet, maximus cursus dolor. Nunc blandit sodales sem, maximus vestibulum justo suscipit id. Curabitur laoreet nisi id arcu interdum posuere ut non mi. Vivamus lobortis mattis risus, vel lacinia justo efficitur tincidunt. Donec eget sagittis lacus. Duis at justo suscipit nisl aliquam ullamcorper dignissim id arcu. Cras sit amet erat in risus gravida luctus at non dolor. Morbi vitae magna vitae diam commodo fringilla at ut augue.</p>
            <div class="img_and_headers">
         <div class="sub_class">            <p>Name</p>            <img src="../mattrab copy/Capture1.PNG" width="163px" height="162px" id="img">         </div>                  <div class="sub_class">            <p>Name</p>             <img src="../mattrab copy/Capture1.PNG" width="163px" height="162px" id="img">         </div>         <div class="sub_class">               <p>Name</p>                <img src="../mattrab copy/Capture1.PNG" width="163px" height="162px" id="img">                         </div>

      </div>            </center>      <hr id="bottom">         </body>   </html>



CSS:

.tht_black_thingy {   font—family: Arial, Helvetica, sans-serif;   display: flex;   flex-direction: row;   flex-wrap: wrap;   background-color: #000000;   padding-bottom: 4px;}
.container_items {   color: #979797;   font—family: Arial, Helvetica, sans-serif;   font-size: 20px;   margin: 2px 15px;}
#drop_down {   background-color: #00000000;   color: #979797;   border: none;   font-size: 20px;}

body {   background-color: #ffffff;   color: #000000;}
#mag_glass {   position: absolute;   right: 0;}
.img_and_headers {   display: flex;   flex-direction: row;   margin: 10px 10px;   /* padding-left: 3vw;   margin-left: 3vw; */   justify-content: center;}
.sub_class {   margin: 10px 5vw;}
#img {   border-radius: 10px;}
#band {   font—family: Arial, Helvetica, sans-serif;   font-weight: 500;   font-size: 35px;   margin: 4px 0px;}
#sub_titol {   font—family: Arial, Helvetica, sans-serif;   font-style: italic;   color: #a2a2a2;   font-weight: 500;   font-size: 15px;   margin: 6px 0px;}
#bottom {   color: #000000;   background-color: #000000;   height: 20px;   margin: none;   border: none;   position: absolute;   bottom: -9;   left: 0;   right: 0;   /* padding: 10px; */}


More questions on Web Technology I

What is a link? Write the various ways of linking a document with another.

The link is a feature in HTML that allows the user to connect two webpages or documents.Alinkhas two ends -- calledanchors-- and a direction. The link starts at the "source" anchor and points to the "destination" anchor, which may be any Web resource (e.g., an image, a video clip, a sound bite, a program, an HTML document, an element within an HTML document, etc.).

HTML links are hyperlinks.

You can click on a link and jump to another document.

When you move the mouse over a link, the mouse...

Define table and write its tag.

he<table>tag defines an HTML table.

An HTML table consists of one<table>element and one or more<tr>,<th>, and<td>elements.

The <tr> element defines a table row, the <th> element defines a table header, and the <td> element defines a table cell.

An HTML table may also include<caption>,<colgroup>,<thead>,<tfoot>, and<tbody>elements.


Example

A simple HTML table, containing two columns and two rows:

<table>
<tr>
...
Close Open App