473,231 Members | 2,039 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,231 software developers and data experts.

HTML vs CSS

Death Slaught
1,137 1GB
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 1509
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 1GB
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
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 1GB
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
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...

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.