Introduction To CSS
In the previous lessons, We've been looking at HTML...
Although HTML supports styling, It has been the interest of the developers of the web to deprecate this type of styling logically.
Styling with HTML will actually render your code unreadable:
Consider this code below:
< h1 style='font-color:red;background-color:blue;width:100%;font-weight:bold;border:1px solid yellow;' >This is heading one
As can be seen above, this code may be much tiresome than just a simple CSS well-structured rules:
h1{
color:red;
background:blue;
width:100%;
font-weight:bold;
border:1px solid yellow;
}
As compared above, you can see an ease with the CSS structured rules .
BUT WHAT IS CSS?
With a well described terms, CSS can simply be described as Cascading Style Sheet!
CSS was first published in 1994, October 10th, By Hakon Wium Lie, whom by the time, was working with Tim Berners-Lee,the father of the Web.
...More
What Makes CSS Special?
CSS has much more features that lets it to be described special styling language
Using CSS,
- It makes the web source code be readable by the developer himself.
- CSS has many advantages over html
- CSS can be loaded from external sources and may be used by different pages, thereby satisfying what is called Seperation of Concerns in Software and Network Layers
- CSS supports animations which may be tough in HTML
More has been talked about introductions and histories which I actually don't like in my programming history.
No comments:
Post a Comment