English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2007-02-12 17:27:15 · 4 answers · asked by xinnybuxlrie 5 in Computers & Internet Programming & Design

4 answers

HTML & CSS both are mixed for webpage design, but they are meant for different purpose:

HTML: is meant for "structuring" the data;
CSS: is for "presenting" the data in certain fashion.

The difference is huge, but concisely we can say that HTML is static in nature which needs CSS to present itself the way we wish to show the page to our user.

Visit the primary website http://www.w3schools.com/ which teaches the basics of these two languages in a very simple but effective way.

Good Luck & Effort...

2007-02-12 17:38:24 · answer #1 · answered by Brajen 2 · 0 0

css is used to format html stuff, u need an html page to use css, cant make a page out of css, its just used to format html easilly.

Like...
in ur html page, u can say use blue text all the time.
or u can say use what the css page says
and then the css page will say use blue text all the time.

so if u need to change the text, just change one thing in the css page.

2007-02-13 01:32:18 · answer #2 · answered by Kristofer 4 · 0 0

HTML contains the structure and style of a web site. CSS only the style, and let you separate functions. For example, you can make many web pages with the same look with one CSS archive, but in classic HTML, you should set the style in each site.

2007-02-13 01:31:33 · answer #3 · answered by Alec113 2 · 0 0

HTML: HyperText Markup Language
CSS: Cascading Style Sheets

CSS allows you to define styles that you can apply to elements within your web page. If you've ever used Styles in a word processor like MS Word, it sort of works the same way. You can define a style that defines the font size, font face, colors, borders, etc., and have that style apply to certain elements, like headings or paragraphs.

Styles in CSS are usually defined for a particular site in a separate file with a .css extension, with each .htm or .html page (or .asp or .php page, depending upon what you're using) including the same style sheet. That way, if you decide you want to make a change to the style, all you need to do is change it in one place (in the .css file) and it will automatically get popagated to all of the web pages which include it.

2007-02-13 01:54:41 · answer #4 · answered by rongee_59 6 · 0 0

fedest.com, questions and answers