-
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
-
Penis Enlargement Pills
Well if you’re a guy who had to shower after gym class, or woman with a boring husband or a gay man looking for Mr. Right we all know SIZE Matters!
Do I a have your attention? Good! Now, let’s get on with it!
Like many people, I have always experimented with secondary or even tertiary sponsors for my free sites. In my case most of them do not only pertain to a site membership. I have found success with things like, Viagra online; security programs to remove you net affairs; sex toys and videos; and, today’s’ latest a greatest is penis enlargement remedies.
I’m finding some astonishing success with these herbal penis enlargement products. I’m SELLING it not USING it! LOL. Some of us don’t need it <wink>. But I’m finding lots of my surfers do need it, or at least want it.
A couple of months ago after seeing an influx of email to Gay Wide Webmasters for hints on selling penis enlargement medications, I decided it would only benefit my member and myself to experiment. I used a sponsor on Gay Wide Webmasters, Albion Medical who boasted great returns and high payouts. Well what I was in store for was BETTER than I expected. By the way, here’s a little secret; I do sign up for my own sponsors but under my real name, so unless they really look hard, they do not know it’s me. I don’t go boasting with out proper backup = )
Amid my salesmanship attempts for surfers to “Sign Up!” I sprinkled my secondary ads for Penis Growth among the pics with lines like “Become Mr. Right – turn your dick into a DONG” or “Make your manhood massive… Even straight guys will look!” And to my surprise, it worked wonders. I know there is an attitude in the gay male community to seek perfection physical most of all. And it definitely came clearer to me with the number of sales.
It’s funny how many different ways you can approach selling things that will enhance a person. To me, telling me I need something to make me better pisses me off. Don’t try selling something to me by TELLING ME I’m not right. Or what I have is wrong. I’m definitely a person who marches to the beat of his own drum. And then there are people who NEED to be told they are not everything society expects them to be. That they are doing or have something wrong but it can be fix and you have the solution.
Like the examples above, “Become Mr. Right…” I took the effect that I was letting the surfer make up his own mind. Does he have an issue? It was entirely up to him to decide. Let me tell you, it works well on gay traffic. Let the gay surfer decide yes or no.
NOW, I tried a different approach and gauged the success/failure. I popped in text links like “Aren’t you upset by how small your penis is?” “Remember the guys making fun of you in the showers after gym?” or “Are you sick that you don’t fill up you the front of your briefs?” Well let me tell you the number of Emails I rec’d was “enlarged”! For the most part I was getting mail from men who felt I was exploiting them, even making fun of them. I made them feel inadequate and they lost their hard-on. My site was meant to entertain not disdain them. All I could say was WOW! I didn’t expect that kind of response. I will tell you that I was very happy that I didn’t do it across all of my sites and only a few. So I moved everything back to my “Let him decide” campaigns.
The affect of the sales on the “insulting ads” was evident. According to my traffic program it was apparent that these ads were NOT getting clicks. Instead the surfers clicked on my email link to voice their disgust.
The bottom line of all this? With the proper motivation, the right marketing approach, surfers enjoy the seclusion of buying penis enlargement aids online. It is a great addition to your web site income among other avenues.
Article written by Gary-Alan
-
Google – Manipulate Your Listings For More Traffic
Google seems to be the Search Engine that everyone talks about almost on a daily basis however, far from being about search engine optimization and specifically about Google related SEO i wanted to touch on something new that, perhaps you would not have already thought about.
Manipulating Google Traffic.
So your site is already listed in Google but you want to increase the amount of traffic you receive, one way that we as a company have been successfully using for the last 18 months is that of manipulating the display of our clickable links in Google, how are we doing this? Simple, using ASCII character codes in your meta tags.ASCII In Your Meta Tags.
ASCII (American Standard Code for Information Interchange) it has been proven, when used in your HTML page Meta Tags will actually display not only letters and numbers but, symbols as well, as a webmaster this can give you a great advantage over how much traffic you can pull from your Google listings and, not only Google, a few of the other search engines also read ASCII code when it is found in your Meta Tags.Putting This To Use Practically.
A good method of putting this to use would be utilizing in your Meta Tags as follows.<title>Site Name <ascii code here> page title</title>
<meta name=”Description” content=”normal page description”>
<meta name=”Keywords” content=”normal keywords”>This will display a search engine listing that not only has your site name on it as well as a description but, in the position where the ASCII code will appear you will also have an attention grabbing symbol enuring that your site stands out from all the others listed on the same search engine results page as yours.
ASCII Meta Tags – An Overview.
Hopefully you have seen how adapting your current HTML page Meta Tags by placing an ASCII character code within them can benefit you for gleeming further search engine traffic to your sites and, with this new found knowledge you may well place both your sites traffic and your bottom line profits ahead of other webmasters.Article written by Lee
-
Geo Targeting – What Exactly Is It?
As the adult industry reaches further and further across the online global community we are beginning to realize the importance of our foreign surfers, gone are the days of shifting them off to a dialer site instead, we find more and more companies actually using geo-targeting techniques to filter and monetize this profitable traffic more but, how does geotargeting work and, more importantly, is it any good? They are the questions we will look at in this article.
GEO::IP – The Basics.
The Geo::ip module is a relatively simplistic database of IP addresses and, the matching country to which the IP address belongs. This means that the GEO::IP module can be used for a variety of purposes including automatically selecting the language and countries of your visitors, for credit card fraud detection, and for software export controls.Geo Targeting – The Basics.
As described above, the GEO::IP module is what drives any and all forms of geographical location targeting system (geo targeting). Geo targeting is the method most commonly used in the adult industry to either send a surfer to a localized version of a paysite or, send them off to a dialer in an attempt to monetize them it works by checking either the surfers browser language, country ip address or, both of these.Putting Geo Targeting To Work.
Despite what most webmasters may think about the complexities of geo targeting and the GEO::IP Module for Perl they are easy to use and implement and, furthermore, there are cost free and highly effective ways of using geo targeting on your sites to monetize your international traffic. Lets look at two easy free solutions for webmasters to geo target their traffic.JavaScript.
Using JavaScript you could add the following code between your HTML <head> and </head> tags to redirect international traffic to a specific url on your server:<SCRIPT LANGUAGE=”JavaScript1.2″>
<!– Begin
if (navigator.appName == ‘Netscape’)
var language = navigator.language;
else
var language = navigator.browserLanguage;if (language.indexOf(‘en’) > -1) document.location.href = ‘english.shtml';
else if (language.indexOf(‘nl’) > -1) document.location.href = ‘dutch.shtml';
else if (language.indexOf(‘fr’) > -1) document.location.href = ‘french.shtml';
else if (language.indexOf(‘de’) > -1) document.location.href = ‘german.shtml';
else if (language.indexOf(‘ja’) > -1) document.location.href = ‘japanese.shtml';
else if (language.indexOf(‘it’) > -1) document.location.href = ‘italian.shtml';
else if (language.indexOf(‘pt’) > -1) document.location.href = ‘portuguese.shtml';
else if (language.indexOf(‘es’) > -1) document.location.href = ‘Spanish.shtml';
else if (language.indexOf(‘sv’) > -1) document.location.href = ‘swedish.shtml';
else if (language.indexOf(‘zh’) > -1) document.location.href = ‘chinese.shtml';
else
document.location.href = ‘english.shtml';
// End –>
</script>Php.
Using .php you can add the following to your sites pages to redirect traffic based on their browser language.
<?
$user_lan = $HTTP_ACCEPT_LANGUAGE;if($user_lan==’de’) {
## German
$redir_url = “http://www.germanlanguagepageurl.com”;} elseif($user_lan==’fr’) {
## French
$redir_url = “http://www.frenchlanguagepageurl.com”;} elseif($user_lan==’it’) {
## Italian
$redir_url = “http://www.italianlanguagepageurl.com”;} elseif($user_lan==’es’) {
## Spain
$redir_url = “http://www.spanishlanguagepageurl.com”;## US traffic or Rest of world not defined above
} else {
$redir_url = “http://www.yourmainpageurl.com”;}
header(“Location: $redir_url”);
exit;?>
As you can see from the above two examples, monetizing your international foreign traffic is a relatively easy step and, with the right sponsors to send this traffic to you will be able to reap the profits of countries that other webmasters are not targeting yet.
Geo Targeting – Overview.
When all is said and done geo targeting can be a cost effective way to increase your bottom line profits, whether using a free method as described above or, using one of the many filtering services available on the net you should start to monetize your global surfers. One thing you should also consider however is that far from sending your international traffic to a dialer you should search around and find a good mix of adult affiliate programs with a variety of localized paysites, this in itself will enable you to see just how much traffic you have been wasting by using dialers in the past and, it will also allow you to realize the full potential of your new found geo targeted adult traffic.Article written by Lee
-
Networking – Not Just For Computers
Networking – Not Just For Computers.
“Networking” is a buzz word today. Everybody talks about it. Everybody hears about it. Everybody wants to do it more effectively. But why? Why do people network, and what do they hope to accomplish?Primarily, networking is the process of meeting new people, either through a contact that you initiate, or through an introduction by a third party.
Networking allows you to meet, and establish a relationship with, people who may not have heard of you and your business through any other method.
For most professionals, networking is done to increase revenues. Sometimes new clients are found, sometimes suppliers and, sometimes new ways of doing things that increase your bottom line are found through networking.
When networking you should work towards these common goals:
To exchange business ideas.
To get better service.
To develop your business skills.
To potentially increase your revenues.
To establish long term friendships.This means that networking is an essential part of building up strong business relationships. We need each other to buy from us, sell to us and, brainstorm with us in order to progress in our fields. In order for us to do these things we must give something back in return, its all about give and take.
we must be willing to hone our relationship building skills. We must be great listeners. We must be willing to give before we receive. We must get into networking mode in our own minds before we ask the same of others. This must be constant.
Through consistent contact with others, you will, instinctively start to put 2 and 2 together. When you begin speaking with someone your mind will automatically start searching the inner most recesses of your brain to remember people, places, even products, that will assist the person you are networking for and, at the same time, you will also be thinking of what they can do for you in return.
This Is Networking.
This is the state of mind you should be in whenever you are talking to someone in your industry, to get your mind in this state takes a while but, once you have focus and determination, you will immediately see how you can help others and, how they can benefit you in return whilst listening to them. this is the first step in getting them to help you.Networking, as its name would suggest is WORK, hard work, the process is also a learned skill, its not something that we are all born with or, can all do. It can often be frustrating when you have a goal in mind but, your networking functions are not achieving that goal. All in all, networking is the building block of many a business venture, it can make and it can break you. Take some time to consider this fact the next time you are posting on a board or go to one of the tradeshows, you might just come away with more than you hoped for.
Article Written By Lee
-
Adult Search Engine Optimization
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.
-
Converting German Adult Traffic – The Niche Paysites That Work
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
-
Viral Marketing – Catching The Marketing Bug
The term viral marketing is offensive. Call yourself a viral marketer and, people will often take two steps back. I know I would do. It is a sinister thing, the simple virus is fraught with doom, not quite dead yet not fully alive, it exists in that nether region somewhere between horror movies and disaster films.
That said however, you have to admire the skills of the viral marketer. They have a way of winning by sheer weight of numbers alone. They piggy back on everyone else and use their resources to grow their own. In the right circumstances the viral marketer can grow exponentially. A virus doesn’t have to mate, it just replicates itself again and, again and, again increasing its power, doubling its effect with each replication.
I
I I
I I I I
I I I I I I
I I I I I I I IIn a few short generations, a viral marketing population can boom as seen in the diagram above.
Viral marketing defined.
What does a virus have to do with viral marketing? Viral marketing describes any strategy that encourages individuals to pass on a marketing message to others, creating the potential for mass growth in the messages exposure and influence.
Like viruses, such strategies take advantage of rapid multiplication to explode the message to hundreds, even thousands in a relatively short period of time.
Before the advent of the internet viral marketing was often referred to as ‘word of mouth’. However, for better or for worse, the term viral marketing has infected.
One classic example of this marketing technique is Hotmail.com one of the first free web based email services. Their strategy was simple.
Give away free email addresses and services.
Attach a simple tag at the bottom of every free message sent out.
Watch people email their friends, colleagues and family.
Watch these same friends colleagues and family join up to their service.
See the message propelled to an ever increasing audience, all for free.In closing viral marketing is like watching the tiny ripples of a single pebble dropped pond, one small splash can create ever increasing circles which in turn could create ever increasing revenues.
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