-
The Adult Internet – More Than Just Porn
So you have several adult websites up and running and, if you are one of the lucky few in this day and age you have already started to make money from your adult sponsor programs however, there are so many other ways that webmasters can make money in the adult industry in addition to their regular ‘porn site’ sponsors yet, many webmasters do not realize there are vast opportunities awaiting them.
Lets spend a few moments to look at the alternative sources of income that we can use in the adult industry and also take a look at the basics of each type of affiliate system.
Email Collection.
Opt in email is big business, there is no denying this fact so why not jump on the opt in email collecting bandwagon? Most email collection sponsors will offer you anywhere from $0.50 per email collected to $2.00 per email collected and, better still, to start making money from your existing traffic base all you need to do is include a small email collection box.Software Programs.
Many of the larger adult affiliate programs now offer their webmasters a range of software products to generate additional income, many of these products are good for use not only in adult but, also in mainstream. For instance, Anonymous browsing software, history deletion software, IE Toolbars and even submission programs are all good ways to generate additional income either on a per download or, per sale basis. Best of all, you only need to add a new banner to the sites you currently have in order to get a share of this lucrative market.Herbal Products.
Penis Pills, Breast Enlargement, Vitamin Supplements, you name it you can sell it on adult traffic. Whether you run a TGP, Link List or your own collection of free sites, these herbal products can often sell much better than ‘porn sites’ and, for the most part, the payout levels are the same, if not higher than what your regular ‘porn site’ trial will make you. Again to get started with this type of sales all you need to do is add a text link or banner to your existing sites.Casino Sites.
Gambling makes BIG money, just look at Vegas for the example, millions of people a year visit Nevada to gamble and millions more simply can’t get there for a range of reasons however, almost every home in the United States has a computer and internet connection so why not start using this to your advantage? Many of the larger casino affiliate programs will pay based on the amount of funds credited to a new users account and, to get started making money from casino sites it is quite literally as easy as adding a banner or text link to your existing sites again.Pre Paid Services.
Such as Credit Cards and the likes, selling these types of products to your adult surfers not only offers then ‘anonymity’ on the web when they do make online purchases but at the same time when your surfers sign up or one of these pre-paid credit cards you will be making some money in the process. Often however you will find that these types of affiliate program do not payout as much ‘long term’ as they are pretty much a first time deal as far as, once the surfer spends money to initially ‘charge’ their pre paid card with funds, that is when you will make money and not again. Still, even if you can make $50 by selling one of these cards, its still an additional $50 you wouldn’t have made otherwise.Adding To Your Profits.
As you can see from the above, there are a wide range of products and services you can offer your surfers and, as we all know, the more things we can offer our ‘customers’ the more chance we have at one of them buying something. Of course, as with anything, the more effort we put into marketing these products and services the more chance e have at making a sale however, unless we try to sell the surfer something other than porn, how will we know whether they will buy or not?Article written by Lee
-
Turning Opt In Mailings Into Pure Spam
Spam is frowned upon net wide and even more so than usual in the online adult industry especially unsolicited email Spam however, many webmasters do not seem to grasp the essential basics about what Spam is and more importantly, the point in which they themselves become Spammers, this is what we will take a look at in this brief article.
Double And Single Opt In Mailings.
By themselves single and double opt-in mailing lists can be a very effective method of promoting your or, your sponsors sites however, many webmasters forget the one fundamental rule when mailing their opt in subscribers, send them what they actually opted in for otherwise, you are spamming the list and ultimately, the recipients.The line between opt in mailings and Spam is a very finely drawn one at best however in the adult industry it seems the edges of this line are more blurred than almost anywhere else. Quite often you see webmasters on a variety of message boards selling their ‘opt in mailing list’ to one or two other webmasters however, when does the opt in to Spam equation fit in? This is what we will look at next.
Turning Opt-In Mailings In To Spam Emails.
So you have collected opt in email addresses diligently for the last god knows how long and, you have successfully emailed those lists numerous times with some good results to show for it and you want to let others profit from your lists whilst making some money for yourself at the same time. Time to sell the emails you have collected. This is your first mistake, the email addresses which you have collected for your subscriber mail outs have been opted into YOUR list not another webmasters and well, the second that another webmaster buys this list from you the list itself becomes pure unadulterated Spam, nothing more, nothing less.Of course, you don’t have to sell the list, you could offer the list up for trades however, the same thing applies, the second your mailing list changes hands that list not only becomes worthless to the person who has purchased it but, in effect, the list has now become worthless to you.
Adult Opt In Email Lists.
To make a long term profit from your opt in mailing lists the one thing that you should ensure is that the list you have remains clean and, more importantly than that, remains private, if you have spent several years collecting these email addresses why would you turn the revenue potential of them in to nothing less than worthless overnight? Keep the lists as clean and as private as possible, the next time a sponsor opens a paysite that is on the same topic as your mailing list you can send your opt in mailer to your database and profit from the unexposed site.Adult Opt In Mailing Lists Overview.
When all is said and done, as mentioned above opt in adult mailing lists are a very hard to find commodity and, if you have a list for a specific niche or market the list becomes even harder to find, keep your list as clean as possible and ensure that you and only you use the opt in mailing list. By keeping the email addresses you have collected out of the grasp of other webmasters you have the potential to make revenue from that list for as long as you maintain it however, all of your hard work can be undone overnight if you sell the list to the wrong webmaster. In short, if someone opts in to a mailing list owned by you, make sure you are the only person who mails them from that list otherwise, you have indirectly spammed that email address.Article written by Lee
-
Hard Hitting – In Your Face – This Is Reality
It started on terrestrial television some 5 years ago with the first episode of Big Brother, then it went from a house of captive stars to talent scouts looking to create a new pop sensation. From there we saw a variety of television series with ‘reality’ as the main focus.
It only follows suit that this popular marketing machine should hit the adult internet; and, it hit in a major way. And now, almost every major adult sponsor has one common type of site in their portfolio – a reality site.
However, one thing that many in the adult industry are not aware of is that the ‘reality’ type adult sites have been around for longer than what most realize. Before the live sex up-sells and chat rooms, Brandon Marley, a gay website owner, has had a site catering towards the gay reality niche – the premise of his site, as a gay male on the prowl, he goes to the street looking for straight guys to use as content; once he has them in the studio, he lets them work their magic and, inevitably, gets down to business, sometimes persuading the guys to have sex, sometimes, grossing them out whilst they up and flee the studio, all of this is caught on tape and published online.
Next is the web cam phenomenon. Reality at it’s utmost, watching live guys talk, strip, jerk off and discuss the most intimate desires in a chat room. The gay market flocks to reality like a moth to a flame. And surprisingly, much of the focus of ‘reality’ has been pointed to the straight adult audience, with a limited amount of gay orientated reality sites being launched.
That is until now, more and more programs and providers are coming up with reality to the gay market. The key to the on going success and growth of these sites is the, always allusive, original idea.
From M.I.L.F To D.I.L.F.
One of the popular types of reality site we saw explode was MILF (Moms I Like To Fuck). Spurred not only by the popular teenage movie American Pie, this type of reality hits a spot of desire within some surfers to days gone by where they had a secret crush on someone’s mom. Well if it’s possible that a straight man could have a crush on a mom, what about the young gay man having a crush on a dad?“Well, if the straight markets can have MILF, why can’t the gay arena have DILF?’ asks Gary-Alan, owner of the new gay reality site DILF.com from http://www.studmoney.com.
The gay markets have been yelling they are looking for something different to sell. So rather than taking DILF to the straight adult reality markets DILF takes it’s unique flavor and gears it toward to gay market.
‘Reality sells! It is one of the freshest and highest converting niches yet. We see this from great sites like Chi Chi La Rue and Brandon Marley – two of my most favorite sites. I have been listening to webmaster for years. They are looking for something different not just in a reality sense but something that features older guys, not your typical young buff stud. I think when the idea to finally launch StudMoney came up, the first thing that was mentioned was DILF. So we’ve brought the two aspects together and given the gay market webmasters the opportunity to promote a reality site that will convert and, convert well on their traffic.” Alan tells us.
So What Are Reality Sites?
Reality sites cater to a specific target audience, those people who don’t want to see the usual porn stars that are found on almost every other site on the web. Instead, these sites offer exclusive real-life models that could next door neighbor’s sister, mother or, in the case of DILF, their father. Reality opens your site offerings, giving you the opportunity to retain surfers with frequent updates and story lines that will peak their interests. You get to set the standard of your entire site to promote not only the content but a familiarity with your core performers.Starting Reality Site.
So how do you go about setting up a reality niche pay site? In all honesty, there is more involved than putting up a cookie-cutter site online.First you need a concept. With as many niches available today you need something fresh. Mind you there are ideas to mimic but new sells. Once the ideas are down then you need to find content. This isn’t as easy as buying a standard CD, it has to be fresh and new so finding a good photographer to shoot exclusive custom content. Even if you decide you will shoot your own content, you will need to be sure to schedule fresh new shoots frequently. This is important with any type of site, but none more than reality.
Once you have the content aspect figured out, you need to work on designing your site. You may think that’s easy, but the regular cookie-cutter designs, that are so often seen across multiple sites, simply do not cut it. You should seriously give your site design as much consideration as you do you concept for the site itself. A unique approach to the overall layout and design the site and it the member’s area has an equal impact on your members retention rates as having unique content.
Reality Niche – Overview.
What it all comes down to is reality is here, and here to stay. From market to market, niche to niche the one thing we have seen on and offline is that audiences around the world are looking to satisfy the voyeur, the deviant or the simple curiosity that lurks just beneath the skin. So the next time your driving past the mini-mart or peak inside the dressing room at the department store, remember you’re not only in public places – you are probably walking through the next set for an upcoming reality site.Article written by Lee
-
Seasons Greetings For The Adult Surfer
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
-
Time Management – Organizing Your Content Purchases
From time to time it is inevitable that as adult webmasters there will be two things that will happen:
1) You will buy some licensed content.
2) You will use this content for a gallery.
However, unless your content is organized you can end up spending to much time to make a 10 pic gallery page. This article is going to offer you some sound advice on how to organize your content from the second you take delivery of it which, will save you a lot of time long term.
So we have taken delivery of our adult content either by download or, on cdrom what next, we could just file it away on cdrom but, by taking a little extra time to organize your content from the start you will end up not only building sites MUCH quicker but also saving time all round.
Here are some helpful hints to get you on the way to content organization.
1) Unzip all your content sets and, if applicable, separate them into model and niche sets.
2) Create folders for each model and, each set of 10 images within the main model sets.
3) Rename all your images in the 10 pic sets starting from pic1.jpg through to pic10.jpg.
4) Crop, compress and thumbnail each image within each set of 10 that you have.
5) create a html page that calls your thumbnails and main pics using relative urls i.e. /set1/gallery1/image1.jpg for the larger image and /set1/gallery1/thumb1.jpg for the thumbnail image.
6) Inside each of your 10 pic/thumbnail folders place this HTML page you have just created.
7) Burn each of the gallery folders to cdrom.
Lets now look at what an hour spent has enabled us to do.
Instant Galleries.
Say we want to build a 10 pic gallery to add into a free site or an AVS site that we are building, we know we have all the galleries already made, its just a case of finding the correct gallery and uploading it to our server.Image Swapping.
What happens if we need to swap an image from one of our pages to a more appropriate one for the niche we are marketing to, simple, you go to the image set you want, look for the image name and simply change the image without having to upload it as, you will now know the EXACT location on your server of the image you are changing to e.g., /set6/gallery8/image9.jpg would change to set24/gallery2/image2.jpg.
There are of course other ways this can benefit you for example, you can plug in your galleries to any site you own if you have them all uploaded to a central content location domain.
The benefits of organizing your content from the instant you take delivery are endless, the above is just a sample of how I have successfully saved time and effort by becoming more organized, the only limitations you have with your organizational skills are those that you impose on yourself.
Article written by Lee
-
Converting French Traffic – The Niche Paysites That Work
In our last article we took a look at a three (3) month period of international traffic stats and, what niches worked on German adult traffic. In this article we will do the same again except we will be analyzing what niche paysites worked best on French porn surfers.
French Traffic – Quick Analysis.
It would seem that for many of the surfers we managed to grab and filter from France that their primary interest was in Teen and the Amateur niches although, that said, we did get a few conversion on some fetish paysites, specifically fetish sites that had ‘watersports’ and ‘BDSM’ featured on the paysites tour pages.French Adult Traffic – The Niches.
As with the German traffic we targeted in the previous article we also filtered our French adult traffic to some niche specific hub sites as well as some general hub sites to better judge which niches converted the best on French surfers the results we experienced are as follows.Teen.
Our conversions on French teen sites were not as good as what they were for German surfers however, that said, they were good non the less. With a ratio of around 1:192 over the three month period we analyzed the French adult surfers we managed to get to our sponsors sites worked well for us.Amateur.
With our amateur conversions the one thing we noticed was that tours that featured teens as the main focus were the ones which converted consistently, with this in mind, we did change a couple of the Amateur tours we used to see how that would affect sales towards the end of the 3 month period and, sales did drop slightly, this would backup the statements in the Teen niche made above in that, French surfers are looking primarily for Teen orientated paysites.Asian.
The two Asian niche paysites we used didn’t have many sales overall however, we did notice that the little traffic that we sent to them converted well, as above, Asian niche sites that featured teens were again the better converters on the French traffic we received.Ebony.
I think it is worth mentioning the ebony niche, especially when you take into account we sent less than 100 hits to French ebony paysites and, managed to get 2 sales from those hits. Unfortunately, we did not anticipate the amount of traffic that wouldn’t choose the ebony niche so we have no solid figures that are worth mentioning here or, any explanation behind how we made the sales.Fetish.
Our French fetish traffic seemed to like the more niche specific type of tours, making us sales on Watersports, BDSM and even general fetish paysites that said, the figures we achieved with the fetish pay sites we used were disappointing as we had thought this would be the ideal niche for the French markets.Gay.
The sales we achieved with our gay French traffic were reasonable overall, the surfers chose to signup to gay sites that featured ‘twink’ like models on the tours again, this would lend favor to the fact that overall French surfers seem to be interested in the younger generation to get their kicks.French Traffic – The Results.
Overall we were happy with the majority of the results we received on our French adult traffic with the exception of a few bad choices on our part trying to concentrate on the Fetish side of the industry. We certainly learnt that it would appear French adult surfers are looking for Teen orientated sites over the other niches.Article written by Lee
-
How To Claim Back European V.A.T
With the recent legislations requiring US businesses to charge Value Added Tax to EU Member state customers for purchases of digital product / image downloads there are many new questions going around enquiring how companies and small business owners can claim the VAT back this is what we will look at in this brief article – The basics of claiming back your VAT from Europe.
What Is V.A.T?
Value Added Tax (VAT) is a consumption tax levied on goods and services in many countries across the globe. Over the last decade, legislation in the tax systems of Europe, Canada, Japan and South Korea allow for a refund for the majority of non resident entities, worldwide to a refund of VAT in most instances however, especially in the business world, registration must be achieved prior to claiming back your VAT and, preferably before the purchase of Vat able goods takes place.Who Is Entitled To A VAT Refund?
Most businesses will be entitled to receive a VAT refund however, as the laws vary from country to country, the best way for you as a business owner to find out the laws as they affect you is to contact your company accountant who, should be knowledgable enough to inform you of what you need to claim back from each of the EU member states where V.A.T has been charged.What Products Can I Claim V.A.T Refunds For?
Most typically value added tax recoverable expenses can take form as one or more of the following items:Business Property Expenses.
Transportation Costs.
Inter-company Billing.
Marketing + Promotional Services.
Exhibitions, Conferences + Business Meetings.
Importation V.A.T.
Digital Downloads (Business Related).How Do I Register For V.A.T?
When a company inside the domestic US conducts transactions in the EU countries where value added tax registrations may be required the registration for the VAT refund should be done prior to the transaction taking place however, on occasions which vary from individual EU member states this registration process may be done retroactively. By becoming registered to claim your VAT back the company is legally required to d the following:1) Register for the VAT in the EU country where the transaction takes place.
2) Account for VAT on all invoices or receipts issued to your European customers.
3) Deduct the V.A.T incurred from your European suppliers of goods or services.Value Added Tax – An Overview.
When all is said and done, other than the obvious need to increase your pricing structure for certain global markets registering for and, charging value added tax actually has a great deal of benefits. You now get to claim addition refunds from any expenses that you incur from the day to day running of your business, your promotional activities become vat’able so you can now increase the level of global marketing you do and, claim full value back from the EU member states (where applicable). basically, registering in the EU member state will enable your business to grow on a global scale and, at the same time, afford you the luxury of being able to market your goods and services to a greater client base at virtually no cost to yourself this is a good thing especially when you take a look at the growth that international internet usage is making each month.Article written by Lee
-
The Gay Adult Market – Gay Subcultures
I thought I would take a break from writing about online adult marketing for a change and instead, give many of the straight webmasters looking to break into the gay market a bit of an insight into what makes a gay man ‘tick’ and, whilst this is going to be different from guy to guy, the one thing that will remain constant throughout is that this article is based on the gay lifestyle and subculture in both society and, the internet.
What Is A Subculture?
Lets start at the beginning shall we? To understand this article you are first of all going to need to understand what a subculture is well, a subculture as defined by http://www.dictionary.com is, ‘A cultural subgroup differentiated by status, ethnic background, residence, religion, or other factors that functionally unify the group and act collectively on each member.’In layman’s terms, that means, that a subculture is a group of people (or individual) that have something different about them than other people.
In the instance of this article we are going to be looking at the gay subculture and specifically, how this culture is broken down into its own set of subcultures.
The Gay Subculture – Lets Define The Gay Culture.
Gay culture is the heritage of culture, knowledge, and references to which gay people fall heir by the fact of their sexual orientation.Some individuals argue that there are to many gay people who do not participate in ‘gay culture’ for the concept to be meaningful or that gay culture in itself is placing labels on the stereotype most people think of when they thing about gay people however with this said, there are also those who argue the flip side of the coin. One thing is for sure however, gay culture certainly does exist and, within this culture itself there are many complex facets ranging from sexual preferences through to the types of vacation people take.
Gay Subcultures – The Facets.
Whether we choose to think about the different subcultures within the gay community or not one thing is for certain, the subcultures in our community are wide and far reaching from your local gay bar to Soho in a city thousands of miles away most of the gay subcultures can be found almost anywhere in the world and, from this aspect, it makes gay individual no different than other person. For example, the BDSM lifestyle is large in the straight culture however, it is also hugely popular in the gay culture to often with groups of individuals who devote their whole way of life to this. In essence however, many of the gay subcultures are no different to that of their straight counterparts the only difference being, the individuals who practice them, are gay.Gay Subcultures – An Overview.
For many webmasters who currently work in the straight market their first attempt and even their second attempt at marketing to the gay lifestyle may fail however, many do not realize the simplest of rules when it comes to marketing products and services to gay individuals online, you need to be as, if not more, detailed and direct to gay surfers than straight, give them something they can find anywhere at anytime and the chances are they will not buy however, give them something that suits their tastes perfectly and you have a customer for life.Article written by Lee
-
Obscenity – Put It To The Test
Regardless of how long any of us have been an adult webmaster we all need to be
aware of obscenity laws and, in particular how they affect our businesses
whether we think a hardcore photoset is ‘obscene’ or not ultimately, if you get
taken to court on obscenity charges the one thing you should be aware of is how
the courts will decide whether the images you are using will be classified as
obscene or not.Testing Obscenity – The Miller Test.
The Miller test was developed in the 1973 court case of Miller vs. California
and in comprises of three parts ALL of which MUST be satisfied on order for
something to be deemed obscene by the courts. The Miller test is the ‘official’
method used by the United States Supreme Court for determining whether an
expression or a speech can be determined as obscene and, if deemed obscene, it
is not protected under the First Amendment and is therefore prohibited by law.The Miller Test – Part One.
Part one of The Miller Test states something may be obscene if ‘the average
person, applying contemporary adult community standards, would find that the
work, taken as a whole, appeals to the prurient interest’ In essence, this
means that if the ‘average’ person on a jury or on the bench finds the work to
be deemed obscene then, it is. However for the court to rule something as
obscene it also has to be deemed obscene by the standards set in part two and
part three below.The Miller Test – Part Two.
Part two of The Miller Test states that something is potentially obscene is
‘the average person, applying contemporary adult community standards, would
find that the work depicts or describes, in a patently offensive way, sexual
conduct’. Basically this is saying that if the images or speech is something
which is not practiced in a manner befitting your local community standards
then again, it may be obscene. However, as with part one of The Miller Test for
a court to find something obscene it needs to fall below the standards in part
three below.The Miller Test – Part Three.
Part three of The Miller Test states that something is potentially obscene if,
‘a reasonable person would find that the work, taken as a whole, lacks serious
literary, artistic, political, or scientific value.’ This is pretty much where
you could potentially come unstuck after all, everyone has different sexual
tastes and because of this, just because something that may be widespread such
as ‘bare backing’ (to use as an example) could potentially be considered as
obscene if you happen to have a jury who are devout practicers of safe sex.The Miller Test – Overview.
In essence The Miller Test is a useful guideline for webmasters when it comes
to operating our sites and specifically, when it comes to choosing the types of
content we utilize on them however, for the most part The Miller Test itself is
outdated. Since the early 70’s when this test was devised there have been many
sexual practices that were once deemed obscene that have become more a part of
everyday life and accepted in to society as whole thus, what once would (or
could) have been deemed obscene would no longer be in the same sense as
something that may be deemed obscene today could be found not to be in 5 years
time.Article written by Lee
-
Cascading Style Sheet Basics
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
- 2257
- Billing Solutions
- Blogging
- Branding
- Content
- Domain Names
- Employment
- Forms & Contracts
- General
- Hosting
- Link Lists
- Opt-in Mail
- Paid Traffic
- Pic Posts
- Promotion
- Scripts
- Search Engine Optimization
- Sponsors
- TGP
- Traffic
- Tutorials
- Viral Marketing
- WebDesign
- Writing