Answers for "layout html css"

4

html layout

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>This is a Heading</h1>
<p>This is a paragraph.</p>

</body>
</html>
Posted by: Guest on September-17-2020
7

css layout

<!DOCTYPE html> <!-- Start of coding page -->
<html> <!-- Start of html coding -->
  <head> <!-- Start of head -->
    <title>TITLE</title> <!-- Title -->
    <script>
      //JavaScript
    </script>
    <style>
      /* CSS */
    </style>
  </head> <!-- End of head -->
  <body> <!-- Start of body -->
    <h1>Hello!</h1>
  </body> <!-- End of body -->
</html> <!-- End of html coding -->
Posted by: Guest on June-21-2020
-1

Html Layout w3

<style>
#header {
    background-color:black;

    color:white;

   
text-align:center;
    padding:5px;
}
#nav {
    line-height:30px;

   
background-color:#eeeeee;
    height:300px;
    width:100px;

    float:left;

   
padding:5px; 
}
#section {
    width:350px;
    float:left;

   
padding:10px; 
}
#footer {
    background-color:black;

   
color:white;
    clear:both;
    text-align:center;

    padding:5px; 
}

</style>
Posted by: Guest on July-09-2021

Browse Popular Code Answers by Language