• What Is The Golden Ratio?

    Date: 2011.02.24 | Category: Sponsors | Response: 0

    Its a little known marketing technique that say that, as long as the longest side on any oblong is 1.6 times the length of the shortest side of the same oblong people will be more likely to prefer that shape over any other shape.

    Why do they prefer this size? Because it occurs naturally and, subconsciously EVERY LIVING PERSON is attracted to this trait.

    An example of this is as follows:

    1) Stand Up
    2) Measure the distance from your head to your feet and write this measurement down
    3) Measure the distance from your Navel write this figure down.

    The length of your ENTIRE body is 1.6 times longer than from your Navel to your feet!!

    The same is also true for the length of your arm from shoulder to finger tip, then from elbow to finger tip.

    The same is true for credit cards, the longest side is 1.6 times longer than than the shorter side!

    Think about this for a second, banner ads, what shape are they? Oblong except, they don’t employ the ‘golden ratio’ what if, just what if, you used some banner ads that employed this ‘golden ratio’ who says banners have to be 468×60 in size?

    Why not try making some ‘basic’ banners in paint or a decent graphics program utilizing the 1.6 rule and see if your click thru’s increase, personally, I will bet my earnings last month that they will.

    On the same way of thinking towards marketing, table ads, money bars, etc, why not incorporate this idea into them also? It cant hurt and who knows it may just work.

    the math to work this ‘golden ratio’ out is as follows for Image a above:

    shortest side (60) x 1.6 = (90) Longest side

    You don’t even need to be a genius to make your own ads using this method as the people at Microsoft supplied you with a calculator.

    Article written by Lee

  • Everybody’s Going Gay

    Date: 2011.02.22 | Category: General | Response: 0

    The past few months in the online adult industry have seen some rather dramatic changes happen from Visa charging additional fees to accept their credit cards online, Paypal no longer processing adult and, several large companies going out of business. However, one thing that also seems to be changing for the better is the amount of webmasters looking at new niches to promote. Surprisingly, the one niche that many webmasters are looking at is that of the gay niche.

    Where The Money’s At.

    For years, the adult webmaster community has been split amongst themselves, those that are only focused on straight niches and, those that focus on gay niches however. As of late, more and more of those webmasters from the first group are looking to make additional income from the gay niche. With this inevitable surge in gay adult sites coming online, there are bound to be some knock-on effects, and those webmasters just starting to look at the gay niche, will return to what they know. However, for most, i think this is going to be a fruitful encounter with one of the industry less socially accepted markets. Many of the webmasters who have been concentrating solely on the straight market for their income are going to realize just how much money they have been losing out on for all these years. And with this realization, comes its own set of problems for the industry as a whole.

    The Gay Market.

    Whether you are a straight webmaster or a gay webmaster the one thing that will become apparent is that your sites are going to reflect you in both, how they look and, the marketing techniques you use. More importantly, the attitude you have towards your gay surfers will in fact show through. Many of the straight webmasters whom, perhaps are not as tolerant towards this niche will, almost certainly fail before they can really get going. Marketing gay adult sites is far different than marketing straight adult sites. You have to know the surfer, understand what they want and, more importantly, know the terminology in the gay market. Many times a post can be seen on various message boards belittling those webmasters who are openly gay – often accompanied by terms such as ‘fag’, ‘queer’, ‘homo’, etc along with with images being posted that, quite frankly, would turn most people’s stomach.

    The gay niche is much more than just a single online market, it is a whole lifestyle unto itself. While this lifestyle is affluent (having an abundance of readily available money to spend) it will take a lot of work and perseverance to ensure you get your share of this market.

    Starting Points.

    As I mentioned above, the main thing many webmasters are going to have to learn are the terms of the gay market, what is a twink? A bear? A cub? What products work well on gay sites? Despite what most people think, you cant just throw up some banners with naked men on them and turn a profit. Match your content to a niche and then, match your advertising to your content, what use is it having bears on a site if, the paysite you are promoting features Teens ‘n’ Twinks?

    Similarly, your text links, ‘Click Here For Hot Gay Action’ might get you a few clicks but, by targeting your surfers even more, you will see how some of the gay niches can really turn a profit. The trick is this, get the surfer to your site and actually give them something that you think will suit their desires. This may mean making a 10% commission on a sex toy sale as oppose to a $35 commission on a pay site membership. And so be it. Those 10%’ers start to add up after a few sales.

    In Summary.

    To summarize, the gay niche will make you money however, to make money you will need to invest something that, perhaps isn’t for everyone – a lot of time and understanding. Marketing the gay niche isn’t for everyone, we have seen this too many times. However for those who are, spending time adding a gay market portfolio to there straight, with a little time increase your overall income significantly.

    Article written by Le

  • 10 Ways To Promote Your Site

    Date: 2011.02.21 | Category: Promotion | Response: 0

    As we all know, getting productive traffic to your site can be a long and tedious task of course, there are ways to generate ‘optimized’ traffic at very little cost and time involvement. Below are just a few suggestions about how you can increase traffic to your
    site and, inevitably, there are hundreds of different variations of these that will work for your site, I think the key to getting a successful traffic source is dependant on how much effort you put into it and, if you work hard and play little, you will reap the benefits tenfold.

    1. Create an email discussion list. The list should be related to your web site’s subject. Place your ad on all posts and it will remind people to visit your site.

    2. Prove your site is a bargain. Add a lot of free stuff to your offer or, if you’ve sold the product for a higher price before, show them the difference or, show them how much your competitors charge.

    3. Make your web site more useful. Sell ad space, generate hot leads, answer visitor questions, offer free content, be news friendly, etc.

    4. Make the most of each visitor. Sometimes your price is to high. You should provide a variety of similar products at different price ranges.

    5. Test and redesign your banner ads till you get your desired click through rate. Once you do, join many banner exchanges and buy ad space.

    6. Use holidays as a reason to get free publicity. Write a press release or article about the current holiday. It’ll have a high chance of being published.

    7. Utilize the free content on the internet. Publish one article on a single web page and your main web site link then upload it as a doorway page.

    8. Test your new products on the bottom of your home page. You don’t want to take away hits from your best selling products until others are proven.

    9. Make commissions without joining an affiliate program. Just propose a joint venture offer to web sites that don’t have affiliate programs.

    10. Persuade other web sites to link to yours. It can improve your search engine ranking. Just offer them something of value in return.

    Article written by Lee.

  • Seasons Greetings For The Adult Surfer

    Date: 2011.02.24 | Category: General, Promotion, WebDesign | Response: 0

    How do the national and, international holidays affect our sponsors sales? More than you would think especially if you can offer your surfers something ‘seasonal’ when they hit your site. However, that said, when should you start planning for these holidays and, more importantly, how can you ensure that once you have implemented your seasonal marketing campaigns that they actually work?

    Seasonal Marketing – The Basics.

    Seasonal marketing is, in effect a method of changing your marketing approach around different times of the year to affect both the volume of sales you make and, more importantly, the uniqueness of the product you are offering your surfers. A good example of this is at Christmas time, many of the sponsors will provide their webmasters with banner with a holiday feel to them, perhaps using scantily clad men in Santa outfits or half naked women in elves costumes. By offering a seasonal marketing approach to your site surfers you actually increase the chances of making a sale.

    Holiday Porn.

    One of the best ways to offer your surfers a fresh marketing angle is to ensure that you plan for all of the major holidays throughout the year in advance so for example, as mentioned above, Christmas is a big holiday as are, New Years, Easter, Thanksgiving (US), Independence Day (US) and, Halloween. By building sites specifically for these holidays you are increasing the chances not only of building your sales but, of gaining additional traffic that you might otherwise lose out on. It has been said certainly over the last four years i have worked in the adult industry that many webmasters experience an increase in search engine traffic searching on keywords such as ‘Christmas Porn’ and, ‘Ghost Porn’ around the various holidays, build now for next year and, when the holiday season arrives, you will be one step ahead of your competition.

    Seasonal Marketing Overview.

    As already mentioned the holiday season especially Christmas time, can be a great way to gain additional traffic, not only from those surfers specifically looking for Christmas Porn but, also the newbie adult surfers who have perhaps only just got their first computer on Christmas day, by adding to your collection of seasonal porn sites year after year you will not only learn a lot about the way the various holidays and seasons affect your sales but, you will also be able to profit from your surfers in a way that not many other webmasters do.

    Article written by Lee

  • Adult Webmaster Conventions – Remember When?

    Date: 2011.02.21 | Category: General | Response: 0

    Most webmasters who have been working in the adult industry for a year or two have attended an adult webmaster convention of some sort and, those of us who had the privilege of attending our first webmaster show three to four years ago will know one thing that many others don’t, there used to be a time when you could attend a webmaster show for example, the one held at Disney World (how many of you remember that?) when apart from being relaxing, you would also get a lot of business done alas, times have changed.

    Fighting, Drug Taking, Getting Drunk, Rape Accusations, Theft and Criminal damage would be the headline in the national press should one of these reporters attend today’s webmaster convention, instead of a relaxing atmosphere in which you can get business done you find a slew of webmasters who, well, lets be honest here, are only attending these shows for one reason, to get drunk (for free) and to have a laugh.

    Of late there seems to have been an influx of people (notice I used the word people and not ‘adult webmasters’) joining the adult industry who would appear to think that our business model is one of all night partying, sordid sex sessions and drug taking, whilst, I will be the first to admit this has gone on in the past it would certainly seem that the last 2-3 years has seen more than its fair share of the negative events happening at these conventions.

    Take for example the recent Hollywood Internext Expo show, one incident that comes to mind was the fool who decided it would be a good idea to smash the mezzanine canopy above the hotel lobby, to my knowledge the culprit was never found however, I am sure there are those out there who knows who it was and well, lets be honest, they quite possibly you could be reading this article.

    So what happened? How did these shows change so drastically? Quite simply I think it was the sudden onslaught of press coverage about how the adult industry makes so much money for everyone and, whilst there is a lot of money to be made in the industry, it takes a lot of work to achieve making the reported figures by the press.

    To many people are entering the adult industry thinking that the ‘norm’ is that of what you can find on your average day of visiting GFY and whist, this is perhaps true for the circle of webmasters who do frequent boards such as GFY for the vast majority of hard working webmasters in the industry, the behavior of those webmasters couldn’t be further from the truth.

    So where is all the business being done at the shows? It would appear that event after event the open invite list of parties are being cut down to be taken over by more intimate and sociable private parties in fact, as a company we our ourselves holding several smaller invite only parties for those people that we actually want to do business with on both a personal and a professional level.

    So what does the future have in hold for the adult industry events, in all honesty I do not know however, one thing is for certain, if things continue on their current route, things are going to become a whole lot worse before they get any better.

    Article written by Lee.

  • Online Billing Alternatives – Token Payment Systems

    Date: 2011.02.24 | Category: Billing Solutions | Response: 0

    In this article we will continue our look at the various payment solutions that are available to webmasters for use on a global scale and, this time we will look at the ‘Token’ system of generating income to our sites.

    Token Payments – What Are They?

    Token payments, as they name suggests is a way by which your surfers can access your members area by using pre-purchased tokens as a cash alternative. These tokens are available in a variety of values ranging from US$1 to US$5 and above.

    Token Payments – What Are The Costs?

    The cost to the surfer (as mentioned above) can vary from solution to solution however, on average the tokens which are redeemed for payment are bought in amounts ranging from US$1 to US$5 and above, these tokens then grant the surfer access to any of the sites that uses the specific token system the surfer purchased ‘credits’ for.

    Token Payments – Price Comparisons.

    Okay so based on our previous articles we will again say that access to your members area costs an average of US$30 for a months access, now, using the token payment method, you are now able to set certain ‘restrictions’ immediately on the level of ‘access’ your new member can have although, the reality of it is, these restrictions are set by the token provider themselves.

    Lets say a surfer has gained access to your site using a US$5 token, what can they get actually have access too – not a lot. Your surfer only has access to as much of the content in your site that his ‘credits’ or ‘tokens’ will allow him to, in fact, the token system itself is much like the current pay-per-view model only, IMHO, not as satisfying to the surfer.

    back to the issue at hand, how much will you make from this surfer with the US$5 token who has just accessed your site, well, if your members area is good and you have enough content to keep the surfer there until their tokens run out of credit, then, you will make upto 95% of the initial US$5 token purchase.

    The good thing about this payment solution from a webmasters perspective however, is that YOU can actually set how much time each token will last on your site. Therefore, the reality of it is, you could have a surfer join your site with a US$5 token and only see one movie file whereas, a surfer who joined with a Credit card for 30 days access, could in effect strip your site of its content and move onto the next paysite.

    Token Payments – Overview.

    All in all, i strongly feel that there is a place in todays adult industry for the token payment solution after all, webmasters have to limit access to the amount of content surfers are able to see for free (or cheaply) and start to ‘educate’ todays sufer that they need to spend some money in order to access ‘the good stuff’.

    By allowing webmasters to control the content and value of the token payments on their sites this payment solution could, somewhat start this education process for the surfers. Whether this will be a good or, a bad thing however, will depend entirely on the amount of use these relatively new payment solutions get from both webmasters and, ultimately, surfers.

    Article written by Lee

  • Writing A Business Plan – The First Step To Success

    Date: 2011.02.21 | Category: Forms & Contracts, Writing | Response: 0

    Regardless of what type of business you want to run be it a bakery, a funeral home or an online marketing empire the one thing that you will require is a business plan however, having never taken any business basics 101 classes what do you need to have and, what is required in your business plan?

    That is what we will touch on in this brief article from the basics to the not-so-basics by using a few simple steps you can be sure your business plan will contain all the information you need to make it up the ladder of success.

    Information Summary.

    As the name suggest this is a simple summary of what you are hoping to achieve from the name of your business, the goals, the concept and your plans. This should actually be no longer than two pages so that you can fill the needed information out clearly and concisely.

    Business Details.

    This will be the founding information of your business again you need to mention your business name, what type of business you will be running (Sole Trader, Partnership, Corporation, etc) in addition you will also need to include details of who the company owners are, whether it be yourself alone or a list of your business partners, this information will be invaluable to you at a later date you also need to include a brief history of the business whether you have been running it already for a number of days, weeks, month or, years.

    Products And Services.

    Basically, you need to write what exactly it is you will be selling. Are you going to be selling baked goods, marketing services or custom solutions. Keep this section simple, if you need to go into depth then do so at the end of your business plan by way of an appendices. Once you have listed several of the products or services you will be selling you should also list the features and benefits (Marketing points) of the products and services in addition, why do you think your business idea will succeed, what do you offer your clients that no-one else currently does? In addition you also need to have a basic pricing structure planned out, this will assist you in the future as, from your initial plans you can see what, if anything needs to be changed.

    Marketing.

    A business is more than just an idea. You need to have good pricing, affordable suppliers and a great marketing plan. This is what is also needed in your overall business plan. You should include details of your competitors products and how they compare to your own or, if applicable why your product will be a benefit to the market place should it not already be readily available. In addition the marketing section of your business plan should include a list of advantages as well as some of the pitfalls you are likely to see. You also need to include a section detailing your specific marketing strategies regarding your overall and individual products and services.

    Industry Economics.

    This area should detail some of the more specific areas of the industry you are going to be working in for example, what type of industry are you entering, how does the future for this industry look and, more importantly, how many existing companies work this industry as well as how do you successfully launch yourself into the industry. Parts of this area you may have covered in the marketing and previous section non the less, go over them again here in more detail.

    Target Market.

    We have detailed the business ideas and products and services but, what about your potential clients? What does your product offer then that they need which no other company does? What is your target client base? How will you reach your customers? All of this and more needs to be addressed in this area of your business plan.

    Competing Companies.

    What do your competitors do and, more importantly, who are they? Make a list of your potential competitors and address their weaknesses and strengths ensure that you leave no stone unturned when getting this information together often, you will realize that there are things your competition is doing that you can do much better then they.

    Don’t forget to address their marketing, what are they doing right and, more importantly to you, what are they doing wrong? How can you capitalize on this and make their errors benefit your long term business plans.

    Location, Location, Location.

    Location is everything and, this is particularly true in business for example, will you be working from an office, from your home or even your garage, do you require any special permits to operate your business? Can your customers reach you easily? All of these items and more need to be considered when writing this area of your business plan. By addressing any and all of these items you will find yourself with a much clearer picture of what is needed of you and your business.

    Stock + Supplies.

    Often overlooked in business plans the one thing you NEED to have is a list of potential suppliers and sub-contractors who can provide you with your products and services. What materials (if any) do you need? How much will these cost you? Where will you find your stock and supplies? By getting this information available now you will have a better idea once your business plan is laid out as to what you are able to offer easily and also it will enable you to lay your pricing structure out more concisely.

    Labor.

    So you have this great business idea all laid out but, who will be running this for you? Do you need additional staff or are you going it alone? Do you need to setup accountants, lawyers, insurance companies, consultants, bank accounts etc etc? All of these aspects of your business need to be laid out here.

    Capital.

    Money, as they say, makes the world go round. Your business is no different, how much financial outlay do you require to get your business off the ground? Do you need to ask for a loan from your banking facility to help you out? How much income are you planning on making within the next 6 to 12 months? How much of this income needs to be invested back into the business? All of these ‘financial’ question need to be answered in this area of your business plan only then will you begin to see the bigger picture of your business idea.

    Hopefully this article has given you some solid advice and information regarding planning for your new business and, once you have all of the above laid out you should be able to see whether you will succeed or fail in your new idea.

    Also, by planning now for the future of your business you should hopefully be able to avoid any hidden costs which can often push a company to the edge.

    Article written by Lee

  • Using Mainstream Sponsors On Adult Sites

    Date: 2011.02.24 | Category: Sponsors | Response: 0

    With the adult industry moving more and more into the mainstream web every week that passes as late i thought it would be an idea to show you guys how it is possible to use mainstream sponsor programs on your adult sites to build up a steady commission check even when a surfer going to your adult site doesnt actually buy anything from your adult sponsor.

    Mainstream Sponsor Programs – The Choices.

    The first thing that you need to do is to choose a mainstream sponsor that offers you a good choice of products / services to market to your surfers mainstream affiliate programs such as Click Bank, Commission Junction and, Amazon.com are all good places to find a selection of mainstream products and services you can offer your surfers in addition to the adult sponsors you currently use.

    Mainstream Affiliate Programs – Setting Up.

    The first thing that you need to do however in order to offer the mainstream affiliate program products to your surfers is to register a generic, non-adult domain name and, instantly get this domain setup on your current web server.

    This will be the domain name you use for all correspondence between the mainstream affiliate networks and yourself in addition, this will also be the ONLY domain that you utilize the mainstream linking codes on.

    Using Mainstream Sponsors – Getting Started.

    The first thing that you need to do now you have your domain and mainstream affiliate networks sorted out is to build a couple of specific ‘doorway pages’ on your new generic domain name. This could include something like an article or product review or perhaps something as simple as an image of the product and a short description which you can use to lead the surfer into the mainstream affiliate programs site, either way, the idea is to have the root of the domain 100% free of adult content and utilize specific doorway pages which you can link to from your adult sites.

    Generating Mainstream Traffic.

    Onto the really easy part, your current free sites all have an enter and exit link correct? If so then you are already half way finished, all you now need to do is to ensure that EVERY SINGLE exit link goes to your mainstream doorway page for a specific product or group of products. Make sure that you do not link to the root of your generic domain at any time but only to specific doorways and, that each of these doorways has a link to the root domain.

    By linking to your generic site in this way, you are enabling the surfer to choose whether they first of all, want to look at your adult site or, they want to leave the site and go to your mainstream affiliate network sponsor in the process giving you the potential of making a sale at the mainstream affiliate program.

    Mainstream Sponsor Programs – An Overview.

    By utilizing mainstream affiliate programs in this way you are not only potentially increasing your bottom lines but, you are also utilizing every single click that you get both to and from your site, to often webmasters send their exit links to places like disney.com or google.com and in doing so, they lose out on potential incomes, hopefully when you start marketing your exit links in the manner explained above you will begin to see the benefit of how both adult and, mainstream sponsors can be used in conjunction with each other in order to increase your bottom line profits.

    Article written by Lee

  • Message Boards – Getting The Postings

    Date: 2011.02.23 | Category: General | Response: 0

    There are plenty of free scripts available on the web which will enable you to start your own online discussion forum.

    However, having the most sophisticated and advanced features in a forum does not mean it will be successful by any means. It is the people who post on the forums that make them good not the scripts used to maintain them. This article is dedicated to getting people posting on your forums.

    It can be really quiet on your forum especially at the beginning when there are no real discussions going on, this is because people don’t want to be the first to post. They want to see some topics that interest them already being discussed, they want to be able to read through some posts first before having to post themselves. With this in mind, you should also be aware that just because a forum doesn’t seem busy, it can in fact get thousands of hits a day. Lurkers make message boards what they are, and, for this reason alone you should act professionally and courteously when making posts on any forums, one day, you might have to do business with one of these so-called ‘lurkers’ and, if they have seen you in a bad light on a forum, the chances are they wont want to know you. So what do you do to get your message board off the ground? There are a number of things actually and, some of these are as follows.

    First of all, make sure the signup process is as simplistic as possible, even better, ensure if the user doesn’t want to register, they don’t have to! To attract people to post on your boards why not get a few of your friends together and start some discussions of your own, you could even register a couple of different usernames so that your forums look busier than they actually are thus cementing the thought that your forums are active and will have worthwhile discussions taking place.

    To find some current topics for your forums why not visit some of the other message boards and see what people are discussing, if a topic is receiving a lot of interest, post about it on your forums. This is especially a good idea if your forums are specific to one area after all, if your competitions forums posters are interested in this topic, your forums users will be too.

    Another great way to get people to start talking on your discussion forums is to use a contest. For example, currently on European Webmasters we have a content giveaway whereby for each post you make you gain a point and, once you have reached a certain level of points you will be able to download exclusive content sets. If you are going to start a competition then make sure people are aware of it, post some information about it online and get something to giveaway that everyone wants.

    One other method to get additional posts is to put up subject lines and links to the topic threads from your main website page. Again, if you publish articles on your site create a link to your discussion forums and invite people to openly discuss the articles in question, not only will you get people posting on your message board but, you will also gain invaluable information from your user as to what they look for and want in articles you write.

    If you publish a newsletter, again, this is another great way to build interest in your message board. Simply ask them to post, tell them you are building up a great resource and, you need their help as much as you need theirs to make this happen. If you have provided them with high quality information in your newsletter the chances are they will repay you by posting on your message board.

    In conclusion, you should basically try and plug your message board wherever you can by doing the above, create banners for it and display them on your website, place a note in your signature file encouraging people to visit and post if they require assistance with anything. Its hard work but, once you have a few regular posters it will take off.

    Article Written By Lee

  • Cascading Style Sheet Basics

    Date: 2011.02.21 | Category: WebDesign | Response: 0

    CSS (Cascading Style Sheets) have been around for a while now, and act as a complement to plain old HTML files.

    Style sheets allow a developer to separate HTML code from formatting rules and styles. It seems like many HTML beginners’ under-estimate the power and flexibility of the style sheet. In this article, I’m going to describe what cascading style sheets are, their benefits, and two ways to implement them.

    Cascading What’s?

    They’re what chalk is to cheese, what ice-cream is to Jell-O they complement HTML and allow us to define the style (look and feel) for our entire site in just one file!

    They get their name from the fact that each different style declaration can be “cascaded” under the one above it, forming a parent-child relationship between the styles.

    They were quickly standardized, and both Internet Explorer and Netscape built their latest browser releases to match the CSS standard (or, to match it as closely as they could).

    So, you’re still wondering what a style sheet is? A style sheet is a free-flowing document that can either be referenced by, or included into a HTML document (Kind of like using SSI to call a file but not, if that makes sense). Style sheets use blocks of formatted code to define styles for existing HTML elements, or new styles, called ‘classes’.

    Style sheets can be used to change the height of some text, to change the background color of a page, to set the default border color of a table the list goes on and on. Put simply though, style sheets are used to set the formatting, color scheme and style of an HTML page.

    Style sheets should really be used instead of the standard , < b >, < i > and < u > tags because:

    One style sheet can be referenced from many pages, meaning that each file is kept to a minimum size and only requires only extra line to load the external style sheet file

    If you ever need to change any part of your sites look/feel, it can be done quickly and only needs to be done in one place: the style sheet and furthermore, it is done globally.

    With cascading style sheets, there are many page attributes that simply cannot be set without them: individual tags can have different background colors, borders, indents, shadows, etc.

    Style sheets can either be inline (included as part of a HTML document), or, referenced externally (Contained in a separate file and referenced from the HTML document). Inline style sheets are contained wholly within a HTML document and will only change the look and layout of that HTML file.

    Open your favorite text editor and enter the following code. Save the file as styles.html and open it in your browser:

    Cascading Style Sheet Example.

    h1
    {
    color: #636594;
    font-family: Verdana;
    size: 18pt;
    }

    This is one big H1 tag!

    When you fire up your browser, you should see the text “This is one big H1 tag!” in a large, blue Verdana font face.

    Let’s step through the style code step by step. Firstly, we have a pretty standard HTML header. The page starts with the tag followed by the tag. Next, we use a standard tag to set the title of the page we are working with.

    Notice, though, that before the tag is closed, we have our tag, its contents, and then the closing tag.

    h1
    {
    color: #636594;
    font-family: Verdana;
    size: 18pt;
    }

    When you add the style sheet code inline (as part of the HTML document), it must be bound by and tags respectively. Our example is working with the tag. We are changing three attributes of the ’s style: the text color (color), the font that any tags on the page will be displayed in (font-family), and lastly, the size of the font (size).

    The code between the { and } are known as the attributes. Our sample code has three. Try changing the hexadecimal value of the color attribute to #A00808 and then save and refresh the page. You should see the same text, just colored red instead of blue.

    An Example Of An External Style Sheet.

    External style sheets are similar to internal style sheets, however, they are stripped of the and tags, and need to be referenced from another HTML file to be used.

    Create a new file called “whatever.css” and enter the following code into it:

    h1
    {
    color: #a00808;
    font-family: Verdana;
    size: 18pt
    }

    Next, create a HTML file and name it test.html. Enter the following code into test.html:

    External Style Sheet Reference Example.

    This is one big H1 tag!

    As mentioned above, you can see that the actual code in whatever.css is exactly the same as it was in the inline example. In our HTML file, we simply place a tag in the section of our page. The rel=”stylesheet” attribute tells the browser that the link to the external file is a style sheet. The type=”text/css” attribute tells the browser that whatever.css is a text file containing CSS (cascading style sheet) declarations. Lastly, the href=”whatever.css” attribute tells the browser that the actual file we want to load is whatever.css.

    Conclusion.

    Well, there you have it, a quick look at style sheets and how to implement both an inline and external version. Checkout the links below if you’ve never worked with cascading style sheets before. You will be surprised at some of the things you can do with them!

    Article written by Lee.

Premium Sponsors















Categories

Site Links