simple web design html css code example

Example 1: make a website with html and css

You can begin by learning the basic elements of HTML, like <div>,<p> and <span>.
 
Then with the elements' ids and classes, you can practice some css by creating
a <style></style> element in your .html file.
Example:
  <html>
    <style>
    	#myDiv{
      		color:red;
      	}
    </style>
    <div id='myDiv'>
      Hello World
    </div>
    
  </html>

Example 2: HTML & CSS: Design and Build Web Sites

<!-- Answer to: "HTML & CSS: Design and Build Web Sites" -->

<!--
  A full-color introduction to the basics of HTML and CSS from the
  publishers of Wrox!

  Hold up! What are you doing? You don't need to pay anything to learn how to
  make a website... Use W3Schools! Or ask me for help on Discord: TigerYT#0001
-->

Tags:

Css Example