HTML vs CSS ??

meester

New Member
Hey all, I'm new here and getting into designing a couple websites.
My question is what is better to use, html vs css? So far it seems like html is easier to use, and css is a bit confusing.
What do you prefer? And why?
Thanks in advance, input is very appreciated
 

LouTheDesigner

New Member
The question "HTML vs. CSS" shouldn't exist, because they are not meant to do the same thing. The function of CSS is to develop the style of the site, while the function of HTML is to input the content. So, CSS was created to remove the design from the content, allowing much cleaner code, and websites that are easier to update.

HTML is that block of code that contains all the content of the site. Without CSS, an HTML page should look roughly like an MS WORD document without formatting.

CSS is that block of code that tells the HTML how to display itself.

Unless you are referring to developing the content & style of your site entirely with HTML, as opposed to HTML + CSS, then the answer is to clearly use both, not just HTML.

I would take a look at the following site for getting started:
http://www.w3schools.com/

-Lou
 

meester

New Member
Okay thanks a lot this definitely helps. I was confused because I was trying to use html and css in the same context editing, and wasn't going together very nicely. I see how this works now, and the website link is also very helpful. Thanks again!
 

greenlightning

New Member
Pick up a cheap book about basic CSS. There's a lot of stuff you can learn and do with it that is very hard to do with just HTML alone. Also, if you have Dreamweaver, it makes working with CSS a whole lot less frustrating as you can see your CSS styling changes in real time. Type "css tutorial" in youtube and you'll get lots of helpful videos as well.
 

bcee

New Member
HTML without CSS is like water without oxygen molecules. Already stated but you should really check out some of the great links posted above.
 

smoovo

New Member
If you are asking this question you have no clue what is HTML and what is CSS. But it's OK, it means you have to learn the basics and you will get the answers by yourself, it's exciting. :D

Learn only HTML, leave everything else. While you will be testing and exploring this language you will be hungry, and you will be looking for more... There comes the CSS.

This is correct for all other languages in that way. :)

- Enjoy.
 

chrisxboyle

New Member
for better output, you shouldnt be contrasting them or choosing just one..they're both important factor when it terms of coding
 

v2Media

Member
Learn only HTML, leave everything else. While you will be testing and exploring this language you will be hungry, and you will be looking for more... There comes the CSS.

This is correct for all other languages in that way. :)

- Enjoy.

Mate - that's ridiculous and I couldn't think of a worse way to recommend. Technologies that are used together should be learnt together. Restricting yourself to html only will teach you bad habits and waste your time.

By learning css at the same time as html, you get a better understanding of how to keep all presentation html out and into css.
 

smoovo

New Member
Basic HTML takes about 2 weeks to learn and exam, this step is very important to focus on the basics of web programming w/o design. I don't know where you learned your skills, but if you start with design before the basics, you begin to post problems in our forum, mate. ;)
 

Anjelina

New Member
I think you got confused. HTML is web markup language. CSS is webpage styling method. HTML and CSS must two things in web designing.
 

smoovo

New Member
Thank you for the news. Think deeply why there is 2 designing languages?!

The thing is HTML is a basic structure web page design language, the first stage, level 1... CSS comes to describe, to enrich the HTML. HTML and CSS are design languages, but they are different. You can't work alone with HTML or CSS, that means they are different.

Because of HTML is the most basic language and CSS is appendix, you should start purely with HTML.

- Enjoy.
 

v2Media

Member
HTML can be used for structure and style. CSS is only style, not structure. CSS was introduced to separate style from structure with ideal of leaving HTML for purely semantic mark-up.

"...but if you start with design before the basics, you begin to post problems in our forum", what rubbish smoovo, problems in our forum? Is that supposed to make any sense?

When you learn html, it doesn't take a genius to pick up CSS at the same time; the two are interdependent! It's also pretty basic stuff. Most adults have more than enough brain cells to cope.

By learning both at the same time, you gain an understanding of what's presentation mark-up and what's structure, you learn the interdependence. Else you wind up with bad habits; using width, height, align, and other tag attributes for style.

smoovo, your advice of learning pure html first and ignoring css, especially in a DESIGN forum, is borderline patronising. Give other members some credit - they're not simpletons.
 
Top