profile

 <!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>PHP</title>
    <script src="https://kit.fontawesome.com/b766c6b920.js" crossorigin="anonymous"></script>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        header{
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        header a{
            text-decoration: none;
            margin-left: 50px;
            color: white;
         
        }
        body{
            background-color: blue;
           
        }  
        center{
            align-items: center;
        }
        #textarea{
            text-align: center;
            margin-left:650px;
        }
        .card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  max-width: 300px;
  margin: auto;
  text-align: center;
}

.title {
  color: grey;
  font-size: 18px;
}

button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px;
  color: white;
  background-color: #000;
  text-align: center;
  cursor: pointer;
  width: 100%;
  font-size: 18px;
}

a {
  text-decoration: none;
  font-size: 22px;
  color: black;
}

button:hover, a:hover {
  opacity: 0.7;
}

    </style>    
</head>
<body>

   
    <header>
        <div><a href="#">home</a></div>
        <div><a href="#">profile</a></div>
        <div><a href="#">signup</a></div>
        <div><a href="#">function</a></div>
        <div><a href="#">login</a></div>
    </header>
    <img style="width: 100px;margin-left: 700px;" src="../img/f10ff70a7155e5ab666bcdd1b45b726d.jpg" alt="">
    <br><input style="margin-left:650px ;text-align: center;" type="text" placeholder="email" ><br>
   
        <label style="text-align: center;margin-left: 600px;" for="myfile">Select a file:</label>
        <input type="file" id="myfile" name="myfile"><br><br>
        <input style="text-align: left;width: 70px;" type="submit">
      </form>
     
    <button style="margin-left: 650px;width: 50px;">edit</button>
    <button style="width: 100px;">delete</button><br>
    <textarea name="text" id="textarea"placeholder="create-post"></textarea>
   
    <!-- Add icon library -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

<div class="card">
  <img src="../img/messi-profile-desktop-wallpaper-preview.jpg" alt="John" style="width:100%">
  <h1>John Doe</h1>
 
  <p class="title">CEO & Founder, Example</p>
  <p>Harvard University</p>
  <i class="fa-solid fa-icons"></i>
</div>

</body>
</html>

Comments

Popular posts from this blog

Petroleum