Which do you prefer? HTML or CSS?

@ozkid92 (549)
United States
February 9, 2008 7:59pm CST
I've got many website designing ideas, but I'm not looking forward to the recreation of the same layout over and over and over for each page. Well a few months ago I started dabbling with CSS, which will let me make a layout code so that each time I make a new page, I just put one or two lines of script into the page and wha-la it takes on the layout of all the rest of the pages. But I'm not all that skilled in CSS. So which do you prefer to work in? HTML or CSS? Sometimes I prefer CSS if I have multiple pages, but my inexperience with it is frustrating every now and then. Other times I like HTML if it's just a few pages I'm making or if each is different, because I'm comfortable with it and know the ins and outs.
7 responses
@Yoshi_ (156)
• Australia
10 Feb 08
There is an extremely limited ammount you can do with plain html. Unlell you want a web page that looks like it came from 1998 then you need to use css.
@ozkid92 (549)
• United States
10 Feb 08
well i've made pages completely in HTML that look very modern, like mylot and myspace. But as far as user-page interaction it is very limited. But i dont think that falls under HTML or CSS does it. Thats more of PHP like with forums.
@Yoshi_ (156)
• Australia
12 Feb 08
Pretty much. If you want to make interactive pages you can use javascript, but anything that requires you to save data would require some sort of server side application and database solution. CSS doesn't exactly make pages interactive, but it makes formatting and layouts allot more simple, mainly in that you can separate design/formatting from content. If using just plain html you are very limited- you are stuck using tables for layout and font tags for formatting, which means you are limited to using html 4.01 transitional which is really out of date. For best results you will be better to use a newer version of html like XHTML 1.1. This will give you the advantage of being backwards compatible with previous html versions, and forward compatible as it is an XML based language. You won't be able to use some of the older formatting tags like font with XHTML as they are deprecated, but it comes with what are pretty much "blank" tags, which you apply your CSS rules to for formatting and layout (div and span tags).
• Indonesia
10 Feb 08
I prefer doing CSS. it will be useful when I convert my HTML to PHP. plus I can use CSS for many pages, just call the link to stylesheet css file at the head of html code, and add css class or id to html tags. plus, learning CSS is quite easy by doing modification towards any CMS templates, we can peep into their PHP / CSS code to understand how any CSS code works and what the proper property to add for that functionality. for example to do this is by modifying any WordPress template. it will be a great way to learn without needing to read the whole documentation about CSS.
@ozkid92 (549)
• United States
10 Feb 08
yeah, good tip. i might try that WordPress thing. thanks!
• United States
14 Mar 08
CSS in combination with XHTML is definitely the way to go. That combination is pretty much the standards now. Regular HTML coding is pretty much depreciated. In HTML you need to worry about making table and aligning them in order to layout your web page. Using CSS you can easily layout your web page because each section can be resized, shifted and moved. You can learn to code in (X)HTML and CSS here: http://www.dohtml.blogspot.com
@tonyllenium (6252)
• Italy
10 Feb 08
normally if we talk about web design so you must design a webpage and his structure i think css better than html..but anyway i like html because is a simple laguange and in many cases it can be adopted for different purposes in a webpage and normally it is useful but if you are searching a more stylish page surely css give u the right opportunity in this sense!! beh also flash are very good as graphics and i like it..unluckly in many caases it is slower than other 2 and the high graphic controls in the page ar not all compatible for diferent browser..but i think as a design also flash usually give very nice style to the webpages!!
@ozkid92 (549)
• United States
10 Feb 08
yeah flash is very powerfull and usefull. I'm also dabbling in flash animations and games so trying a little mock flash site would be fun sometime.
@Gizzmo86 (147)
• Netherlands
10 Feb 08
I only have some experience but HTML. I think if you are really good with CSS you can do a lot more nice things with it.
• United States
21 Feb 08
I have moved to using CSS for the layout/design part of pages. Once you get your design down, it makes it so easy to totally change the look of a large site by just editing one file. You can change your color scheme for holidays or totally move things around and you never have to edit the actual pages - just modify your single .css file.
@jesskey (45)
• Indonesia
10 Feb 08
if you want to learn about css or html, you can get a SDK...there is more tag in there.you can learn it step by step. it's easy. i sure you can get it...