CSS Classes and ID
CSS is made of primarily two main types, ID's and Classes. These are the connection between the HTML and CSS. To differentiate between ID's and classes, a period is used before the class name, and a number sign before the ID name. Below are two examples that should be added to the CSS area of your script.
Now, to allow the ID and class properties to work in HTML, we must add...HTML Code:.classname #idname
The codes above are to be added to an HTML element. And example of which is below.HTML Code:class="classname" id="idname"
For more CSS property help, here is a great website to use. Click hereHTML Code:<div class="classname">Text here</div>
I hope this tutorial helps newcomers and users new to HTML and CSS. If you have any questions, Personal Message me, or post a comment.


Likes: 




Reply With Quote

Bookmarks