Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • The general css for header, body and footer for all website

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 170
    Comment on it

    Hello Reader's if you are new to designing the website then you must have to know the common CSS that must be inlcuded in every website. Lets see the CSS in the example below:-

    <!DOCTYPE html>
    <html>
    <title>W3.CSS</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
    <body>   
    <div class="w3-container w3-teal">
      <h1>My Header</h1>
    </div>
    <img src="img_car.png" alt="Car" style="width:100%">    
    <div class="w3-container">
    <p>A car is a wheeled, self-powered motor vehicle used for transportation.</p>
    </div>
    <div class="w3-container w3-teal">
      <h5>Footer</h5>
      <p>Footer information goes here</p>
    </div>    
    </body>
    </html> 
    

    When you will run this code a pre formated page will show up on browser.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: