CSS handles the visual part of a webpage, whereas html handles all the things that make the website work. Ex:
asdfasdf
The html is the part that takes that text and puts it into paragraph form on the screen, but the css is what gives it its color and visual attributes as defined by the class 'pretty'
2007-04-27 03:43:16
·
answer #1
·
answered by sfpiano 4
·
0⤊
0⤋
As the saying goes, html defines structure, and css defines appearance. What this means is, html is the bones, and css is the skin.
In other words, with html you may set up an area called "maincontent" and an area called "sidebar". Then in "css" you may set the "maincontent" to be on the left and the "sidebar" to be on the right. Later, (like a month, or a year, or a day) you may decide to have the sidebar on the left. Instead of going through and changing fifty-eleven html files throughout a large website, you just change the one css file to which they all link.
That's why css is important.
2007-04-27 11:12:36
·
answer #2
·
answered by fjpoblam 7
·
0⤊
0⤋
CSS is Cascading Style Sheets, HTML is Hypertext Markup Language. They are both computer languages to make websites.
CSS controls the visual elements of the entire website. It defines whether you have a border or not, a background or not, what color it is, etc. It modifies the entire site, not just the page. But it depends whether you would load the CSS code into all the pages of your website.
HTML is a very basic language for making webpages. It is somewhat limited, it's very basic and doesn't give you much options. If you want to have a professional looking site, I suggest learning HTML with CSS.
2007-04-27 11:15:26
·
answer #3
·
answered by Andrea Wilson 1
·
0⤊
0⤋
As the guy before me states, css handles the visual elements of the page. However, I would add that the reason why people use css is to save time in the future. Let's say you have a website with 100 pages on it. And your using a large title at the top of your page and you want it to be bold and with italics and make the color red. (because it goes well with the black background).
If you defined the "heading" with css and used the same css style sheet on every page, then you could just change the style of the heading in one simple spot and all 100 pages would be changed. Because lets say your boss comes to you and says "you know that black background isn't going to well with our customers"....
2007-04-27 10:46:18
·
answer #4
·
answered by SoulRebel79 4
·
0⤊
0⤋