Advertisement here

program css dalam tampilan kerangka website html

 

PROGRAM KERANGKA WEBSITE SEDERHANA 

PROGRAM HTML :

<html>
    <head>
        <title>
            kerangka website
        </title>
        <style type="text/css">
            body{
                width: 960px;
            }
            headernavasidesectionfooter {
                background: #999999;
                border: 1px solid white;
                color: white;
                font-size: 24px;
                text-align: center;
            }
            headernav {
                width: 100%;
            }
            header
            {
                height: 100px;
            }
            nav {
                height: 50px;
            }
            aside{
                float: left;
                height: 250px;
                width: 29.5%;
            }
            section#content {
                float: right;
                height: 250px;
                width :70%;
            }
            footer {
                clear: both;
                height: 50px;
            }
        </style>
    </head>
    <body>
        <header>header</header>
        <nav>navigation</nav>
        <aside>sidebar</aside>
        <section id="content">content</section>
        <footer>footer</footer>
    </body>
</html>

OUTPUT PROGRAM :




Next Post Previous Post
No Comment
Add Comment
comment url