Latest Posts

How to install wordpress on cpanel

Step-1:  At first login to your cPanel.

Step-2: From Softwire/Services category click on QuickInstall icon.


Step-3: Under Blog softwire category just click on Wordpress icon.
Step-4: Then you have to ckick on Continue
Step-5: If you need you can fill out the application url
Step-6: On your choice fill out the options.
Step-7: After this you have to just click on Install Now
Step-8: You will get a "congratulation" massege.

create a blog site on Bloger

Google is a technology giant.Google has made the world fast.It gives us different services free.Bloging is one of them.We can creat blog sites here.Writing good and unique articles and regerding some terms and conditions of google adsense,  we can earn also from this blog.

Now we will see how to create a blog on bloger and how to post.

Step-1. Log in Bloger.If you first time here you have to just continue.
            Then you will see like bellow



Step-2.Then click on "New blog" at left upper corner.

 Step-3.Then at Title field givea heading of your blog and
             at address filed put the name of your blog and check its availability if  available then select
             a template.And click on "Create Blog".
         
            Then start your bloging.
Leave a Comment Read More

jumla part3

Adding the Github and DI packages

Like most modern PHP frameworks these days, the Joomla Framework is designed to expand to suit your needs. You just need to import the libraries that you need rather than having one, monolithic stack (just in case you need it).
Because this is an application that is going to need to access a Github server (either github.com or an in-house enterprise server), we need to add the Github package from the Joomla Framework. While we are at it, I'm going to add the DI package as well because this is a new toy that allows us to make service providers. More on that next time.
First of all, I'm going to start working in a new branch off master.
$ git checkout -b adding-github
Switched to a new branch 'adding-github'
This is good practice when you are working on any new code. It allows you to keep the master branch clean and allows you to swap between sub-projects when you need to (for example, when you find a bug in master and you need to do a hot fix).
Next we need to add the new dependencies to composer.json.
{
  "minimum-stability" : "beta",
  "require" : {
    "joomla/application" : "1.0-beta2",
    "joomla/di" : "1.0-beta2",
    "joomla/github" : "1.0-beta2"
  },
  "autoload" : {
    "psr-0" : {
      "Tagaliser\\" : "src"
    }
  }
}
So you can see we've added two new lines for "joomla/di" and "joomla/github". Now, because we've already used Composer once, we do an update instead of an install.
$ composer update --no-dev
Loading composer repositories with package information
Updating dependencies
  - Installing joomla/http (1.0-beta2)
    Downloading: 100%

  - Installing joomla/github (1.0-beta2)
    Downloading: 100%

  - Installing joomla/di (1.0-beta2)
    Downloading: 100%

Writing lock file
Generating autoload files
You'll notice that we also got the HTTP package. That's because the Github package has marked it as a dependency and Composer automatically installs it for you.
 <!-- Begin BidVertiser code -->
<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=588136%26bid=1469748" type="text/javascript"></SCRIPT>
<noscript><a href="http://www.bidvertiser.com">affiliate program</a></noscript>
<!-- End BidVertiser code --> 

Semantic Versioning

We are about to introduce a change which involves new features so I need to think about a version strategy. Fortunately we semver.org to draw on. In simple terms, it recommends a X.Y.Z strategy. When you introduce a backward compatible change, you should increment the X number. When you introduce new features, you should increment the Y number. When you are fixing bugs, you should increment the Z number.
In our case, we are actually adding some new features (connecting to Github), I'm going to change the version number in the application class to "1.1".
class Application extends AbstractCliApplication
{
    const VERSION = '1.1';

    // <snip>
}
Leave a Comment Read More

jumla part2

Why it works!

In part 1 we looked at how to wire up a simple command line application using the Joomla Framework and Composer. But we didn't really explain why it worked, so that's what will be covered in this tutorial. We'll look at how to bootstrap the application and the main application class itself.
The source code for this tutorial is available on Github.

The Application

Our application is found in src/Tagaliser/Application.php. Let's have a look at the basic structure (with DocBlocks removed for clarity):
<?php
namespace Tagaliser;

use Joomla\Application\AbstractCliApplication;

class Application extends AbstractCliApplication
{
    const VERSION = '1.0';

    // <snip>
}

Namespacing

So you can see we start off by defining a namespace. In PHP 5.3 and above, all classes live in a namespace. If we don't declare a namespace, PHP will assume it live in the global namespace just like all the other core PHP classes. It is important that it is first line of executable PHP in the file.
For your own applications, it's advisable to choose a name unique to your project. I've chosen the name of the project itself which is a common practice.

The Application class

We want to use the AbstractCliApplication from the Joomla Framework to build the main application class. Now, because we are using namespaces we need to tell PHP where to find the class. This is important because we are also using an autoloader (an autoloader removes the need to require the class files directly).
We could have used the fully qualified class name (FQCN), that is \Joomla\Application\AbstractCliApplication, but we've added a use statement that tells PHP that wherever you see the AbstractCliApplication class being used, substitute it for \Joomla\Application\AbstractCliApplication. It seems rather obvious in this case, but when you start using primitive classes like Registry it helps keep the code nice and clean.
The AbstractCliApplication automatically handles command line options that the user would have typed when running the script. It also has some useful utility methods for handling standard input (if required) and standard output.
Notice that the naming convention for an abstract class is to prefix the class name with "Abstract". This makes it clear what the expectations are for a class, particularly for people that are not yet familiar with a framework. It also help distinguish between other non-concrete class language constructs like interfaces and traits.

Application version

class Application extends AbstractCliApplication
{
    const VERSION = '1.0';

    // <snip>
}
There a any number of ways to version an application, but a strategy I use is to add a class constant. Constants are immutable which means a developer can't change them in the code (accidentally or otherwise).

The doExecute Method

The doExecute method is an abstract method that we have to define in our concrete application class.
    public function doExecute()
    {
        // Check if help is needed.
        if ($this->input->get('h') || $this->input->get('help'))
        {
            $this->help();

            return;
        }

        $this->out('It works!');
    }
}
This is a fairly simple example just to show that the script will execute without error. The out method provides a way for use to send output to standard output (STDOUT). You can use it to print out any sort of message as your script executes.
We are also doing a check and this is for a command line argument to display the help message. We get command line arguments via the input property that is available in the abstract application class. This is a \Joomla\Input\Input object and it has a get method we can use to check a command line argument.
The $this->input->get('h') code is looking for a -h flag on the command line. This is a boolean condition - it's either there or it's not. This is usually referred to as the short form of a command line argument.
The $this->input->get('help') code is looking for a --help option. This is the long form of a command line argument and it can actually take a value. For example, if you used the following on command line:
$ php -f tagaliser -- --help=now
then $this->input->get('help') would return the value "now".
In our case, if either the flag or option is set, we invoke the help method.

The help method

The method method is provided as a way to help users (and to remind your future self) determine what the script is supposed to do.
    protected function help()
    {
        $this->out('Tagaliser ' . self::VERSION);
        $this->out();
        $this->out('Usage:     php -f tagaliser.php -- [switches]');
        $this->out('           tagaliser [switches]');
        $this->out();
        $this->out('Switches:  -h | --help    Prints this usage information.');
        $this->out();
        $this->out('Examples:  tagaliser -h');
        $this->out();
    }
It's simply an exercise in sending text to standard output, but you can see we've inserted the version number from the class constant.

Running the application

Given that we have an application class, we need a way to run it. Let's look at the bin/tagaliser.php file.
// Max out error reporting.
error_reporting(-1);
ini_set('display_errors', 1);

// Bootstrap the Joomla Framework.
require realpath(__DIR__ . '/../vendor/autoload.php');

try
{
    $app = new Tagaliser\Application;
    $app->execute();
}
catch (Exception $e)
{
    // An exception has been caught, just echo the message.
    fwrite(STDOUT, $e->getMessage() . "\n");
    exit($e->getCode());
}
The first lines set our error reporting to the maximum possible value including "strict mode" checks. While not advisable to include in production code, they are essential during development to debug your code.
Next is the key-stone of the whole application. We need to load the vendor/autoload.php file and this is what makes all the class auto-loading from the src and vendor work.
Next we are going to wrap the execution of the application in a global try-catch block to catch any unhandled exceptions. If there is an exception, we just write the exception message to standard output and exit with the exception code.
To actually "run" the application, we instantiate the Tagaliser\Application class and then execute it.
And that's it. What's more is that almost any type of application you build using the Joomla Framework, whether a web site or web services application, will follow a similar, simple formula.

End of Part 2

So now we know why the basic application works. In the next tutorial, we'll look at adding Github support as a Service Provider using a Dependency Injection container (that was a mouthful wasn't it - but it's a very cool new toy we have in the Joomla Framework).
Leave a Comment Read More

Top 10 popular job search websites

Job search websites help people from all around the world check out employment and careers options. These sites act as a bridge between the employer and the employee. Employers can post the job requirements on the job boards of these websites. The job seekers can easily register, upload their resume and search for the job that suits them from millions of advertisements. There are thousands of job sites available on the internet. Choosing the best website is as hard as searching for a needle in a haystack. However we can try to sort the worthwhile and have a look.

10. Yahoo! Hotjobs:

Yahoo! Hotjobs is very good at providing proper job requirements without any complicated process of looking up. The site has the same look of other Yahoo pages. It also provides with lots of articles, widgets and tools like Yahoo Answers. Its search engine is so powerful that it includes thousands of employer ads from all around the world. However, its popularity as a job site is low as compared to others in this list.
Top 10 job search websites
(img source: cn.careers.yahoo.com)

9. Craigslist.com:

Craigslist is one of the multidimensional job search websites for real estate, home appliances, networking etc. It also stands as a great resource for your job search. The site provides you plenty of job offers. But unlike other sites you can’t sign up or post your resume. Jobs are categorized and listed by standard career areas such as office jobs, management jobs, writing jobs, non-profit organization jobs etc. All sorts of jobs are listed on Craigslist. You have to find your city then look under Jobs and look under your job category. You can set up various RSS feeds that help you to whatever kind of job you might be looking for, in your preferred location. There is a drawback of Craigslist: Because this is a free website, many of the jobs posted at Craigslist may not be legitimate. So use your commonsense when replying to a job on Craigslist.
Top 10 job search websites
(img source: craigslist.com)

8. SimplyHired.com:

SimplyHired search claims that it is working on building the largest online database of jobs. SimplyHired’s search engine comes up with listings from thousands of sites across the world, Users can create an account and allows them to save and manage searches, manage email alerts, rate and make notes about jobs viewed in their searches. SimplyHired currently has more than 5 million jobs listed from across the web. Users can browse by different categories such as city, company, industry or job category. SimplyHired has the best tools section, like email alerts, trend research, salary information etc. broken down by location and occupation.
Top 10 job search websites
(img source: simplyhired.com)

7. USA.gov:

One of the world’s largest employers is undoubtedly the US government. The US government has its own giant online job database among which that you can search under whatever industry or discipline you are looking for. The placement can be worldwide. The actual salary ranges are also mentioned right there in the listing; of which some are rather mouthwatering. USA.gov is the gateway into the huge collection of US government jobs. You’ll find a treasure of resources here to help you find jobs working for the US.
Top 10 job search websites
(img source: usa.gov)

6. LinkedIn:

LinkedIn.com is ranked as the largest professional network on the Internet. This site has got free sign up and you can create profiles just like resumes. The users need to send invitations to join their network. Users looking to get into a particular company can search the network to see if they have any friends in the company. A user can access the friend’s connections and can make valuable contacts. It also has a feature of job boards where employers post vacancies and interested users may apply. LinkedIn has a job search engine and users can enhance their search by contacting other users in the network. Job postings on this site maintain highest quality. Also if one of your friends on the network works in a specific company, they can also have a privilege of being introduced even before applying for the job.
Top 10 job search websites
(img source: linkedin.com)

5. Glassdoor:

Glassdoor.com provides with the inside looks at the company and jobs you are looking for. The thing that makes this site sgtand out of other job search websites is that the reviews are totally employee generated. It provides with salaries, company reviews, interview questions, etc. Glassdoor lists average salaries for specific jobs to consider before making a move. Also, there is a new feature called Inside Connections, by which users can linkup using Facebook to see if any of their Facebook friends work at the companies of their interest. It is always good to have an inside connection at the company to which you’re applying.
Top 10 job search websites
(img source: glassdoor.com)

4. CareerBuilder.com:

CareerBuilder is one on the largest online employment websites in the United States. It now has more than 25 million unique visitors per month and provides more than 1.5 million jobs available. This job search website posts job boards of more than 300,000 employers. Users can upload up to five resumes and choose whether show them publicly or privately. Users can also create custom searches and have e-mail alerts. The software scans the uploaded resume and match jobs according to your experience. Users can also find jobs even if they don’t have a resume the site will recommend jobs based on what kinds of jobs you’ve searched earlier. It has the vast listing of jobs in their library which others don’t have.
Top 10 job search websites
(img source: careerbuilder.com)

3. Naukri.com:

Naukri.com is the first choice on the internet for all jobseekers in India. The website has a ranking system for every different industry. It helps the users by listing the best places to work in various industries. Naukri.com is a simple website in which the job seekers can search according to qualification, location, years of experience etc. Registration is required for this website which will allow the user to apply from a vast library of more than 200,000 jobs. The site has a unique feature called Job Messenger which sends messages about upcoming opportunities.
Top 10 job search websites
(img source: naukri.com)

2. Monster.com:

Monster.com is one of the first online job search websites having been launched in 1994. Monster is known globally and rated highly. It lists part-time and full-time jobs in almost every career field. The job listings are about 1.1 million and number of resumes uploaded is more than 41 million. The site helps the users with resumes, interviews etc. It also can block particular companies from viewing your resume. Users can narrow down search by location, employer, experience etc. It gives access to job markets across the globe. Monster has grown into one of the largest job search site on the Internet.
Top 10 job search websites
(img source: monster.com)

1. Indeed.com:

Indeed claims to be the top free job search website worldwide. They have more than 50 million unique visitors and 1 billion job searchers per month. Indeed is a job meta-search engine which provides results from multiple search engines like Google. It also offers you job listings from sites like CareerBuilder, Hotjobs and even the individual employer websites. Users can access millions of jobs from thousands of company websites across all industries. They allow the users to set up job alerts to your email. Unlike other engines, users cannot upload their resume on Indeed.com but Indeed brings up a lot of jobs that you may not normally find on most of the other sites.
1 comment Read More

Top 10 Money making Real Way

10. Yahoo! Advertising Network:

Search engine giant after Google, Yahoo! has its own Advertising Network, which is one of the finest alternatives to Google Adsense. Yahoo!’s proprietary Advertising Network allows webmaster to personalize and optimize ads depending on user data. Various types of solutions and packages are available, which can be picked depending on the business needs.
Yahoo! Advertising Network - Top 10 Advertising Networks other than Google Adsense

9. AdBrite:

Outside the search engine giant owned advertisement networks, AdBrite is one of the largest advertisement networks, which is famed for creating target oriented ads to users. The users can choose ads and their placements from AdBrite’s flexible pricing options, which include CPM, CPC and other similar advertisement pricing options.
AdBrite - Top 10 Advertising Networks other than Google Adsense

8. ContextWeb:

Like AdBrite, ContextWeb is an advertising network outside of the big search engine advertising networks. ContextWeb provides target oriented advertisement to users so that the webmaster can get the most for the dollars he spends in return. ContextWeb offers flexible pricing slots for users who can benefit by setting their own price for every CPM impressions.
ContextWeb - Top 10 Advertising Networks other than Google Adsense

7. Infolinks:

One of the leaders in pay per click in-text advertising services for all web based content publishers, Infolinks offers one of the best click through rate in the online advertising industry, which promises publishers and webmasters highest earnings possible. The network sees approximately 300 million unique views monthly across 50,000+ websites.
Infolinks - Top 10 Advertising Networks other than Google Adsense

6. Clicksor:

One of the leaders in small publishers’ advertisement competition, Clicksor offers pretty high cost per click allowing users to earn a decent income. Other advantage besides the high cost per click that Clicksor offers is that it provides publishers most context sensitive advertisements. It is regarded as the best low ranked Google Adsense alternative.
Clicksor - Top 10 Advertising Networks other than Google Adsense

5. DynamicOxygen:

Having begun as an advertising business only in 2010, DynamicOxygen is probably a new entrant in the market, but that isn’t an impediment in their growth and success. DynamicOxygen targets users of all sizes and enables them to garner the maximum revenue possible. The main benefit of the network is its targeted advertisements and high CPM across entire traffic.
DynamicOxygen - Top 10 Advertising Networks other than Google Adsense

4. Kontera:

Pretty similar in its functioning to Infolinks (we’ve discussed above), Kontera is one of the simplest advertising networks to use. You simply have to place the code at the end of the page, and before you can sleep and get up the other day, you will notice that Kontera advertisement has served links already. Only negative, Kontera doesn’t provide banner creative etc.
Kontera - Top 10 Advertising Networks other than Google Adsense

3. BurstMedia:

BurstMedia is one of the finest alternatives to Google Adsense for the amount of options that the network provides. Publishers can use customized ads, demographic targeted ads and behavioral targeted ads allowing them to kick off the revenues in style. BurstMedia offers a host of variable pricing options including cost per click and CPM.
BurstMedia - Top 10 Advertising Networks other than Google Adsense

2. Chitika:

With an objective to provide publishers with publisher-side ads and merchandising solutions, Chitika was established in 2003 and since then this network has been a market leader in full-fledged advertiser service. Best part of Chitika ads is that it doesn’t show standard keyword driven ads. It shows ads which are more relevant to the users search intent. Chitika also offers premium advertisements.
Chitika - Top 10 Advertising Networks other than Google Adsense

1. Bidvertiser:

The best alternative to Google Adsense, Bidvertiser offers some amazing and fascinating advertisement designs, which lets user specify the appearance and dimensions of the ad. The Bidvertiser lets users advertise on thousands of websites on its network on pay per click bases. Bidvertiser is the finest network which provides really targeted ads to enhance user experience.
Bidvertiser - Top 10 Advertising Networks other than Google Adsense
Leave a Comment Read More

Html part-17

What is Cascade Style Sheet (CSS)?

Using CSS in a HTML document allows you to easily determine the style for the whole document. To give you some idea of what I mean and how it works, I will give you some examples.
<HTML>
<HEAD>
<TITLE>Cascade Style Sheet test</TITLE>
<STYLE TYPE="text\css">
<!--
td { font-family: arial; font-size: 9pt; font-weight: bold; color: #000000; }
//-->
</STYLE>
</HEAD>

With this little bit of code I have set that any text placed within a <TD>-tag has to be displayed in the font typeArial (font-family: arial;), in a size of 9 points (font-size: 9pt;), bold (font-weight:bold;) and black (color: #000000;).
You can extend it with:
<HTML>
<HEAD>
<TITLE>Cascade Style Sheet test</TITLE>
<STYLE TYPE="text\css">
<!--
td { font-family: arial; font-size: 9pt; font-weight: bold; color: #000000; }
a { color: #FF0000; text-decoration: none; }//-->
</STYLE>
</HEAD>

I have now added that all Anker Tags (links) should be displared in a shade of red (color: #ff0000;) and I disallowed the standard underlining of links (text-decoration: none;)
In Internet Explorer you can even add a mouse-over effect (a change of color when the the link is touched by the mouse pointer):
<HTML>
<HEAD>
<TITLE>Cascade Style Sheet test</TITLE>
<STYLE TYPE="text\css">
<!--
td { font-family: arial; font-size: 9pt; font-weight: bold; color: #000000; }
a { color: #FF0000; text-decoration: none; }
a: hover { color: #000000; }//-->
</STYLE>
</HEAD>

You can also create your own names to indicate a style:
<HTML>
<HEAD>
<TITLE>Cascade Style Sheet test</TITLE>
<STYLE TYPE="text\css">
<!--
#mystyle { font-family: arial; font-size: 9pt; font-weight: bold; color: #000000; }
//-->
</STYLE>
</HEAD>

I have changed the "td" to #mystyle. When you place a DIV-tag elsewhere in the document, you can use this to refer to the styling settings:
<DIV ID="mystyle">
my text
</DIV>

Any text placed within the DIV-tag will be shown in Arial, 9 points, bold and black.
The same result can be created in this manor:
<HTML>
<HEAD>
<TITLE>Cascade Style Sheet test</TITLE>
<STYLE TYPE="text\css">
<!--
.mystyle { font-family: arial; font-size: 9pt; font-weight: bold; color: #000000; }
//-->
</STYLE>
</HEAD>

With elsewhere:
<P CLASS="mystyle">
my text
</P>

Using CSS in a correct way saves you a lot of usage of the FONT tags. But a great way to reduce coding is to place CSS in a seperate file.
Just place the CSS code in an empty notepad file.
td { font-family: arial; font-size: 9pt; font-weight: bold; color: #000000; }
a { color: FF0000; text-decoration: none; }
#mystyle { font-family: arial; font-size: 9pt; font-weight: bold; color: #000000; }

Save the file as style.css and save it in the same loctaion as your HTML documents. You can link to the stylesheet within each HTML document. You do this within the HEAD-tag:
<HTML>
<HEAD>
<TITLE>Cascade Style Sheet test</TITLE>
<LINK rel="stylesheet" href="style.css" type="text/css">
</HEAD>

The great advantage of working with CSS is that you can change things like the color of your links in a matter of minutes. You just have to change that one .css file. The change will take a effect throughout the whole website!
You can also use CSS within HTML tags:
<H2 STYLE="background-color: #000000; color: #ffffff;">TEXT</H2>
With the above STYLE attribute we've just set the background color of the word TEXT to black and the text to white.
You can do the same with tables:
<TABLE>
<TR><TD STYLE="background-color: #000000; color: #ffffff;">text</TD></TR>
<TR><TD>more text</TD></TR>
</TABLE>

You have now set the background color of row 1 to black and the text to white.
Leave a Comment Read More

Html part-16

Step 16a - Frames:
In some cases it's easier to work with frames. This is one of the most complex features of HTML. A homepage built out of frames uses more than one HTML file. The first HTML file is the one that will be opened by the browser and contains a FRAMESET:
<HTML>
<HEAD><TITLE>Frames</TITLE></HEAD>

<FRAMESET ROWS="50, *">
<FRAME SRC="upper-frame.html">
<FRAME SRC="lower-frame.html">
</FRAMESET>

</HTML>
This is a FRAMESET that divides the screen in two parts and fills both with two other HTML files. Now a more complex example:
Type this ans save it as frameset.html
<HTML>
<HEAD><TITLE>Frames</TITLE></HEAD>

<FRAMESET ROWS="50, *">
<FRAME SRC="upper-frame.html">
<FRAMESET COLS="140, *">
<FRAME SRC="left-frame.html">
<FRAME SRC="right-frame.html">
</FRAMESET>
</FRAMESET>

</HTML>
With the above code you use 3 frames. A top frame, a left frame en a main frame on the right.
With
<FRAMESET ROWS="50, *">
you open a FRAME that exists out of two more frames. With ROWS you tell the browser how big one frame should be and how big the rest. In this example, the upper frame should be 50 pixels high and the * means that rest can be used for the other frame. The upper frame is filles with a HTML file called upper-frame.html:
<FRAME SRC="upper-frame.html">
Never call a HTML file that contains the frameset (in this case frameset.html). An unending loop will then crash the browser. You can however call a second frameset.
The lower (thus second) frame is divided in two more frames (COLS):
<FRAMESET COLS="140, *">
The first column of 140 pixels in width is filled with "left-frame.html":
<FRAME SRC="left-frame.html">
the rest is used for right-frame.html:
<FRAME SRC="right-frame.html">
Closing both framesets:
</FRAMESET>
</FRAMESET>

A FRAMESET is never placed within a BODY-tag.
So to get this page to work you need 4 HTML documents:
1. frameset.html
2. upper-frame.html
3. left-frame.html
4. right-frame.html

With frameset.html you should open this page in a browser. HTML files 2 to 4 can be filled with whatever content you want. The idea of this frameset is to use the upper-frame.html for a short welcome text (you only have 50 pixels height). Left-frame.html can be used for buttons and right-frame.html for any other content.
When you would look at this in a browser you'll see the frames contain borders. There are a few values you can add here:
<HTML>
<HEAD><TITLE>Frames</TITLE></HEAD>

<FRAMESET ROWS="50, *" BORDER=0 MARGINHEIGHT=0 MARGINWIDTH=0 FRAMEBORDER=0>
<FRAME SRC="upper-frame.html" NAME="top" NORESIZE SCROLLING=NO>
<FRAMESET COLS="140, *" BORDER=0 MARGINHEIGHT=0 MARGINWIDTH=0 FRAMEBORDER=0>
<FRAME SRC="left-frame.html" NAME="left" NORESIZE SCROLLING=NO>
<FRAME SRC="right-frame.html" NAME="right" NORESIZE SCROLLING=AUTO>
</FRAMESET>
</FRAMESET>

</HTML>
Adding BORDER=0 MARGINHEIGHT=0 MARGINWIDTH=0 FRAMEBORDER=0 to the FRAMESETS turns all the borders off including whatever default margins there were. The FRAMESET becomes unvisible.
Adding NAME="rechts" NORESIZE SCROLLING=AUTO to the FRAME-tag you apply values to that frame only. Each frame should get a name. This is important when linking files within the frameset (see Step 16b). With NORESIZE I make sure the visitor can't change the size of a frame by dragging its border. With SCROLLING=AUTO you activate a scrollbar on the right side of the frame (only when necessary). By setting this to NO you'll never allow a scrollbar to appear. It's set to AUTO by default.
Step 16b - linking within frames:
Suppose you've used the above frameset and used the left-frame.html for the buttons. Set the links to the buttons as followed
<A HREF="index.html" TARGET="right">Home
A TARGET is always followed by one the names of the other frames. Or with _parent, _top or _self if you want to jump out of the frames but stay in the same window. Or new when you want a new window to open.
If the above link would to be clicked index.html would be opened in the right frame.
Leave a Comment Read More

Html part-15

p 15a - tabels:
Sometimes you want to have more control over where the text will be within your design. You don't want it to use the full screen width, but you may want to have it in two columns. To get this effect by using tables. Open the HTML file index.html and add the following code:
<HTML>
<HEAD>
<TITLE>my own homepage</TITLE>
</HEAD>

<BODY BACKGROUND="images/background.gif" BGCOLOR="#FFFFE1" TEXT="#808080" LINK="#FF9B6A" ALINK="#FF9B6A" VLINK="#FF0000">
<FONT FACE="Verdana" SIZE=2>
<CENTER>
<IMG SRC="images/logo.gif" WIDTH=400 HEIGHT=161 ALT="logo">
<H2>A short introduction</H2>
</CENTER>

<TABLE WIDTH=100% BORDER=0>
<TR VALIGN=TOP><TD WIDTH=50%>

<FONT COLOR="#FF9B6A"><B>Nora Tol Virtual Publishing</B></FONT> was founded about 12 years ago when owner <FONT COLOR="#FF9B6A">Nora Tol</FONT> started offering her web design services.
<P>
By demand she quickly expanded her services with <U>designing logos and artwork (DTP)</U> and even started various <U>Internet- and marketing services</U>.
</TD>
<TD>

This is a short list of the services Nora Tol Virtual Publishing offers:
<OL>
<LI> Web design
<LI> DTP
<LI> Web hosting
<LI> Domain registration
<LI> (press)mailings for artists
</OL>
</TD></TR> <TR><TD COLSPAN=2>
<P>
<CENTER>
<FONT SIZE=4>Take a look at her <A HREF="http://www.noratol.nl/">homepage</A> for more information.
<BR>
Or send her an E-mail!</FONT>

<HR WIDTH=50% COLOR=#000000 NOSHADE SIZE=2>
</CENTER>

</TD></TR></TABLE>
</BODY>
</HTML>

Save this document and take a look at in a browser.
With the codes
<TABLE WIDTH=100% BORDER=0>
<TR><TD WIDTH=50%>

we don't only open a table we also open the first row and the first column. Lets take a closer look:
<TABLE WIDTH=100% BORDER=0>
</TABLE>

With the above code we open and end the TABLE-tag. With WIDTH we say how big the table is allowed to be. By using percentages the width of the table will adjust to the screen width of the browser. Certain lay-outs require the width in pixels. This allows you to set the exact location of certain texts or even images. Pay close attention to the difference in MSIE and Netscape.
You can also add a HEIGHT. This is nice to know in case you want a graphic in the exact center of a browser. You create a table. Set WIDTH and HEIGHT to 100% and center the content.
With BORDER you can define the thickness of the tableborder. I've chosen for an invisible border. If you want to know exactly what you're doing set this to 1 (pixel) and view the page in a browser.
Example:
<TABLE WIDTH=100% BORDER=1 BORDERCOLOR=#000000>
</TABLE>

Adding BORDERCOLOR=#000000 is not necessary for making the border visible. This piece of code makes sure the border is black in MSIE.
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
</TABLE>

Adding CELLPADDING=0 and CELLSPACING=0 is mostly used when a table is used to combine a few pictures, making it one. With CELLPADDING you decrease or increase the spacing within a cell. It's now turned off, which would make the text touch the border if the border was set to 1.
With CELLSPACING you increase or decrease the spacing between the cells. It's also turned off now making the texts touch each other.
<TABLE WIDTH=100% BORDER=1>
<TR>
</TR>
</TABLE>

With <TR> you open the first row of the table. TR is short for Table Row. A table will only become usable when a table row includes cells:
<TABLE WIDTH=100% BORDER=1>
<TR><TD>
</TD></TR>
</TABLE>

The TD-tag is always located within the TR-tag. TD stands for Table Data. You can place whatever you want in there: texts, graphics and forms.
The above example generates 1 column that has a width of 100%. More cells are made this way:
<TABLE WIDTH=100% BORDER=1>
<TR><TD>my first column</TD><TD> my second column</TD></TR>
</TABLE>

The cell will be as big as the data allows. The data usually determines the width and height of the cells.
Making a second row is done like this:
<TABLE WIDTH=100% BORDER=1>
<TR><TD>my first column</TD><TD> my second column</TD></TR>
<TR><TD>my third column</TD><TD> my fourth column</TD></TR>
</TABLE>

You can add as many rows as you like in your table and each row can contain as many cells as you want. You will be limited by your screen width and the content of your table.
When you've used two cells in the first row of your table this will become default for your table. Every row following is expected to contain two cells. When you want to use the full length again, you add:
<TABLE WIDTH=100% BORDER=1>
<TR><TD>my first column</TD><TD> my second column</TD></TR>
<TR><TD COLSPAN=2>my third column</TD></TR>
</TABLE>

When you look at this in your browser you'll see that the thirs column used the default table width of 100%. With COLSPAN you define how big the column should be. In this case it should have the width of 2 cells/columns.
You can also do this with rows:
<TABLE WIDTH=100% BORDER=1>
<TR><TD ROWSPAN=2>my first column 1</TD><TD> my second column</TD></TR>
<TR><TD> my third column</TD></TR>
</TABLE>

With ROWSPAN you define how many rows this cell should contain. Two, in this care. The second row will start filling the second column.
You can add values to the TR- and the TD-tag. When you do this with <TR>, the values count forthe whole row. When you do this with <TD> the values apply for that cell only:
<TABLE WIDTH=100% BORDER=1>
<TR ALIGN=RIGHT VALIGN=TOP><TD ROWSPAN=2>my first column</TD><TD> my second columns</TD></TR>
<TR><TD> my third column</TD></TR>
</TABLE>

Adding ALIGN=RIGHT and VALIGN=TOP will change the alignment of the content. These are all the alignments you can use:
ALIGN=LEFT
ALIGN=RIGHT
ALIGN=CENTER
VALIGN=TOP
VALIGN=BOTTOM
You can also add values regarding the background:
<TABLE WIDTH=100% BORDER=1>
<TR><TD BGCOLOR=#FFFFE7 ROWSPAN=2>my first column</TD><TD> my second column</TD></TR>
<TR><TD> my third column</TD></TR>
</TABLE>

Adding BGCOLOR=#FFFFE7 I've changed the background color of the first column only. You can also use background images:
<TABLE WIDTH=100% BORDER=1>
<TR><TD BACKGROUND="images/background.gif" ROWSPAN=2>my first column</TD><TD>my second column</TD></TR>
<TR><TD> my third column</TD></TR>
</TABLE>

Adding a background image to the whole table can also be done when opening the TABLE-tag. But you should check the results in Netscape. Netscape repeats the image in each column, giving it a very strange effect at times.
Step 15b - fonts in tables:
You may have noticed that the FONT-tag in index.html won't work as it did before now that we're using tables. To get the same result in a table change the code to:
<HTML>
<HEAD>
<TITLE>my own homepage</TITLE>
</HEAD>

<BODY BACKGROUND="images/background.gif" BGCOLOR="#FFFFE1" TEXT="#808080" LINK="#FF9B6A" ALINK="#FF9B6A" VLINK="#FF0000">
<CENTER>
<IMG SRC="images/logo.gif" WIDTH=400 HEIGHT=161 ALT="logo">
<H2>A short introduction</H2>
</CENTER>

<TABLE WIDTH=100% BORDER=0>
<TR VALIGN=TOP><TD WIDTH=50%>

<FONT FACE="Verdana" SIZE=2>
<FONT COLOR="#FF9B6A"><B>Nora Tol Virtual Publishing</B></FONT> was founded about 12 years ago when owner <FONT COLOR="#FF9B6A">Nora Tol</FONT> started offering her web design services.
<P>
By demand she quickly expanded her services with <U>designing logos and artwork (DTP)</U> and even started various <U>Internet- and marketing services</U>.
</FONT>

</TD> <TD>
<FONT FACE="Verdana" SIZE=2>
This is a short list of the services Nora Tol Virtual Publishing offers:
<OL>
<LI> Web design
<LI> DTP
<LI> Web hosting
<LI> Domain registration
<LI> (press)mailings for artists
</OL>

</FONT>
</TD></TR>
<TR><TD COLSPAN=2 ALIGN=CENTER>
<BR>
<FONT FACE="Verdana" SIZE=2>

<FONT SIZE=4>Take a look at her <A HREF="http://www.noratol.nl/">homepage</A> for more information.
<BR>
Or send her an E-mail!</FONT>

</FONT>
<HR WIDTH=50% COLOR=#000000 NOSHADE SIZE=2>
</TD></TR></TABLE>
</BODY>
</HTML>

Because the above method often leads to the use of many HTML tags a lot of designer choose to use Cascade Style Sheets (CSS). With one line you define that all text within a TD-tag should be printed in a particular style.
Step 15c - nesting tables:
It's possible to place one table in another table:
<TABLE BORDER=0 BGCOLOR=#000000>
<TR><TD>
<FONT COLOR=#FFFFFF>
table one:
<P>
<TABLE BORDER=0 BGCOLOR=#FFFFFF>
<TR><TD>
table two
</TD></TR>
</TABLE>

</FONT>
</TABLE>

As you can see one table surrounds the other. The FONT-tag will only apply to the data from table one.
Make sure you close all the tags!
Step 15d - table troubleshooting:
Always check the tables in MSIE and Netscape. You'll notice Netscape to be a lot more difficult with this.
Leave a Comment Read More

Html part-14

Step 14a - forms:
With the previous step we've used a link to e-mail someone. This link will open the default e-mailprogram your visitor uses. You can also send an e-mail using an online e-mail form.
Online forms can be used for various purposes. Forms always consist of two parts. The fields are created in HTML, but HTML can't handle processing information. You'll need to use scripting languages like CGI, PHP or ASP. Most ISP's (Internet providers) offer the use of a default script to their clients, such as FormMail. You can best inform what option they offer you and which instructions are available.
You can use the "mailto:"-term to create a form, which we will do in this example. However, the default e-mailprogram could still get opened when clicking the submit button. The information already filled out can get lost completely in this process leaving your visitor to retype the message.
A form in pure HTML is done like this. We're making a new HTML file called form.html.
<HTML>
<HEAD><TITLE>email form</TITLE></HEAD>

<BODY BACKGROUND="images/background.gif" BGCOLOR="#FFFFE1" TEXT="#808080" LINK="#FF9B6A" ALINK="#FF9B6A" VLINK="#FF0000">
<FONT FACE="Verdana" SIZE=2>
<CENTER>
<IMG SRC="images/logo.gif" WIDTH=400 HEIGHT=161 ALT="logo">
<H2>Send an e-mail</H2>
</CENTER>

<FORM ACTION="mailto:info@noratol.nl" METHOD="post" ENCTYPE="text/plain">
My name is: <BR>
<INPUT TYPE="text" NAME="name" SIZE=30>
<P>
I am:<BR>
<INPUT TYPE="checkbox" NAME="sex" VALUE="man"> a man<BR>
<INPUT TYPE="checkbox" NAME="sex" VALUE="woman"> a woman
<P>
My e-mail address is:<BR>
<INPUT TYPE="text" NAME="email" SIZE=30>
<P>
I think this site is:<BR>
<SELECT NAME="rating">
<OPTION VALUE="great">great
<OPTION VALUE="alright">alright
<OPTION VALUE= "terrible">terrible
</SELECT>
<P>
My reaction:<BR>
<TEXTAREA COLS=10 ROWS=10 NAME="reaction" WRAP=VIRTUAL>
</TEXTAREA>
<P>
<INPUT TYPE="submit" VALUE=" send ">
<INPUT TYPE="reset" VALUE=" reset ">
</FORM>

</BODY>
</HTML>

Step 14b - Starting a form:
In the form above I've used various options that the form tag offers you: small text fields, big textfields, a drop down menu, checkboxes and buttons. To start the form you use the FORM-tag. Anything between <FORM> and </FORM> will be seen as part of the form.
You can add an ACTION and a METHOD to the FORM-tag. These are required when combining forms with scripts (such as CGI). In the HTML version you use the "mailto:"-term that was introduced in Step 12 and place it with ACTION.
<FORM ACTION="mailto:info@noratol.nl">
ACTION requires a location (URL). This is the location the browser will look for when people press the submit button.
<FORM ACTION="mailto:info@noratol.nl" METHOD="post">
With METHOD you set what should be done with the information. You can choose between POST or GET. Which one you need to use depends on how the information is received by the script that sends out the e-mail message. GET sends all the information as one long URL to the script. POST deals with the information behind the scenes (in the HTTP-headers to be precise).
When you use a PHP, ASP or CGI script to send e-mail your FORM tag could look like this:
<FORM ACTION="FormMail.php" METHOD="post">
<FORM ACTION="FormMail.asp" METHOD="post">
or
<FORM ACTION="FormMail.pl" METHOD="post">
To set which type of information can be send through the form, we use the attribute ENCTYPE (type of encrypting)
<FORM ACTION="mailto:info@noratol.nl" METHOD="post" ENCTYPE="text/plain">
We only allow text input in our form, so we choose "text/plain", but other possibilities are "multipart/form-data" and "application/x-www-form-urlencoded". If you want to allow sending files in your form then you choose "multipart/form-data". That's a good to use in job application forms. The applicant could include their resume. The option "application/x-www-form-urlencoded" allows all kinds of data. When you don't set any ENCTYPE at all, then this is the default setting,
When you combine HTML with languages like JavaScript you'll notice that the FORM-tag can also include a name, for example: <FORM NAME="form">. For the pure HTML this is not necessary.
Step 14c - textfield:
A small textfield can be made like this:
<INPUT TYPE="text" NAME="name" SIZE=30>
and
<INPUT TYPE="text" NAME="email" SIZE=30>
With the term INPUT you tell the browser that the visitor is to provide an action (usually provide input).
With TYPE you let the browser know which type of input field this is supposed to be. By setting it to "text" you let the browser know that the visitor can type something there.
Giving a textfield a NAME is necessary. The text you place between the quotes will show in the e-mail as a reference. Choose your names carefully as this is the only way you can trace what information the visitor is sending you. With SIZE you can change the width of the field. The height cannot be adjusted with HTML, but you can adjust it with CSS (Google it, if you want to find out how). If you want to use a higher field use TEXTAREA (Step 14e)
Step 14d - checkboxes:
To create a square shaped checkbox you use the following code:
<INPUT TYPE="checkbox" NAME="sex" VALUE="man"> man<BR>
<INPUT TYPE="checkbox" NAME="sex" VALUE="woman"> woman

Again you use the INPUT-tag, but this time you don't want the visitor to type in information, you provide them a multiple choice to check. So TYPE is set to "Checkbox". The text you place with NAME will again show in the e-mail alongside the VALUE of the checked box.
You can check more than one possibility with the TYPE set to CHECKBOX and as you usually can't be a man and a woman you'd better choose the RADIO checkboxes instead. These are round and only 1 can be checked.
<INPUT TYPE="radio" NAME="sex" VALUE="man"> man<BR>
<INPUT TYPE="radio" NAME="sex" VALUE="woman"> woman

Step 14e - drop down menu:
To offer the visitor to choose from several options you can also use a drop down menu. Use NAME to make sure you know what people reacted to when you receive the e-mail and use VALUE to know which option was selected:
<SELECT NAME="rating">
<OPTION VALUE="great">great
<OPTION VALUE="alright">alright
<OPTION VALUE= "terrible">terrible
</SELECT>

With the SELECT-tag you tell the browser that the information listed with <OPTION> can be selected. You can add as many OPTION-tags as you like between <SELECT> and </SELECT>.
Step 14f - Textarea:
Because a textfield offers little space you can also use the TEXTAREA-tag.
<TEXTAREA COLS=10 ROWS=10 NAME="reaction" WRAP=VIRTUAL>
</TEXTAREA>

With this tag you tell the browser how many columns (COLS) and ROWS the textarea should have. Using WRAP is optional. Here you can choose whether the lines should be broken when they reach the end of the textarea. If you wouldn't use this option the text will be shown in the browser as one long line. Using WRAP makes it easy to view and review for the visitor
Step 14g - buttons:
In online forms you can use buttons. One required button to a form is the submit button:
<INPUT TYPE="submit" VALUE=" send ">
Whatever you write with VALUE will be the text showing on the button. This also sets the width of the button.
You can also provide an extra service to your visitor by adding a reset button to your form. This clears all the fields when clicked upon:
<INPUT TYPE="reset" VALUE=" reset ">
In combination with languages such as JavaScript, you can use HTML buttons for different use. The code for this is:
<INPUT TYPE="button" VALUE=" yes " NAME="yes">
<INPUT TYPE="button" VALUE=" no " NAME="no">

By setting TYPE to "button" the options printed with VALUE are shows as buttons. These type of buttons will only work in combination with JavaScript codes. What's been filled out with NAME usually corresponds with codes used in JavaScript.
Step 14h - image buttons:
By default you will always get grey buttons when you use "submit" or "reset". To make it more lively you can make your submit button an image button:
<INPUT TYPE="image" SRC="send.jpg" NAME="Send" VALUE="Send">
Setting TYPE to "image" tells the browser to look for an image. The location can be found with SRC. With NAME you write what's supposed to happen when people click the image. In this case "Send" is enough. With VALUE you usually tell what text is supposed to show, but in this case the text will only show when the picture doensn't work. Much like ALT from the IMG-tag (see step 12)
Stap 14i - send file in a form:
Finally, I want to provide you with additional information about form fields you can create to send files in a form. If you want to use this, you have to set the ENCTYPE of the form to "multipart/form-data". Also, sending attachments has to be supported by the script you use that sends the mail. You need something like CGI, PHP and ASP to make this possible. HTML alone is not capable of doing this.
To create a field to send files, you can use the following code:
<INPUT TYPE="file" NAME="myfile">
This code generates a form field and a "Browse" button. When the visitor clicks on this button they can browse on their own computer for the file they'd like to send.
With the attribute NAME you can set the name of the field.
Leave a Comment Read More

Html part-13

Step 13a - making links:
In my index.html document I'd like the change parts of the last two lines of text to links. I'd like one link to go to my homepage, and I want the other to go to my e-mail address. Linking my homepage is done like this:
<HTML>
<HEAD>
<TITLE>my own homepage</TITLE>
</HEAD>

<BODY BACKGROUND="images/background.gif" BGCOLOR="#FFFFE1" TEXT="#808080" LINK="#FF9B6A" ALINK="#FF9B6A" VLINK="#FF0000">
<FONT FACE="Verdana" SIZE=2>
<CENTER>
<IMG SRC="images/logo.gif" WIDTH=400 HEIGHT=161 ALT="logo">
<H2>A short introduction</H2>
</CENTER>

<FONT COLOR="#FF9B6A"><B>Nora Tol Virtual Publishing</B></FONT> was founded about 12 years ago when owner <FONT COLOR="#FF9B6A">Nora Tol</FONT> started offering her web design services.
<P>
By demand she quickly expanded her services with <U>designing logos and artwork (DTP)</U> and even started various <U>Internet- and marketing services</U>.
<P>
This is a short list of the services Nora Tol Virtual Publishing offers:
<OL>
<LI> Web design
<LI> DTP
<LI> Web hosting
<LI> Domain registration
<LI> (press)mailings for artists
</OL>

<CENTER>
<FONT SIZE=4>Take a look at her <A HREF="http://www.noratol.nl/">homepage</A> for more information.
<BR>
Or send her an E-mail!</FONT>

<HR WIDTH=50% COLOR=#000000 NOSHADE SIZE=2>
</CENTER>

</FONT>
</BODY>
</HTML>

As you can see I've added:
<A HREF="http://www.noratol.nl">homepage</A>
The A-tag stands for Anker and is being used to link various files. The A-tag needs to be closed.
HREF stands for "hyper referer". Anything that's being written between the quotes will be seen as a location by the browser. The text between <A> and </A> will be a link in the browser. When you click this the browser will look for the file speficied at HREF. In this case it's a file located on the Internet. Suppose you want to link something in the same directory. The code will be:
<A HREF="next.html">Next feature</A>
Linking an e-mail address is done as followed:
<HTML>
<HEAD>
<TITLE>my own homepage</TITLE>
</HEAD>

<BODY BACKGROUND="images/background.gif" BGCOLOR="#FFFFE1" TEXT="#808080" LINK="#FF9B6A" ALINK="#FF9B6A" VLINK="#FF0000">
<FONT FACE="Verdana" SIZE=2>
<CENTER>
<IMG SRC="images/logo.gif" WIDTH=400 HEIGHT=161 ALT="logo">
<H2>A short introduction</H2>
</CENTER>

<FONT COLOR="#FF9B6A"><B>Nora Tol Virtual Publishing</B></FONT> was founded about 12 years ago when owner <FONT COLOR="#FF9B6A">Nora Tol</FONT> started offering her web design services.
<P>
By demand she quickly expanded her services with <U>designing logos and artwork (DTP)</U> and even started various <U>Internet- and marketing services</U>.
<P>
This is a short list of the services Nora Tol Virtual Publishing offers:
<OL>
<LI> Web design
<LI> DTP
<LI> Web hosting
<LI> Domain registration
<LI> (press)mailings for artists
</OL>

<CENTER>
<FONT SIZE=4>Take a look at her <A HREF="http://www.noratol.nl">homepage</A> for more information.
<BR>
Or send her an <A HREF="mailto:info@noratol.nl">E-mail</A>!</FONT>

<HR WIDTH=50% COLOR=#000000 NOSHADE SIZE=2>
</CENTER>

</FONT>
</BODY>
</HTML>

To create a link to an e-mail address you add the term "mailto:" to the hyperlink referer <A HREF>. By doing this the browser will open the default mail client. The new message will automatically feature the e-mailaddress you have filled out after "mailto:"
You can also pass on a subject by doing this:
<A HREF="mailto:info@noratol.nl?subject=reaction to website">
Step 13b - Linking files for download:
You don't have to limit yourself to linking HTML files. You can link other files as well, like:
<A HREF="image.jpg">Photo</A>
Whatever file the browser recognizes will be shown within the browser. Suppose someone would click the above link to image.jpg. This would become visible in the browser, but
<A HREF="program.exe">Program</A>
of
<A HREF="file.zip">Zip file</A>
will generate a download prompt.
Stap 13c - Link phone number for Skype
Use the "callto" definition to make a phone number on a website clickable for Skype users. For example link your phone number. Replace the number in this example with your own phone number:
<A HREF="callto:01231234567">01231234567</a>
Or link your Skype name. Replace the word "skype.name" with your own Skype name:
<A HREF="callto:skype.name">Call me on Skype</a>
Names and number used in this example are random. Please test with your own Skype account or those of people you know!
These links will only work when your visitors have Skype installed on their computers.
Stap 13d - Link to your Instant Messenger (MSN, AOL, ICQ)

It's possible to create links from your website to various chat or messenger programs. These links will only work when the visitor has the chat programs installed on their PC. Otherwise the links will generate an error.
In the following examples uses random names. These are not my Messenger names! So replace them with your own account names or account names of those you know!
MSN (Windows Messenger)
It's possible to have people add you to their MSN contact list. The link to do so is:
<A HREF="msnim:add?contact=msnaddress">Add me to MSN</a>
Replace msnaddress with your own email address (your login name for MSN or Hotmail). Your visitor needs to have MSN open in order for this link to work!
Microsoft offers you standard buttons, including HTML code. You can use these codes on social networking sites like MySpace or Facebook.
To open a chat window, use the following code:
<A HREF="msnim:chat?contact=msnaddress">Send me a message on MSN</a>
Replace msnaddress with your own email address (your login name for MSN or Hotmail).
AIM (AOL Intstant Messenger and iChat (Mac))
A link to have someone add you to their AIM contact list is done as followed (replace AIMscreenname with your own screenname for AIM):
<A HREF="aim:addbuddy?screenname=AIMscreenname">Add me to your AIM</a>
But, AIM offers much more. You can open a chat window:
<A HREF="aim:goim">Chat on AIM</a>
However, people don't connect with you with that piece of code. To make this possible you use the following code (replace AIMscreenname with your own screenname for AIM):
<A HREF="aim:goim?screenname=AIMscreenname">Chat with me on AIM</a>
You can take it a step further and set a default message, like "Hello!" (replace AIMscreenname with your own screenname for AIM)
<A HREF="aim:goim?screenname=AIMscreenname&message=hello!">Say hello to me on AIM</a>
Do you want to add more lines or links to your default message? You can use HTML in your message. However, avoid using double quotes in your tags!
To start a second line (use a carriage return):
<A HREF="aim:goim?screenname=AIMscreenname&message=hello!<br>How are you?">Say hello to me on AIM</a>
to add a link:
<A HREF="aim:goim?screenname=AIMscreenname&message=hello!<br>How are you?<br>Look at my <a href=http://www.noratol.nl>website</a>">Say hello to me on AIM</a>
Links that contain characters like & and = might not work! Test this!
It's possible to link your shared files on AIM or open chat room as well. Go to Tech Recipes to see how.
Show online status:
It's possible to show your AIM online status on your website. First, you have to create two images. One image should show that your online and the other should show your offline. In this example I'm assuming that the images are called online.gif and offline.gif. I'm also assuming that they're placed on the server noratol.nl.
<img src="http://big.oscar.aol.com/AIMscreenname?on_url=http://www.noratol.nl/online.gif&off_url=http://www.noratol.nl/offline.gif" alt="AIM Status">
Replace AIMscreenname with your own AIM screen name
Replace http://www.noratol.nl/online.gif with the correct URL to your image that says you're online
Replace http://www.noratol.nl/offline.gifwith the correct URL to your image that says you're off line
Ofcourse you can combine the image tag with a link to a chat window:
<A HREF="aim:goim?screenname=AIMscreenname"><img src="http://big.oscar.aol.com/AIMgebruikersnaam?on_url=http://www.noratol.nl/online.gif&off_url=http://www.noratol.nl/offline.gif" alt="AIM Status"></a>
Stap 13e - Make links accessible for speech tools
To make a link accessible for translation by software like speech tools your links would have to show title-specifications and your pictures (buttons) should use the alternate text attribute. For a text link that would look like this:
<A HREF="http://www.noratol.nl" TITLE="Nora's website">www.noratol.nl</a>
Cool additional effect of this attribute it that the text shows when you leave your mouse on the link for a while.
When you use buttons, the link should look like this:
<A HREF="http://www.noratol.nl" TITLE="Nora's website"><IMG SRC="button.jpg" ALT="Nora's website" border=0></a>
Leave a Comment Read More

Html part-12

Step 12a - adding photos and graphics:
To my index.html document I'd like to add a graphic. Graphics and photos are being applied the exact same way. The only difference is the image itself. When it's an animated or computer made image, than we call it a graphic. If it's an image of a real flower or a person, that's when you call it a photo or image. HTML recognises both as image.
Adding photos and graphics to an HTML document:
<HTML>
<HEAD>
<TITLE>my own homepage</TITLE>
</HEAD>

<BODY BACKGROUND="images/background.gif" BGCOLOR="#FFFFE1" TEXT="#808080" LINK="#FF9B6A" ALINK="#FF9B6A" VLINK="#FF0000">
<FONT FACE="Verdana" SIZE=2>
<CENTER>
<IMG SRC="images/logo.gif" WIDTH=400 HEIGHT=161 ALT="logo">
<H2>A short introduction</H2>
</CENTER>

<FONT COLOR="#FF9B6A"><B>Nora Tol Virtual Publishing</B></FONT> was founded about 12 years ago when owner <FONT COLOR="#FF9B6A">Nora Tol</FONT> started offering her web design services.
<P>
By demand she quickly expanded her services with <U>designing logos and artwork (DTP)</U> and even started various <U>Internet- and marketing services</U>.
<P>
This is a short list of the services Nora Tol Virtual Publishing offers:
<OL>
<LI> Web design
<LI> DTP
<LI> Web hosting
<LI> Domain registration
<LI> (press)mailings for artists
</OL>

<CENTER>
<FONT SIZE=4>Take a look at her homepage for more information
<BR>
Or send her an E-mail!</FONT>

<HR WIDTH=50% COLOR=#000000 NOSHADE SIZE=2>
</CENTER>

</FONT>
</BODY>
</HTML>

With the line <IMG SRC="images/logo.gif" WIDTH=400 HEIGHT=161 ALT="logo"> I've refered to my company logo, which makes it visible in the browser.
IMG is short for "image".
SRC is short for "source". With SRC you make the referer to the image you want to have in your document. In this case, that's the image "logo.gif", which can de found in the directory "images". (Read for details Step 12e)
Adding the WIDTH and HEIGHT of a graphic in its' HTML code is not required, but helps to download the image faster. By already telling the browser how big the image is, there's no need for it to calculate that while downloading. The values with WIDTH and HEIGHT are pixels.
ALT stands for "alternative" and is not required either. When a graphic doesn't work the text placed here between the quotes is showed. You can also see this text when you place your mouse on an image and hold it for a while.
Step 12b - image alignment:
The IMG-tag offers you more possibilities. You can determine the alignment of the image. You can choose from left, right, top, middle and bottom:
<IMG SRC="images/logo.gif" ALIGN=LEFT>
<IMG SRC="images/logo.gif" ALIGN=RIGHT>
<IMG SRC="images/logo.gif" ALIGN=MIDDLE>
<IMG SRC="images/logo.gif" ALIGN=TOP>
<IMG SRC="images/logo.gif" ALIGN=BOTTOM>
Step 12c - spacing around the images:
When you choose LEFT or RIGHT, you'll notice that the text will wrap itself around the image. Especially with the LEFT alignment it will look like the text is stuck to the image. Often not a pretty sight, so you'd want to add some spacing to image:
<IMG SRC="images/logo.gif" ALIGN=LEFT HSPACE=2 VSPACE=2>
The value (in pixels) after HSPACE determines the width of the horizontal spacing and the value with VSPACE determines the width of the vertical spacing. Basically you're creating an invisible border around your image.
Step 12d - image border:
To surround the image with a border (usually shows automatically when using graphics as links) you use the following code:
<IMG SRC="images/logo.gif" BORDER=0>
The values given are pixels. When you set to the border to 2 a border of 2 pixels will become visible:
<IMG SRC="images/logo.gif" BORDER=2>
When using pictures for links please note that the colour of the border is defined by the LINK, ALINK or VLINK values in the BODY-tag (see Step 3b).
Step 12e - refering to images:
To make it easy on me I have assumed you've placed the images in de subdirectory "images". But suppose you didn't and you've placed the graphic with the rest of your HTML files. Then the code for the image will be:
<IMG SRC="logo.gif">
or
<IMG SRC="./logo.gif">
The code "./" means that the graphic can be found in the current directory, in which the HTML can also be found.
If you've placed the graphic a directory back, then the HTML code would be:
<IMG SRC="../logo.gif">
The code "../" tells the browser that the picture can be found one directory back. If you want to go further back you, say two directories, the code will be "../../" and so on.
To know this, makes it easier to jump back and forth between directories and to limit the amount of diskspace you use on the webserver.
These codes also apply to refer to other files, such as other HTML files.
Step 12f - jpg and gif:
When you've surfed the Internet for a while you may have noticed that most images are .jpg or .jpeg or .gif. This is because all browsertypes read them, they are the smallest in bytesize and contain the most screen quality. Other formats can cause problems.
The difference between .jpg and .gif is huge. .gif images use a limited amount of colours, they can create animations and image backgrounds can be made transparant. The standard .gif image uses 256 colours, but you can adapt this to use less colours and decrease the image bytesize. And a smaller bytesize will make it faster to download.
.jpg can use up to millions of colours but still is small in bytesize. Therefore it can be used best for real photos (people, animals, products).
It's hard to say when you should use which format. Often it's best to try both and see what the difference is. Then go with the one you like the best.
Step 12g - image troubleshooting:
Pay close attention naming the image! Some images may not work when the images and the HTML file are online. Are you sure the images are on the server? Then it could be that a refence within the HTML coding is incorrect. The most frequent problem that causes images not to show is the use of capitols, for example: image.GIF. The HTML code has to be <IMG SRC="image.GIF"> instead of <IMG SRC="image.gif">.
This often does not show while working offline. Another can be caused by using spaces in filenames.
Leave a Comment Read More

Popular Posts

Recent Comments