css and html website 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: css example
body {
background-color: #282c34;
color: white;
padding: 40px;
font-family: Arial;
text-align: center;
}