Web Development Information |
CSS - Maximum Benefits
What is CSS? CSS is a simple file which controls the visual appearance of a Web page without compromising its structure. Using CSS we can control our font size, font color, link color and many other attributes on our web page. This will make our HTML code much more readable and the page size will be reduced. Why to use it and how to use it properly If you don't use CSS on your web pages and you have many tables and content on them, chances are that your HTML file size will be quite big. Fact is that we live in a busy world, and people are not will to wait more than 5 seconds web page to load. From the other side some web developers implement the CSS on wrong way. They write their CSS in HTML code of the page, like this: <html> <head> <title>My Page</title> <style> A { font-family: Verdana; font-size:8pt; color:black; text-decoration:none } </style> What is wrong with this technique? Well, imagine that you have site with more than 50 pages. One day, you decide that you want to change font color and colors of the links on your site. You will have to edit ALL the pages on your site, and do to that you will need time, because you place your CSS in your web page. Better way is to save your visual attributes in separate, external CSS file, and to link that file with your page like this: <html> <head> <title>My Page</title> <link href="myStyle.css" rel="stylesheet" type="text/css"> Using this technique, you can change the look of your site within minutes, regardless of the number of pages, because your visual attributes are saved in ONE external CSS file. Edit that file, and you are done. Benefits Which are the benefits of using CSS? List is quite long and I will list here only the most important.
Avoiding standard HTML commands like: <font color="#0000ff"><font size=2>Product</font></font></font> will help us to reduce file size, but that is not the only benefit. Using CSS word product in this example will be moved more close on the top of the document. Search engine will pick up more content and less code. Imagine that you have 3 columns table on your page. When you see the code, you will notice that first come code for your table, and after that it come your content. Positioning your 3 columns using CSS instead of standard inline elements: <table width="90%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="381" height="150" valign="top" bgcolor="FFEDD4"> My Product </td> <td height="150" valign="top" bgcolor="FFEDD4"> When CSS is used, your code might look like this: <div id="leftcontent"> My Product </div> Again your code is much more clear, and your content is moved on the top of your document, making your HTML page search engine friendly, and reducing your file size. Content is one of the most important factors in Search Engine Optimization, and you will benefit with removing the unnecessary code in your HTML and create search engine friendly web page. Validate it Browser war is far behind us. Reality is that most of the people today use Internet Explorer, but you should try to be on safe side and ensure that your CSS code is valid. Not all browsers interpret the CSS on same way. You can validate your CSS here: http://jigsaw.w3.org/css-validator/ About The Author Zoran Makrevski is founder and CEO of SEO.Goto.gr. Since 1998 has focused on E-Commerce and attempts to bring more traffic to the customer sites bring him in the SEO industry, and he is running his own company today. Search Engine Positioning Firm
MORE RESOURCES: Unable to open RSS Feed $XMLfilename with error HTTP ERROR: 404, exiting |
RELATED ARTICLES
Top 7 Reasons Why Your Business Needs a Website A website provides invaluable advantages for businesses who have one.7 reasons why your business needs a website are:1. 5 Sure Fire Ways To Send Visitors Away For Good So your traffic is going through the roof yeah? It's all becoming a bit too much? You're getting lots of sales enquiries through your website every day? You want to send visitors away from your site for good? Just follow these five Sure Fire Ways and your site will be a tumbleweed ghost town in no time.Way No. Is Your Website Innovative? Increase Your Business Over Night! While studying online for IT investment opportunities, I found that one main factor was constant. All of the biggest money makers have eye-catching, simple, innovative, and the cleanest websites online!Having a corporate style website may greatly increase your business!Looking professional online is extremely important, especially if you want to attract big money to your door. 10 Tips For A Successful Website Have you ever thought the secret behind the success of most of the famous sites. Do you ask yourself these questions. Using Mini Websites - Powerful Way to Direct Marketing Mini Websites are the most powerful and cost effective solution to promote and market your brand. Normally people go for a large site which have 100's of pages of selling nos. Ebooks for Webmasters Internet has opened a whole new world for web developers and web designers who are looking to get their websites developed that are finally launched on the huge world of World Wide Web. Keeping that factor webmasters are the people who have to face a lot of problems mainly due to the entrance of new software, programming languages and viruses that are a real threat for the webmasters. The Two Most Common Mistakes That Scare Away Web Visitors Can you imagine the hypocrisy of spending thousands of dollars, countless hours, and boatload of resources to create a marketing tool that actually sends prospects running for the hills? It might seem crazy, but a overwhelming majority of websites are doing just that.By failing to (1) define the specific goals of your website and (2) understand how it fits in with your customer's buying process, you could be loosing out on the opportunity to enable prospects to receive the value you can offer them. In Business? 10 Reasons Why You Need a Website -- Now! 1) Word of Mouth The single most powerful form of new business creation is word of mouth. Your past customers, friends, acquaintances and staff aren't likely to carry your brochure or even your business card everywhere they go. Tips for Building a Great Business Website A website is lifeline of internet home business. In order to succeed you must have a website that that meets the general criteria of accepted standards. Eight Deadly Web Site Mistakes and How to Avoid Them Creating and maintaining an effective presence on the Web has become increasingly complex and challenging as the power of the Internet as a marketing tool becomes more and more necessary to entrepreneurs and emerging businesses.The good news is that technologies that were only available to the big guys just a couple of years ago - audio, video, ecommerce, e-mail database management applications - are now affordable for almost everybody. 2 Key Ways to Make Your Site a Success If one more business owner tells me their website sucks because they're just "too darn busy to deal with it", I'm gonna hurl. That's like saying, "I'm doing business in my dirty underwear because I'm too busy to get dressed. You May Be Losing Valuable Traffic - And Not Even Know It! Here's something you may never have thought of before:If I were to type your domain name?http://www.yourdomain. From Concept to Website You've decided to create a website to market your products or services. More and more people start their information searches online, so having a website is the logical next step. Lead Generation How to -- 10 Tips On Generating More Internet Sales Leads Many millions of dollars are being wasted on promoting and sending traffic to ineffective lead generation websites. Here are my top 10 tips to make your site generate more leads for you and your company. Learn What 98% of Targeted Visitors Do On Your Website Getting a Targeted Visitor to a website is a waste of time and money if you've got no idea what 98% of them do when they get there.I'm assuming that if you have a website selling products that your conversion rate is at least 2%. Now You Have a Web Site - Have You Ever Heard of Accessibility? An accessible Web site is easily approached, easily understood, and useable for all. There are accessibility standards set forth by the World Wide Web Consortium, which all sites should adhere to as much as possible. Disability Discrimination Act (DDA) & Web Accessibility There's been widespread speculation about the new legislation being introduced under the DDA (Disability Discrimination Act), which will ensure that websites are accessible to blind and disabled users. Try to find specific information about it on the Internet and chances are you'll come up empty handed. Creating Dynamic Website Content with PHP - MySQL Fresh website content for your visitors can be of real benefit when attempting to generate repeat traffic. Most webmasters, however, just don't have enough spare time to frequently update or rebuild their pages manually. 7 Golden Rules For Building Mini Sites First, an eye opener. Making your fortune throughaffiliate programs on the internet is not easy. Building Websites with Directory Generator Directory Generator, a product from Armand Morin and Marc Quarles, builds directory-style websites for you in a matter of minutes. It is simple to use, it's reliable, it does what it claims to do. |
home | site map | contact us |