Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <style>
- header{
- margin:2px;
- padding:10px;
- height:5em;
- width:60em;
- background-color:grey;
- border:1px solid lightblue;
- color:white;
- text-align:center;
- }
- nav{
- display:block;
- margin:2px;
- padding:10px;
- height:20em;
- width:5em;
- background-color:lightgrey;
- border:7px solid green;
- color:white;
- text-align:left;
- float:left;
- }
- a:hover{
- display:inline;
- color:green;
- background-color:yellow;
- }
- </style>
- </head>
- <body>
- <header>
- <h1>Second Lab</h1>
- </header>
- <nav>
- <a href="some.html">HOME</a>
- <a href="some.html">CONTACT</a>
- <a href="some.html">RELOAD</a>
- </nav>
- <section>
- Todays objective is to learn basics of css and also php
- </section>
- </body>
- </html>
Add Comment
Please, Sign In to add comment