Which do you prefer? HTML or CSS?
By ozkid92
@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
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).
@bongkarpasang (1377)
• 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.
@sir_talk_alot (340)
• 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!!
@spectrum42 (393)
• 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.