473,473 Members | 1,963 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

HTML vs CSS

Death Slaught
1,137 Top Contributor
Should i do things in CSS that i can do in HTML for example adding a picture or changing the color of text. What im asking is will it load faster if i do it HTML or is the difference so little it doesn't matter?

Thanks, Death Slaught
Aug 18 '07 #1
4 1514
akapsycho
43 New Member
I'm no expert and I can't give you lots of great reasons, but I can tell you that the clear answer is yes.

Using CSS will make your code much cleaner, will load faster since the stylesheet only needs to be loaded once (as opposed to the dozens of html tags) and separates structure from presentation, allowing increased portability. Even though it can be a headache if you're just starting out, you should definitely choose CSS over html tags.
Aug 18 '07 #2
Death Slaught
1,137 Top Contributor
I'm no expert and I can't give you lots of great reasons, but I can tell you that the clear answer is yes.

Using CSS will make your code much cleaner, will load faster since the stylesheet only needs to be loaded once (as opposed to the dozens of html tags) and separates structure from presentation, allowing increased portability. Even though it can be a headache if you're just starting out, you should definitely choose CSS over html tags.
ok thanks and yes i am just starting CSS but i already have a headache lol the real reason im taking the time to learn it is because of the fixed images and the colored links lol.

Thanks, Death Slaught
Aug 18 '07 #3
akapsycho
43 New Member
Fixed images and colored links are all possible using html tags. The advantages I listed are the real reason why you should be using it. If you ever need to recode a site, you'll know why using CSS is the best alternative.
Aug 18 '07 #4
Death Slaught
1,137 Top Contributor
Fixed images and colored links are all possible using html tags. The advantages I listed are the real reason why you should be using it. If you ever need to recode a site, you'll know why using CSS is the best alternative.

I didnt know that you could do that in HTML could you show me the script please? And i see how CSS can be helpfull but its gonna take a while to learn it, but it will be really helpfull later on.

Thanks, Death Slaught
Aug 18 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: VK | last post by:
09/30/03 Phil Powell posted his "Radio buttons do not appear checked" question. This question led to a long discussion about the naming rules applying to variables, objects, methods and properties...
4
by: Francois Keyeux | last post by:
hello everyone: i have a web site built using vbasic active server scripting running on iis (it works on either iis 50 and 60, but is designed for iis 50) i know how to create a plain text...
1
by: cirillo_curiosone | last post by:
Hi, i'm new to javascript. I started studing it on the web few weeks ago, but still haven't been able to solve one big problem: HOT TO PASS VALUES FROM A SCRIPT VARIABLE TO A CHILD HTML...
33
by: LRW | last post by:
http://gto.ie-studios.net/index.php When you view the above site in IE, if the 1st of the three product images is tall enough to push the cell down a couple of pixels, IE somehow doesn't show...
0
by: Boris Ammerlaan | last post by:
This notice is posted about every week. I'll endeavor to use the same subject line so that those of you who have seen it can kill-file the subject; additionally, Supersedes: headers are used to...
9
by: Patient Guy | last post by:
Taking the BODY element as an example, all of its style attributes ('alink', 'vlink', 'background', 'text', etc.) are deprecated in HTML 4.01, a fact noted in the DOM Level 2 HTML specification. ...
5
by: serge calderara | last post by:
Dear all, I am new in asp.net and prepare myself for exam I still have dificulties to understand the difference between server control and HTML control. Okey things whcih are clear are the fact...
6
by: Guy Macon | last post by:
cwdjrxyz wrote: HTML 5 has solved the above probem. See the following web page: HTML 5, one vocabulary, two serializations http://www.w3.org/QA/2008/01/html5-is-html-and-xml.html
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.