css website design code example

Example 1: responsive html

<meta name="viewport" content="width=device-width, initial-scale=1.0">

Example 2: html 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 -->

Tags:

Html Example