StudentCodingHUB

Use programming to create innovative things.
  • new post

    Saturday, 16 November 2019

    Creat Notice Page



    <!DOCTYPE html>
    <html>
    <head>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
    body {font-family: Arial, Helvetica, sans-serif;}
    * {box-sizing: border-box;}

    input[type=text], select, textarea {
      width: 100%;
      padding: 12px;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
      margin-top: 6px;
      margin-bottom: 16px;
      resize: vertical;
    }
    h2{
    text-align: center;
    color: white;
    text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px darkblue;
    font-weight: 9px;
    }

    input[type=button] {
      background-color: #4CAF50;
      color: white;
      padding: 12px 40px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      margin-left:220px;
      text-align:center;
    }

    input[type=submit]:hover {
      background-color: #45a049;
    }

    .container {
      border-radius: 5px;
      background-color: #f2f2f2;
      padding: 20px;
      height:450px;
    }
    .iconstyle{
    font-size:36px;
    cursor:pointer;
    }
    </style>
    </head>
    <body>

    <h2><b>CREATE NOTICE</b></h2>
    <MARQUEE WIDTH=200 HEIGHT=50 HSPACE=50>
    Only college admin can create this notice...
    </MARQUEE>
    <div class="container">
      <form action="/action_page.php">

        <label for="hname">Heading:</label>
        <input type="text" id="hname" name="lastname" >

       

        <label for="subject">Subject</label>
        <textarea id="subject" name="subject" placeholder="Write something.." style="height:200px"></textarea>
        <div class="iconstyle">
    <i class="fa fa-camera"></i>
    <i class="fa fa-video-camera"></i>
    <i class="fa fa-smile-o"></i>
    </div>
        <input type="button" value="Create">
      </form>
    </div>

    </body>
    </html>

    1 comment: