-
Calling Complete JavaScript’s With One Line Of HTML Code
We all know that some JavaScript coding can be excessive and add considerable amounts of additional coding to our pages making them both slower and less search engine friendly however, what if I told you there was a way you could call the EXACT same JavaScript functions you are calling now by using a single line of code and, in the process you would NEVER have to find a specific piece of JavaScript again as you would instantly know where it was saved.
You would probably think the above is in fact very time consuming but, it actually takes no time at all.
The secret is to copy and paste the JavaScript into a plain text file and save that on your server somewhere. However, instead of saving it as a .txt extension save this file as a .js extension and, to make it easier still to find, when you upload this file to your server place it in a directory called /JavaScript/.
That’s pretty much it, easy huh?
Now comes the part of actually getting the JavaScript to work on your web pages, what you need to do instead of using the complete JavaScript coding that you usually would if you wanted to make a pop-up console appear is to use the following coding placed between your <head> and </head> tags:
<script language=”JavaScript” src=”../JavaScript/popup.js”></script>
That will now call the popup.js file or whatever it was you called it from your server and make the JavaScript function work for your surfers with JavaScript enabled in their browser.As you can see, not only does using this method save you a considerable amount of time but, it will also make your pages more search engine friendly as spiders will not have to work their way through a lot of heavily JavaScript before they get to your SE content.
-
Moving To A New Hosting Company
Moving to a new hosting provider does not have to be a frustrating task if done properly.
Adult webmasters usually have to upgrade their hosting services once their respective Web sites become popular, usually because their current host cannot provide an effective level of scalability or technical support or, perhaps even the cost of bandwidth becomes to high.
In order to transfer service efficiently, in the event that it becomes necessary, webmasters should ensure that all their content, including Web pages, databases and scripts, are properly archived.
You should always back up your data at regular intervals in case of unexpected data loss or hardware failure. Ensure that all data is archived recursively. This will ensure that all your data is archived and compressed in its original directories, which is very important if you want to retain the full working integrity of your Web sites.
You may also find that your new hosting company may be able to transfer the files directly from your old server to the new one you are getting with them, ask before hand if this is something that they can do for you as it is generally a lot quicker for them to do it than for you to upload the files yourself for instance, Web Air will do this work for you.Once you have recursively archived your site, make arrangements to purchase your new hosting services. Make sure that any new solution you select includes basic services that approximate and excel the service that you where obtaining with your previous hosting provider. It makes no sense to replace your present hosting service with another Web hosting solution that equally cannot fulfill your technical or financial requirements.
The best resource to use to find a better hosting firm specific to the adult hosting industry is Adult Hosting Companies, the largest adult Web hosting resource directory with currently over 250 hosts listed.
Once your new solution is activated, upload your archived Web pages, database and scripts to the new host. You will be allocated an IP number from the new hosting company. Take time to debug and test the new site from the individual IP number, not forgetting things like your cgi scripts may need altering.
Once your site is entirely debugged and you verify that all site functionality is operative, then transfer your domain name service (DNS) servers over from your old server to your new server.
During this DNS transition period, which is referred to as the “propagation period,” your Web site will be resolved by both your new and old host, as the new DNS information about your Web site filters through the Internet globally. It typically takes about 10 days for the transfer to fully propagate around the Internet; so keep your old site running in case you get visitors whose ISP’s have cached your site on the old server.
It is important however that you retain both your old and new hosting services during your propagation period of 10 days. You will need to check your e-mail from both hosting providers since different regions of the Internet will remit e-mail to your original host while other regions will remit mail to the new server during this time.
Once a week or two have elapsed, cancel the account with the previous hosting company. Only cancel your old account when e-mail stops arriving from your old hosting provider.
If you follow these steps carefully, then your host change should be easy and stress free.
Article written by Lee
-
The Successful Marketing Approach
In today’s volatile and competitive marketplace, the strategic manager must possess a sophisticated perspective regarding creating and maintaining the overall image of the organization.
In order to accomplish this goal, marketing must play a key role, regardless of the company’s size.
To be truly effective, a company must be up-to-date with it’s marketing ‘psyche’. In bygone times, companies concentrated on items it was able to produce, not on customer needs and wants. This type of outdated thinking will most likely lead to a rather short lifespan.
Today, marketing is a holistic approach that is often more complex than first thought.
What Is Marketing?
It is a process through which an organization identifies a need and then provides a means of filling or satisfying that need.
Customers are more informed and savvy than in the past and they expect more – in the quality of both products and service. Today’s customer is not willing to merely sit passively by and consume – he wants a voice and relationship with the companies with whom he chooses to conduct business.
Marketing is not deciding where and how to advertise. This is only one component of the process. Effective managers make sure they have a well-defined and mapped out strategy that deals with the entire lifecycle of the process. The most successful companies have a keenly honed customer-centric marketing model.
This model outlines a process that allows the company to determine the needs and wants of a “target market” and deliver this while instilling in the customer the belief their company’s ‘satisfaction solution’ is better value than the competition’s.
The first step in a marketing strategy involves the identification of unmet needs within a market and delivering/developing products and/or services to meet those needs.
Define Your Market First.
Is it a business-to-consumer company, a business-to-business company, or both? Regardless of the target(s) a company must be able to clearly identify a common need amongst a large portion of this market, as well as that portions propensity and ability to buy that product or service.
Once the target market has been identified it is time to do some analysis. The depth, complexity and related cost should remain proportionate to the ratio of overall business this product or service is anticipated to generate.
Analyze Internally.
What will be involved in creating this product or service? Is there access to all of the necessary components? How much volume can be handled? Are their efficient distribution channels? What will it cost to make or provide this? The next phase is an external analysis that looks at specific trends within the target market. With this information in hand, a company is then able to make an informed decision as to whether or not it is feasible to proceed. Now that the target market has been identified and the operational side has been flushed out, a strategy can be addressed. How a company decides to communicate its message should be in correlation to its overall marketing strategy. Whether the most effective method of conveying you message to the target audience is through traditional advertising channels, the Internet or more innovative activities, it should be apparent from the prior analysis. The final phase of a marketing strategy should examine the component of customer relationship management: What processes are in place to service our customers? How do we ensure a positive resolution of customer complaints? What performance measurements will be used to determine how well clients are being serviced? And, most importantly: How will customer relationships be maintained so they will do business with us again and again? By developing a comprehensive strategy that spans the entire lifecycle of new to repeat client, a company will find it is able to effectively address the present needs and wants of it’s target markets, as well as being able to incorporate new areas as they develop. Article written by Lee
-
Building A Surfer Trap – Stage 7
Here we go with Stage 7 in this Surfer Trap tutorial.
We should by now have a rather complex looking surfer trap, pop up consoles and blur consoles on all of the pages within it, all of these same pages interlinking each other indefinitely.
So, we are starting to get some traffic to this beauty from our existing sites and the counters we implemented but, how can we get some more traffic for FREE?
What I suggest we do next to this little baby is to add a banner exchange code to EACH of the FPA’s we have and also, onto the larger table console we created.
You should sign up for one banner exchange code for this trap, you might like to search around for a banner exchange that lets you have a decent ratio of impressions.
Once you have signed up for your banner exchange code, you now need to copy this coding into the BOTTOM of all of your FPA HTML pages including the Multi-Site FPA.
Now you have the banner exchange code on your site you are earning credits. Your account may not be activated for a day or so but, what this means is you are earning credits the entire time you are showing banners on your Surfer Trap.
Now we have the banner exchange code on our sites we only have one further step to take in order for this project to be completed.
Making sure it works how it is supposed too along with fine tuning this little beast.
If you have any further questions or comments please post on the forums here and one of us will be able to help you.
Article written by Lee.
-
Marketing And Building For Women Sites
When marketing sites to the female surfer, just how different does the building process become, are there things that you should leave out or add in that you usually wouldn’t for the male adult arena? Hopefully this article will explain this in some more depth.
I have broken this article down into specific segments that should be considered when building your for women sites these are as follows:
Sub Niches
As with every other niche in the adult industry the For Women market has their own individual sub niches. These vary from young guys to older men, couples, stories, fantasy, bondage, cartoons and a whole plethora of other niches all of which are to many mention here. Your chosen niche should reflect in the content you will be using and, more importantly, the content of the pay site to where you are sending the surfer. This is the best time to get a feel for your content and, it alleviates some hardships later on when you realize you have built a site full of hairy guys, only to realize the only site you can send them to is a gay bear site, not the most appealing site for a female surfer to join.
Where Do You Want To Go With This Site?
Are you looking to create a free site for the sole reason of driving traffic to your surfer trap, are you going to make a free site in order to make a sale, are you building a site for an AVS system? These are all decisions that you need to make before you start the building process, planning at this stage will reap its benefits later on. You should also consider the sponsor that you will utilize on the site, are you going to use all pay sites, sex toy sponsors or, will you use a mix, you need to plan this well as you do not want to end up with a site where all of the sponsors you are using end up negating the values of each other.
What Type Of Female Are You Looking To Attract?
Do you want to attract female surfers looking for erotica or, do you want to attract female surfers who are after something else, take a look at some of the female traffic sites, see what each of the sites presented to you offer their female surfers, can your match or better what these sites offer and, more importantly, can you offer something that the female surfer is likely to want?
Content Is King.
As with every other niche you need to pre-select the content that you will use on this site, do you have something that can be used and, used in such a way it generates interest from the surfer, if you are using stories on your site are they appealing, how do the men in the images look? All of these need to be taken into consideration before you start to use your content, if you do not have any content you need to choose some from one of the for women content providers, keep in your budget, make sure the content is right for your needs, not to hardcore but, not to softcore, keep it simple and erotic.
Layout
When creating your galleries be creative, anyone can stick up a 10 pic gallery but it takes a true marketer to place creative text on the page, provide the female surfer with some additional information, make it up if you have to, tell them the model is called Brian, tell them his stats, let them know some more information about the model. This will be more likely to get the women who visit your galleries / sites interested in both the images and, more importantly, the erotic side of the model you are using, if the model is available inside your sponsor pay site, you will more than likely find that the female surfer will want to get more information about the model out of sheer interest alone if nothing else.
Choose Your Marketing Strategies.
Will you be using banners, text links or, other media to sell your for women sponsor? We all know the proliferation of banners on the internet have made them less ‘click-able’ than what they used to be. Use some ‘erotic’ text over banners or, even use text on its own.
Keywords And Relevancy
Keep your smack talk pleasant but to the point, the majority of female surfers would prefer to click on a link that said ‘Steve erotically caressed his penis against her cheeks’ than, ‘Steve shot his hot creamy load all over her face’ see the difference? one is sensual and erotic the other is pure porn, female surfer are mainly erotica driven not porn driven.Speak To Another Webmaster / Web Mistress.
The for women niche is still relatively untapped at the moment, the people who are catering for this niche know the niche, most of them are female themselves and, as such, will know what works and what does not. How would you speak to a woman you met in public? There is a difference between speaking to a ‘guy’ and speaking to a female. Let this difference also show in your site too. If you have no idea how to market to women, ask one, you can find a message board dedicated to female webmasters at http://www.femalewebmasters.com and i am sure one of the posters there would be happy to help you out.
Design And Practice.
You now have the basics set you should now move onto designing you layout, keep your design simple, keep it neat, don’t over do the ‘female’ aspect of the site, over use of pinks, pastels and similar colors can undo all the preparation work you have just done, be subtle, know you are designing a site for the female surfer but keep it generalize, soft tones in color are not always the best way to use colors. Pink is not always for girls, blue is not always for boys, shades of pastel blue has just as much of a feminine effect as pinks and reds. Choose your color scheme wisely and this will pay off big time.
However you decide to develop your site you should ensure that it melts together nicely, use contrasting colors for your banners, background and text, make sure the content is not too gay looking and that the female surfer knows the site was built specifically for her but, also ensure you have the links visible in case you get surfers from other niches at your site, don’t do yourself out of money just because this is a for women site this is probably the only element that crosses over between niches be they straight, gay or in fact, for women.
Article written by Lee.
-
Using Mainstream Sponsors On Adult Sites
With the adult industry moving more and more into the mainstream web every week that passes as late i thought it would be an idea to show you guys how it is possible to use mainstream sponsor programs on your adult sites to build up a steady commission check even when a surfer going to your adult site doesnt actually buy anything from your adult sponsor.
Mainstream Sponsor Programs – The Choices.
The first thing that you need to do is to choose a mainstream sponsor that offers you a good choice of products / services to market to your surfers mainstream affiliate programs such as Click Bank, Commission Junction and, Amazon.com are all good places to find a selection of mainstream products and services you can offer your surfers in addition to the adult sponsors you currently use.Mainstream Affiliate Programs – Setting Up.
The first thing that you need to do however in order to offer the mainstream affiliate program products to your surfers is to register a generic, non-adult domain name and, instantly get this domain setup on your current web server.This will be the domain name you use for all correspondence between the mainstream affiliate networks and yourself in addition, this will also be the ONLY domain that you utilize the mainstream linking codes on.
Using Mainstream Sponsors – Getting Started.
The first thing that you need to do now you have your domain and mainstream affiliate networks sorted out is to build a couple of specific ‘doorway pages’ on your new generic domain name. This could include something like an article or product review or perhaps something as simple as an image of the product and a short description which you can use to lead the surfer into the mainstream affiliate programs site, either way, the idea is to have the root of the domain 100% free of adult content and utilize specific doorway pages which you can link to from your adult sites.Generating Mainstream Traffic.
Onto the really easy part, your current free sites all have an enter and exit link correct? If so then you are already half way finished, all you now need to do is to ensure that EVERY SINGLE exit link goes to your mainstream doorway page for a specific product or group of products. Make sure that you do not link to the root of your generic domain at any time but only to specific doorways and, that each of these doorways has a link to the root domain.By linking to your generic site in this way, you are enabling the surfer to choose whether they first of all, want to look at your adult site or, they want to leave the site and go to your mainstream affiliate network sponsor in the process giving you the potential of making a sale at the mainstream affiliate program.
Mainstream Sponsor Programs – An Overview.
By utilizing mainstream affiliate programs in this way you are not only potentially increasing your bottom lines but, you are also utilizing every single click that you get both to and from your site, to often webmasters send their exit links to places like disney.com or google.com and in doing so, they lose out on potential incomes, hopefully when you start marketing your exit links in the manner explained above you will begin to see the benefit of how both adult and, mainstream sponsors can be used in conjunction with each other in order to increase your bottom line profits.Article written by Lee
-
JavaScript Know How
JavaScript can be one of the most useful additions to any web page. It comes packaged as standard in Microsoft’s Internet Explorer and, Netscape Navigator and allows webmasters to perform field validations, mouse-over’s, pop ups and a whole entourage of other nifty little features on our sites.
In this article we will show you how to:
– Display the browser name and version number
– Change the text in the status bar of the browser
– Use an input box to get text from the user
– Use a message box to display text to the user
– Change the title of the browser windowBefore that, however, we need to know how to setup our web page so that it can run the JavaScript. JavaScript code is inserted between opening and closing script tags: <script> and </script>, like this:
<script language=”JavaScript”>
–> JavaScript code goes here <–
</script>
These script tags can be placed anywhere on the page, however, it’s common practice to place them between the <head>and </head> tags. A basic HTML page that contains some JavaScript looks like this:
<html>
<head>
<title> My Test Page </title>
<script language=”JavaScript”>function testfunc()
{
var x = 1;
}</script>
</head>
<body>
<h1>Hello</h1>
</body>
</html>For the examples in this article, you should use the basic document format I have just shown you, inserting the JavaScript code between the <script> and </script>tags. When you load the page in your browser, the JavaScript code will be executed automatically.
Displaying the browsers name and version number.
The “navigator” object in JavaScript contains the details of the user’s browser, including its name and version number. They can be displayed in a browser using the document.write function:document.write(“Your browser is: ” + navigator.appName);
document.write(“<br>Its version is: ” + navigator.appVersion);I run Windows 2000 and Internet Explorer version 6, so the output from the code above looks like this in my browser window:
Your browser is: Microsoft Internet Explorer
Its version is: 4.0 (compatible; MSIE 6.0b; Windows NT 5.0)Changing the text in the status bar of the browser.
To change the text in the status bar of a browser window, just change the “status” member of the “window” object, which represents the entire browser window:window.status = “This is some text”;
Using an input box to get text from the user.
Just like in traditional windows applications, you can use an input box to get some text input from the user. The “prompt” function is all you need:var name = prompt(“What is your name?”);
document.write(“Hello ” + name);The prompt function accepts just one argument (the title of the input box), and returns the value entered into the text box. In the example above, you get the users name and store it in the “name” variable. You then use the “document.write” function to output their name into the browser window.
Using a message box to display text to the user.
You can display a message box containing an OK button. These are great when you want to let the user know what is happening during their time on a particular page. You can use a message box to display the “name” variable from our previous example:var name = prompt(“What is your name?”);
alert(“Your name is: ” + name);The “alert” function takes one argument, which is the text to display inside of the message box.
Changing the title of the browser window.
To change the title of a web browser’s window, simply modify the “document.title” variable, like this:document.title = “My new title”;
One bad thing about the “document.title” variable is that it can only be manipulated in Microsoft Internet Explorer. Netscape’s implementation of JavaScript doesn’t allow for modification.
In Closing.
As you can see from the examples in this article, JavaScript is a powerful scripting language that can be used to enhance a visitor’s experience with our site. However, you shouldn’t use JavaScript too much because in some cases it can annoy visitors and send them packing before your site even loads!Article Written By Lee
-
Filtering Adult Traffic For More Sales
When webmasters build sites there seems to be the train of thought that just because they use one of the top converting sponsors site they will make sales regardless of what type of traffic they are sending.
Unfortunately, this is often not true.
One of the first steps that we should take as webmasters when it comes to creating a new site, whether it be a free, avs or a TGP site is to learn the art of targeting our sponsors tour with the content and, more importantly, the traffic we are going to use.
taking it to the simplistic levels, a straight teen sponsors wont convert on a site that gets mostly mature traffic, the niches, although complementary, are so far apart its unrealistic.
That said, lets take a look at some options we can all implement on our sites to better target and filter our traffic to ensure optimum conversions.
One of the simplest ways to target and filter your traffic is to build yourself a hub or a surfer trap. Of course, we also have to take into consideration the type of traffic we are currently receiving to our site and, that we ‘could’ receive in the future.
Just because we receive 10,000 hits to our teen TGP doesn’t mean that ALL of that traffic IS looking for a teen site, this is where our surfer trap or hub site can come into play.
Even if your main focus is the teen niche, you should make sure that the first thing the surfer see’s when visiting any type of site you build is a multi-site FPA (Full Page Ad) where applicable.
This then starts your filtering process. If they know that they can find other niches than teen on your TGP then chances are, they will go to them either because that is what their niche is or, they are curious about that niche.
Another thing we can do as webmasters is to ensure we use the headers and footers of our pages in the proper fashion, offer our surfers a choice of the main niches, Asian, Gay, Ebony, Teen, Ect using only text links and, you will probably find that by lining these text links to your hub or surfer trap that you actually have a diverse range of traffic available to you.
In addition, rather than sending our surfers directly to our sponsors, send them via a filter page whether this is an FPA, or a page full of text links you made yourself detailing the benefits of the sponsor you are going to send them to, again, you will let the surfer know where they are going and, give them a choice as to whether they want to continue to that site or, choose an alternative.
Overall, webmasters who target their surfers by niche can, for the most part have some excellent sales with a variety of sponsors that otherwise they would not be able to see.
Target, Filter, Micro-Niche, however you do it, make sure your traffic is not wasted and, more importantly, make sure your sponsor is able to offer your surfer what you are telling them is inside the site.
Article written by Lee
-
Newbie Basics – The HTML Layout
In this article we will look at some HTML tags that you will be using in every HTML document that you create. They are the base for every web page and are the essential pieces of HTML coding to ensure that your pages display correctly.
The Structure Tags.
Here is a look at the main structure tags. You will have to get used to these since you will be using them for all your pages.We would suggest that you start by copy and pasting the structure into your document then creating my page once they’re in place.
Make it a habit to ensure that all surfers (regardless of their browsers) will be able to identify your creations. Each of these HTML tags are used in pairs with a start and ending tag in the same way as we mentioned in the previous chapter.
<HTML> </HTML>
The HTML tag tells the browser that your page is a valid HTML page.
The first and last tag on all your HTML documents will be this tag.
The complete HTML coding for the remainder of your document will be placed between these two HTML tags.
<HEAD> </HEAD>
This tag is used to reference your document.
<TITLE> </TITLE>
This tag enables you to give your HTML document a title.
It’s best to insert descriptive text about your page between these tags we will go into this in more detail in the later chapters.
This will also be the name that is displayed in a web browser’s system tray when someone bookmarks or adds your HTML document to their favorites list.
<BODY> </BODY>
The entire coding for your page goes in between these two tags.
Basically, they mark the beginning and end of your web page’s body. They are the essence of your HTML.
All your HTML tags in your document will be resting in between these two HTML tags.
Putting It All Together.
Now that the main tags have been outlined, it’s time to put them all together. Here is an example of what your HTML documents should look like.<HTML>
<HEAD>
<TITLE>The Title Of Your Html Document Goes Here</TITLE>
</HEAD><BODY>
All your other HTML tags and text goes here.
This Is the main body of your HTML document.
At the end of this text you will also see where the closing Body and HTML tags go.</BODY>
</HTML>
This is the basic structure for any HTML document. Once these tags are in place, the rest is down to you. These Tags are not case sensitive. In other words, you don’t have to use all capital letters like we have in our Chapters. It won’t make a difference to the overall outcome of your tags. However we would recommend using Caps for your tags. It makes them a lot easier to distinguish from all the other sections of your HTML document coding, as you can see in the example above.
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