Sunday, November 23, 2014

Create a well-structured webpage using several DIV tags

In the previous posts I have shared the way to create an HTML page and may you also know the basic structure of a simple website. Now in this post I will use some div tags to design a website. Later we will use CSS to customize the divs. The codes are given below is to create a simple webpage only. So use the codes and create a simple webpage first using a text editor like notepade, notepad++ or anyone you prefer.


 Step 01  Create a simple webpage first
First of all you have to create a simple webpage using the codes given below. After creating when you will open the webpage in a web browser then you will get a page as like as the image given below.

Inside the <body> and </body> tags I have written three simple lines inside three different tags. In the next step we will remove all of the codes/text lying inside the <body> and </body> tags. Because our goal is to create a well structured webpage using <div> tags.

<!DOCTYPE html>
<html>
	<head>
		<!--codes to show the title-->
		<title>iDhali</title> 
	</head>
 
	<body>
		<!--header tags-->
		<h1>Hello World!</h1>
		<h2>This is my first webpage</h2>
		<!--parragragh tag-->
		<p>I want to learn website designing completely.</p>
	</body>
</html>

 Step 02  Let's add some <div>s inside the <body> and </body> tags
Now we will add some divs inside the <body> and </body> tags. The divs you need to add are given below.
<div class="wrapper">
	<div class="container">
		<div class="topNav">
		</div>
		<div class="header">
		</div>
		<div class="menu">
		</div>
		<div class="body">
			<div class="contentArea">
			</div>
			<div class="sideBar">
			</div>
		</div>
		<div class="lastAttention">
		</div>
		<div class="footer">
		</div>
	</div>
</div>
 Step 03  Create a CSS file to style the webpage
Now we have to create a new file named style.css/main.css and keep the file into the same directory. Besides we have to link the CSS file to the html file. To do so add the line <link rel="stylesheet" type="text/css" href="main.css"> inside the <head> and </head> tags and save the file index.html

 Step 04  Add some CSS codes
Wait few hours for the next steps. Still editing.... :)

Monday, November 17, 2014

Become a successful freelancer to earn money online

The website www.freelancer.com is so familiar to the freelancers. A large part of the freelancers get different types of jobs from here. But sometimes the beginners find some easy jobs like copy-writing, data entry etc. So they most often bid on those types of jobs. Thus sometimes the beginners involve into captcha typing.

But captcha typing is time killing, so boring and the payment is seriously low. But you should keep patience to get your first job. You should find out the job in which you are skilled and you are interested. Remember there are lots of competitors for a single job and nobody knows you well as you are a beginner.

I think you should chose a subject first, then train up yourself to be a professional. Then try to bid for a job. When you will get your first and you will finish it efficiently, then it will be very easy to get the next jobs.
earn money online,earn money as a freelancer,become a successful freelancer

Steps to become a Successful Freelancer...
1. Select a subject according to your interest
First of all you have to select a subject on which you want to work (for example: website designing). But remember to select a subject according to your interest. You need to be so skilled in your selected subject to get a job. Because there are thousands of competitor for a single job.

2. Train up yourself to be a professional
Then you need to train up yourself as much as you can. Your skill should be as like as a professional. The clients want to work with the skilled and experienced freelancer. So it is tough to be a successful freelancer if you are not skilled.

3. Sign up and complete the profile
Then Sign Up in www.freelancer.com and provide all the information. Upload an attractive photo as your profile photo, so that other can recognize you properly. There are some easy exams, face some of them and complete your profile up to 100%.

4. Bid for jobs you are capable to do
Now you can bid for jobs appearing on your profile. But bit for the jobs you are capable to do. Read all the conditions properly before taking the job.

5. Submit the job in due time
Finally you have to submit the job in due time to the client. Client is the most important person who is giving you jobs and by whom you are earning. So you should always make them happy. Never delay to submit the job. It will be difficult to get your next job if they complain against you.


Friday, November 14, 2014

To convert a upper case letter to lower case


The assembly language program given below is a program for case conversion. The program is capable to convert a uppercase letter to lowercase. For example after running the program, it will ask to provide an uppercase letter. When you will input an uppercase letter using keyboard, then the program will convert the uppercase letter to lowercase immediately. This is the basic operation of the given program.

Objectives
-to learn how to get input from keyboard
-to learn how to input a letter
-to learn how to store a letter into a variable
-to learn how to covert a uppercase letter to lowercase
case conversion program,assembly programming,assembly language,lower level programming
.MODEL SMALL
.STACK 100H
.DATA
CR EQU 0DH
LF EQU 0AH

MSG1 DB 'Enter a upper case letter: $'
MSG2 DB 0DH, 0AH,'In lower case it is: '
CHAR DB ?,'$'

.CODE
MAIN PROC

;initializing ds
MOV AX,@DATA
MOV DS,AX

;print user prompt
LEA DX,MSG1
MOV AH,9
INT 21H

;input a charater and convert to upper case
MOV AH,1
INT 21H
ADD AL,20H
MOV CHAR,AL

;display on the next line
LEA DX,MSG2
MOV AH,9
INT 21H

;dos exit
MOV AH,4CH
INT 21H

MAIN ENDP
END MAIN


To covert a lowercase letter to uppercase letter


Objectives
-to learn how to get input from keyboard
-to learn how to input a letter
-to learn how to store a letter into a variable
-to learn how to covert a lowercase letter to uppercase
case conversion program,assembly language program,low level programming
.MODEL SMALL
.STACK 100H
.DATA
CR EQU 0DH
LF EQU 0AH

MSG1 DB 'Enter a lower case letter: $'
MSG2 DB 0DH, 0AH,'In upper case it is: '
CHAR DB ?,'$'

.CODE
MAIN PROC

;initializing ds
MOV AX,@DATA
MOV DS,AX

;print user prompt
LEA DX,MSG1
MOV AH,9
INT 21H

;input a charater and convert to upper case
MOV AH,1
INT 21H
SUB AL,20H
MOV CHAR,AL

;display on the next line
LEA DX,MSG2
MOV AH,9
INT 21H

;dos exit
MOV AH,4CH
INT 21H

MAIN ENDP
END MAIN


Getting input from keyboard, then showing that as output


Objectives
-to learn how to get input from keyboard
-to learn how to store the data into a variable
-to learn how to show the data from the variable
getting input from keyboard,assembly language programming,primary level programming

.MODEL SMALL
.STACK 100H

.CODE
MAIN PROC

MOV AH,2
MOV DL,'?'
INT 21H

;get the input
MOV AH,1
INT 21H
MOV BL,AL

;carriage return
MOV AH,2
MOV DL,0DH
INT 21H
MOV DL,0AH
INT 21H

MOV DL,BL
INT 21H

;exit dos
MOV AH,4CH
INT 21H

MAIN ENDP
END MAIN

Program to show the result of addition of two numbers


Objectives
-to learn to create an assembly language program for addition
-to learn to add two numbers
-to learn how to keep data (number) using variables
-to learn the uses of variables
-to learn to use the data of variables
-to understand the uses of SUM operation
addition using assembly program,primary level programming,uses of arrays
.MODEL SMALL
.STACK 100H
.DATA
A DW 2
B DW 6
SUM DW ?

.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX

MOV AX,A
ADD AX,B
MOV SUM,AX

MOV AX,4CH
INT 21H

MAIN ENDP
END MAIN

Assembly Language Program to show the “Hello World!” message


Objectives
-to start assembly programming by the Hello World program
-to understand the basic structure of assembly language programing
-to learn to show a specific message
-to learn to use variables
hello world program,assembly language program
.MODEL SMALL
.STACK 100H
.DATA
MSG DB 'Hello World!$'

.CODE
MAIN PROC

MOV AX,@DATA
MOV DS,AX

LEA DX,MSG
MOV AH,9
INT 21H

MOV AH,4CH
INT 21H

MAIN ENDP
END MAIN