• Saving Time Online – Shortcut Keys

    Date: 2011.02.24 | Category: General | Response: 0

    The one thing that i have started to do just lately is use shortcut keys. These are actually very easy to get used to and, will save you a lot of effort over a period of time.

    Below you will find a list of the more common shortcut keys in both Windows and Internet Explorer.

    Even if you get used to using one or two of these shortcut keys you will notice the time you start save over a week, hell, i don’t even type the whole domain into my IE address bar anymore!

    Here are the shortcuts for Windows along with the description of what they do:

    Alt + F – File menu options in current program.
    Alt + E – Edit options in current program
    F1 – Universal Help.
    Ctrl + A – Select all text.
    Ctrl + X – Cut selected item.
    Shift + Del – Cut selected item.
    Ctrl + C – Copy selected item.
    Ctrl + Ins – Copy selected item
    Ctrl + V – Paste
    Shift + Ins – Paste
    Home – Goes to beginning of current line.
    Ctrl + Home – Goes to beginning of document.
    End – Goes to end of current line.
    Ctrl + End – Goes to end of document.
    Shift + Home – Highlights from current position to beginning of line.
    Shift + End – Highlights from current position to end of line.
    Ctrl + Left – Moves one word to the left at a time.
    Ctrl + Right – Moves one word to the right at a time.
    Ctrl + Backspace – Delete word to the left of cursor.
    Ctrl + Del – Delete word to the right of cursor.
    Alt + Tab – Switch between open applications.
    Alt + Shift + Tab – Switch backwards between open applications.
    Ctrl + Esc – Bring Up start button.
    Alt + Esc – Switch Between open applications on taskbar.
    F2 – Renames selected Icon
    F3 – Starts find from desktop
    F4 – Opens the drive selection when browsing.
    F5 – Refresh Contents
    Alt + F4 – Closes Current open program.
    Ctrl + F4 – Closes Window in Program
    Alt + Enter – Opens properties window of Selected icon or program.
    Shift + F10 – Simulates right click on selected item.
    Shift + Del – Delete programs/files without throwing into the recycle bin.
    Holding Shift – Boot safe mode or by pass system files.
    Holding Shift – When putting in an audio cd will prevent CD Player from playing.

    The following list are shortcut keys when using Internet Explorer:

    Alt + Left – Back a page.
    Alt + Right – Forward a page.
    F5 – Refresh current page / frame.
    Esc – Stop page or download from loading.
    Ctrl + Enter – Quickly complete an address.
    Ctrl + N – Open New browser window.
    Ctrl + P – Print current page / frame.

    Hopefully this list of shortcut keys will get you saving some time even if its just a few minutes a day. After all, we all know the one thing webmasters need more of is time.

    Article written by Lee

  • Converting German Adult Traffic – The Niche Paysites That Work

    Date: 2011.02.21 | Category: Traffic | Response: 0

    With the rapid development of US companies and webmasters looking to attract a larger percentage of international surfers and, wanting to make money off these surfers I thought it would be an idea to share the most prevalent niches for each of the international markets country specific surfers. In this first article we will take a look at the niches which convert best on German oriented surfer traffic.

    German Traffic – Dispelling The Myths.

    First and foremost I think it would be a good idea to let you know that, strangely enough, not all German surfers are looking for kinky, in your face sex, in fact, they pretty much have the same tendencies towards their online porn as US based surfers do, with that in mind, lets take a look at some of the niches that do convert well on German traffic.

    German Traffic – The Niches.

    As with any type of surfer the best way of getting them to convert is to start targeting them from the second they hit your site using Full Page Ads, localized text links and, consoles, over the last 3 (three) months we found that the niches which converted best on German porn surfers were as follows.

    Amateur.

    The German adult surfers we sent to several amateur sites, including live web-cam sites and paysites converted exceptionally well, it would certainly seem from the last three months of stats that German porn surfers like the ‘amateur’ porn angle when it comes to satisfying themselves online.

    Teen.

    As with the US adult surfer, it would appear that the teen niche is truly a global requisite in fact, the teen niche was one of our best converting niches across the globe when we analyzed our international traffic conversion ratios.

    Gay.

    To our surprise the little German traffic we did send to localized German gay sites converted at less than 1:75, bearing in mind that the best converting niche for us was Teen and, that the specific site we sent the teen traffic to converted overall at around 1:138 we will be targeting a lot more German gay traffic in the future.

    Fetish.

    No mystery here, when we started our filtering process we ensured that the various fetish niches were high on our filtering list, after all, everyone seems to know that German porn surfers are looking for the hard to find hardcore scene and, the general fetish niche seemed to work wonderfully.

    Ebony.

    The ebony niche was a vary profitable one for the traffic we filtered to it, in summary, my personal feelings are that it converted so well because ebony men and women in Germany are very few and far between, again the results for this niche would seem to back-up the fact that giving Germans access to something that might be ‘taboo’ in their country converts their traffic well.

    Other Niches.

    In addition to the above niches which converted above and beyond the others we used we did get a few sales to some more micro-niched paysites for example, BBW, Asian, Cumshot and General Hardcore sites had around 3-5 sales per site, per pay period. Given that we did not target this type of traffic as effectively as we could have done and, that the traffic was from TGP’s and Geo Targeted Traffic Brokers we were happy with the results we saw.

    German Adult Traffic – The Results.

    It would seem, given our results from the 3 month test we ran on our traffic that the top converting niches for German adult surfers are the Amateur, Teen and Gay niches. Although, the rest of the niches we filtered out our traffic to did not convert as we would have hoped we still saw a good rate of sales month on month from the previous pay period.

    When all is said and done, as long as you have German porn surfers on your sites you would be wise to start spreading and filtering this traffic to some niches that, perhaps you wouldn’t have ordinarily targeted after all, a sale is more money in your pocket, whether you know the niche or not.

    Article written by Le

  • HTML Page Load Times – Making Them Quicker

    Date: 2011.02.22 | Category: WebDesign | Response: 0

    Surfers on the web are here for one thing and one thing only, they want information, they want it to be correct and, more importantly, they want it now. We cant always help when it comes to getting the information however we can help them so far as making sure that when one of the surfers clicks on our pages they load quickly.

    Taking Control Of Speed.

    For many webmasters hand coding their HTML pages is an often timely and costly method and, because of this they turned to the WYSIWYG (What You See Is What You get) editors such as Dreamweaver and Frontpage to create their pages for them however, even this in itself requires some manually intermission on the webmaster part. Many of the older style WYSIWYG Editors added a fair amount of un-needed code to the HTML so, spending a few minutes after you have your pages created to physically go through the HTML code and clean up the junk html can in effect, cut down your page size by up to 25% in some instances.

    HTML Quotations And Hyphens.

    In addition to un-needed HTML tags you may also want to consider removing any quotation marks or hyphens from your HTML code, both of these can quickly clutter up a page and laden it down with more code than is actually required.

    For example, ‘HTML Coding’ makes just as much sense as me telling you HTML Coding when read in sequence. The trick with using quotations and hyphens is actually knowing at what point in your text you can ‘get away’ with removing them and, this is only something you will know yourself after proofing your completed page.

    Hyperlinks.

    If you are only going to provide links from one page of your site to another then, why use absolute paths? http://www.domain.com/linking.html is the same as /linking.html when you use it in a link from one page on your site to another and, well, in all honesty you have increased the load time of your page by only linking to the relative url instead of the absolute and that’s what we are trying to do here right? Make our pages load faster.

    White Space.

    White space on a web page can be a good marketing tool however, white space in your HTML code is a bad thing, placing spaces between certain parts of your HTML code can quickly bog down your load times instead, try to use the tab key to separate certain parts of code likewise, keep the use of &nbsp to a minimum, this can quickly become the most relevant term on your page if used in excess.

    One other benefit of making your pages as small as possible is that a webmaster wanting to steal your HTML code is going to have a harder time finding the exact piece of coding if the HTML is all on a single line than they would if the code was laid out nicely however, this in itself is only a deterrent and it wont stop those webmasters determined to steal your HTML code.

    Page Load Time Overview.

    Hopefully this brief article has given you some idea of ways in which you can practically reduce the load time of your pages without affecting the overall look and feel of your site and, who knows, if your page loads quicker, then you have a better chance of your surfer getting to your sponsor quicker.

    Article written by Lee

  • Maximizing Your Profit Potential – Upsells

    Date: 2011.02.23 | Category: Sponsors | Response: 0

    We all know the reason why pay sites have upsells inside them, to make more money so, the past few weeks I have been ‘experimenting’ with the same type of strategy the pay sites use and, to my surprise, actually found out you can make quite a nice amount of additional income by offering your surfers products or services other than porn!

    Now, this may come as a shock to many but, when you build a free site, TGP Gallery, AVS site etc you can use non adult products on them.

    I have found the following work well for the various different types of site:

    Free Sites.

    Dating Services such as http://www.oscardate.com , http://www.adultfriendfinder.com, etc etc.

    Video Stores such as http://www.mallcom.com and http://www.moviemountain.com.

    Sex Toys such as http://www.gayadultshopping.com and http://www.mallcom.com (Mallcom sells toys and videos)

    Also, to my surprise, search engines have done really well on our traffic. Where we would usually use a text link I SSI’d some files and included some text files going directly to a variety of niches earning me in excess of $0.40 per click in some instances!!

    AVS Sites.

    Dating Services like those mentioned above e have found have done reasonably well however, for some reason not as well as they did on the free sites, you would think that they should do better than on free sites so I guess it is something wrong with my marketing, either way, we just plugged a link to one of our dating affiliates and, sure enough made some $$$ from them.

    Penis Enlargement programs did VERY well inside our AVS sites again, all we did was place a simple text link with ‘enlarge your penis’ for the text and, surprisingly we made a few good sales from that.

    We also integrated our own little MallCom store front on its own domain and have been sending traffic to that and, again, the results have been reasonable.

    TGP Galleries.

    To my surprise, the most profitable thing that we have tested on our TGP Galleries is again, Penis Enlargement type programs, Viagra sales from http://www.kwikmed.com have been doing well the last few weeks and we even had a rebill already!

    One thing that I didn’t expect to work well that did was email collection, in fact, after just 10 days we already have 95 email addresses purely from our TGP Galleries. These emails will be used further in time to send out our newsletter and hopefully make some recurring sales from them.

    I guess the point of this was to let you know you can use alternatives to your adult orientated sponsors on any type of site you build and make a profit from them.

    Anyway, I’m off to do some more testing, I have found a nice casino sponsor imp going to send a few days of traffic to.

    Article written by Lee

  • Adult Search Engine Optimization

    Date: 2011.02.21 | Category: Promotion, Search Engine Optimization | Response: 0

    Gone are the days when adult webmasters could Spam the search engines and get highly trafficked sites within a month of the search engines updating many of the search engines caught onto the adult industry very early on and started changing the way in which they indexed sites they went from meta tag optimized listings to theme indexing to almost every type of search engine optimization method in between.

    Search Engine Optimization Techniques.

    It would seem with the changing times of search engine optimization that there is no longer a single solitary way to get your adult sites listed highly in the search engines but rather a mixture of different adult seo methods being used on a single site ranging from increasing your pagerank, including relevant meta tags and page content to standard adult search engine optimization methods such as getting other popular websites linking to yours but with this comes a new challenge of its own webmasters need to get back to the basics to figure out what worked then and, what will work now so far as adult search engine optimization goes.

    Adult Search Engine Optimization Companies.

    There are many companies currently online that can offer adult webmasters their search engine optimization services however, how do you choose an SEO company that will not only work for you but, is cost effective for your needs, the simple answer is to ask around, there are sites online presently that offer monthly memberships to gain access to their adult seo techniques in the form of articles and tutorials just as their are sites that offer no information whatsoever or, information that, while it worked three years ago, it no longer works in today’s adult seo marketplace. You need to ask for advice from customers who have used adult optimization companies in the past and see how their results improved as well as making sure that what you are actually purchasing is a service that doesn’t just guarantee you improved site rankings but actually guarantees you will see a profit from the money you spent on the optimization services.

    Adult SEO Breakdown.

    Adult search engine optimization companies have only really become apparent in the adult industry over the last 6-12 months however, many well known and respected webmasters have been working on optimizing their adult sites for years and, whilst doing so, they have also achieved a vast knowledge base on how to optimize your adult sites for the search engines, again, ask around on the message forums to find the solution that will best suit your needs and budget and you wont go far wrong, the adult search engine optimization business model is one that in all actuality should change on a regular basis however, as mentioned above some companies are still using the same optimization methods they used three or four years ago, make sure you do your background checks before parting with any money and, most importantly, use the search engines to find their sites in search terms where, if they were any good at all, they would already have first page listings.

    Article written by Lee.

  • International Billing Alternatives – Online Check Payments

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

    In my previous article i discussed the value involved with Premium Rate Phone billing as an option for your adult surfers and, staying on the topic of payment processing this article will take a closer look at the Online Check payment method or, ACH as it is commonly referred to.

    ACH (Online Check Payments) – What Is It?

    An online check payment is a method of allowing your customers to pay for their goods using their check’s online, in order for your customer to pay via a check they need to have available certain items these are, a current checking account, a valid routing number (found on the check) and, an account number. Funds paid via online checks are automatically debited from the customers bank account.

    Online Check Billing – How It Works.

    Online check payments are processed in real-time, surfers are automatically accepted and authenticated via their current billing address, social security or, driving license number, once they have been authenticated their payment details are then sent to the ACH (Automated Clearing House) system where this information is automatically accepted as long as the details provided are verified as correct.

    Online Check Payments – What Are The Costs?

    Utilizing the online check method of billing your customers is actually just as, if not more, cost effective as using online credit or debit cards, in effect, you are guaranteed the funds of the check once they clear as, in all reality, the surfer will not have such an easy time declaring the purchase as a ‘charge back’ because the information needed to pay via an online check is information that in reality, only they have access too.

    So, as with our previous articles, lets say your paysite membership fee for one month is US$35, a surfer signs up to your site using an online check, you make, approximately, US$33 from this membership for each and every month the customer (or surfer) chooses to renew their membership.

    The one main advantage with online checks however is that, surfers will often feel more ‘secure’ in using them to pay for 3 or 6 month memberships and, as long as their check clears your account, you are almost certainly guaranteed the funds.

    Online Check Billing – The Main Benefits.

    As mentioned above already, the primary benefit of the ACH payment method is that the customer will almost certainly have funds available in their online checking account to be able to meet the cost of the paysite membership, after all, they wouldn’t give out their banking details if they were not sure the payment would go through. In addition to this advantage there are also several other advantages to using Online Checks as a payment method for example:

    Increased Sales.
    Reduced Order + Billing Costs.
    Faster Payment.
    Reduced Credit Card Charge Backs.

    ACH Check Payments – Overview.

    Whilst ACH check payments are a good alternative for US surfers the one major drawback is that, in today’s global market place they are not a method of payment for international surfers unfortunately, at this time, there are no companies who can offer this service to my knowledge to the ever growing global population.

    That said, there is a place in the industry for check processing for adult payments and, with Visa breathing down our collective necks more and more, now would be an ideal time to take an in-depth look at this processing method.

    I hope this article has provided you with some useful information regarding the online check payment method.

    Article written by Lee

  • Think Fresh – Work Smarter

    Date: 2011.02.24 | Category: General | Response: 0

    We have all experienced it at some point in our webmaster career, more often than not though, we hear about it all the time. What is it? Wanting to give in when we hit that proverbial brick wall.

    Hopefully this article can offer you some help and advice when it comes to getting your sales back on track or, even getting them started at all.

    Ask For Help.

    The one thing that amazes me about this industry is that despite the fact we are all business competitors we are all (mostly) willing to help other webmasters out for little or nothing in return. if you hit that brick wall then imply ask for some help.

    As webmasters we have a barrage of free tools readily available to us for asking the advice of others whether it is in email from your sponsors support reps, icq or even on the many industry related chat boards, by actually spending sometime to help yourself by asking others you can often see things from a new perspective and, get advice as to why thing that should be working are not.

    Start Over.

    So you have been doing this webmaster job for the last few months submitting to the TGP’s, building free and AVS sites but you still haven’t made a dime, something is wrong somewhere but how do you pinpoint the error? By far the easiest way to find out what is wrong is to start afresh. Head over to one of the webmaster resource sites and see what others are doing ask for advice and feedback on your sites and learn from the experiences they tell you about. Just because you might have heard the same information before doesn’t mean you shouldn’t ask about it, often one webmaster will be able to tell you an alternate way of doing something that another webmaster is. One of the best ways to get a grasp on this learning curve is to read articles and tutorials, there are thousands of them on the net from HTML to Programming and everything in-between emulate the information contained in these articles and adjust that same information to suit your needs.

    Don’t Stagnate.

    If you are not having success at the AVS side of the business try something else, you already have a good base for building free sites and even TGP’s just because you have never tried using these sources of traffic and income doesn’t mean you wont be any good at them.

    If traffic is your problem as mentioned above, ask others where they get their traffic from and how they built it up, learn to start small and grow instead of running head first into millions of hits a month that are being wasted.

    Research The Industry.

    If you are thinking of quitting, before you do spend a day or two just doing a little background research in the industry, its no secret that webmasters who join the online industry today have to work two or three times harder than our peers who joined several years ago, this is and always has been true in any business. By researching the industry you should be able to find out how others that joined before you failed and, more importantly, WHY they failed, learn from those experiences.

    Finally.

    No matter how hard and meaningless you find the work stick at it, just because you are not making any sales it doesn’t mean you wont make any sales tomorrow or even next week / month / year. Keep turning those sites out and, soon enough, when you least expect it you’ll make a sale and, you know what… the euphoric feeling you will get will be more than enough to make you realize that you HAVE been doing something right all along.

    Article written by Lee

  • Building A Surfer Trap – Stage 4

    Date: 2011.02.21 | Category: Traffic | Response: 0

    Building A Surfer Trap – Stage 4.

    Here we go with stage 4 in our surfer trap.

    We should now have a pretty basic surfer trap set up with consoles on all of the FPA’s all of the links on all of the FPA’s (Excluding the FPA graphics) should go to either another FPA or, the a POTD Program.

    As mentioned in the last stage we are going to start building up some traffic to our surfer trap even though, we are not finished yet.

    The first place where you can get some good free traffic would be from a toplist counter.

    A good counter that I would recommend would be one of the following:

    Outster http://www.outster.com (A Gay Specific Counter)
    SexTracker http://www.sextracker.com (A General Adult Counter)

    You need to sign up to ONE of the above counters and only ONE.

    Usually a counter will ask you for some details when signing up for them these will usually include:

    Email Address.
    Site Url
    Name

    For the email address, enter a REAL email.
    For Your Name, Enter a name you wish to be known by to the counter owners.

    However, for the URL (The one to SEND traffic to FROM the counter) you should enter the index.html page of your surfer trap (The Multi-Site FPA).

    You will now be given some coding once you complete the counter sign up process. This counter code you now need to place on EVERY page of your surfer trap.

    Place the counter towards the bottom of your FPA’s (Including the Multi-Site FPA) this way, they will load after the rest of the graphics or at least, they should in theory.

    Basically what you are doing by implementing this counter is as follows:

    For each time the counter is displayed or clicked on your site (Depending on the counter you choose) you will earn one credit on the respective counters toplist.

    Each credit you earn on the toplist will move you higher up the list.

    Now, the higher up the list you get, the more visitors to the counter site that you are going to get visiting your surfer trap by clicking your link on the toplist.

    In return, by clicking on your surfer trap link from the toplist, they are ‘registering’ another impression of your counter hence, getting you one more ‘credit’ on the counter toplist hence, moving you higher in the listings.

    See where we are going with this?

    The more clicks you get from the counter to your hub, the higher you will get on the toplist in the process earning you more and more traffic to filter through your surfer trap.

    Adding these counter codes to your FPA’s as they stand at present should take you an hour or so to do so, for now this is where I will leave the traffic generation section of this tutorial.

    Article written by Lee

  • Robots.txt – Control The Robots That Crawl Your Sites

    Date: 2011.02.24 | Category: Search Engine Optimization, WebDesign | Response: 0

    By writing a structured text file you can indicate to robots that certain parts of your server are off-limits to some or all robots. It is best explained with an example:

    # robots.txt file for general use on web servers.

    User-agent: webcrawler
    Disallow:

    User-agent: googlebot
    Disallow: /

    User-agent: *
    Disallow: /cgi-bin
    Disallow: /logs
    The first line, starting with ‘#’, specifies a comment.

    The first paragraph specifies that the robot called ‘webcrawler’ has nothing disallowed: it may go anywhere.

    The second paragraph indicates that the robot called ‘googlebot’ has all relative URLs starting with ‘/’ disallowed. Because all relative URL’s on a server start with ‘/’, this means the entire site is closed off.

    The third paragraph indicates that all other robots should not visit URLs starting with /cgi-bin or /log. Note the ‘*’ is a special token, meaning “any other User-agent”; you cannot use wildcard patterns or regular expressions in either User-agent or Disallow lines.

    Two common errors:

    Wildcards are not supported: instead of ‘Disallow: /tmp/*’ just say ‘Disallow: /tmp’.
    You shouldn’t put more than one path on a Disallow line (this may change in a future version of the spec)
    Ultimately, without the use of robots.txt files on your servers/domains, you are risking a variety of potential problems including, unauthorized access to your cgi directory, unauthorized viewing of your site stats, possible spamming of the search engines by accidental crawling of doorway pages.

    One distinct advantage however of having a robots.txt file on your server is that, quite simply, you will be able to tell when and where your site has been indexed or potentially indexed as, all robots will automatically call for the robots.txt file BEFORE any other page on your server so, as long as you keep an eye open for any calls of this file, you can see who is knocking at your site for indexing purposes.

    Below is a robots.txt example that you can copy and paste into a text document to use on your own server:

    <!–Start Copy Below This Line–>

    User-agent: *
    Disallow: /cgi-bin
    Disallow: /logs

    <!–End Copy Above This Line–>

    The above will allow all spiders to crawl all of your site except the subdirectory’s ‘cgi-bin’ and ‘logs’ which, may be altered to suit any subdirectory’s you do not wish the spiders to crawl on your server.

    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