Thursday, April 24, 2014

HTML Lessons part 6

In this lesson I will be teaching you about <div>.  Cascading Style Sheets (CSS) is a style sheet added to an html webpage to make it look better.  div's are used to divide the page for CSS styling.  Here is how you use them.  
<body>
<div>hi</div>
</body>
You can also add special square div's like this.  You can any different color or there are other colors.  Search up hex color picker for even more colors.  These are what hex colors look like #00FF00.
<body>
<div style="width:50px; height:50px; background-color: red"></div>
</body>

That i it for today.

No comments:

Post a Comment